• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
A little bug with code completion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: A little bug with code completion
      • From: "Stelian Iancu" <email@hidden>
  • Prev by Date: Re: Symantec C++ instllation on Mac OS 9.2
  • Next by Date: Re: Help - XCode '<unknown>' platform error
  • Previous by thread: Re: Symantec C++ instllation on Mac OS 9.2
  • Next by thread: Re: A little bug with code completion
  • Index(es):
    • Date
    • Thread