XCode Editor: Open brackets break the method name menu

Originator:cv47al
Number:rdar://7291120 Date Originated:2009-10-09
Status:Open Resolved:
Product:Developer Tools Product Version:3.2.1
Classification: Reproducible:Always
 
SUMMARY
XCode's method list menu for a file doesn't show the file's complete contexts as soon as unbalanced brackets are contained in the file.

REPRODUCE
Open a long Objective-C source code file. 
Click the method list menu.
→ It will display all methods in the file.
Type "[self" inside one of the methods at the top file. 
Click the method list menu again.

EXPECTED
The menu listing all methods in the file. 

ACTUAL 
The menu listing all methods above the one you are editing.
(see attached screenshot)

NOTE
This is obviously rather inconvenient as it renders the menu useless while you are editing. In particular it means that you always have to balance all your brackets before you can easily navigate the file again (e.g. to look up the exact name of the method you want to us).

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!