A little bug with code completion
A little bug with code completion
- Subject: A little bug with code completion
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 13 Oct 2008 16:46:56 +0200
In a Cocoa project, if you:
- type [NSApp beginS
and completion is enabled, you are suggested:
beginSheetModalForWindow:<#(NSWindow *)window#>
modalDelegate:<#(id)delegate#> didEndSelector:<#(SEL)didEndSelector#>
contextInfo:<#(void *)contextInfo#>
If you then double click on beginSheetModalForWindow while the
suggestion is still displayed as as suggestion, Xcode does not like
this:
Uncaught Exception:
NSConcreteMutableAttributedString attributedSubstringFromRange:: Out
of bounds
Stack Backtrace:
The stack backtrace has been logged to the console.
You can then quit or continue.
If you continue, code completion is broken as the suggested completion
is always "lue".
So it's not a good idea to double-click when a suggestion is displayed.
(Bug ID# 6287847)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden