• 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
Re: A little bug with code completion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little bug with code completion


  • Subject: Re: A little bug with code completion
  • From: "Stelian Iancu" <email@hidden>
  • Date: Tue, 14 Oct 2008 09:53:01 +0200

I cannot reproduce this with Xcode 3.1.1 and 10.5.5.

S.

On Mon, Oct 13, 2008 at 4:46 PM, Stéphane Sudre <email@hidden> wrote:
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

 _______________________________________________
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: Stéphane Sudre <email@hidden>
References: 
 >A little bug with code completion (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: STL 4.0 in GCC 4.2
  • Next by Date: Interface Builder class instantiation
  • Previous by thread: A little bug with code completion
  • Next by thread: Re: A little bug with code completion
  • Index(es):
    • Date
    • Thread