Xcode 5 code folding on a selected text range

Originator:liamodunne
Number:rdar://14894771 Date Originated:03/09/2013
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 5 Version 5.0 (5A11386k)
Classification:UI/Usability Reproducible:Always
 
Summary:
Code folding when an individual method or a selection of methods in Xcode 5 does not work.

Steps to Reproduce:
1. Fold all methods/functions within an implementation file (*.m)
2. Select a line or multiple lines of text containing an entire folded function or range of folded functions (e.g.: - (void)viewDidLoad{…})
3. Select Editor / Code Folding /  Unfold from the menu, or the relevant keyboard shortcut (⎇⌘→)

Expected Results:
All functions/methods contained within the selected line(s) should unfold, as per Xcode 4 behaviour. 

Actual Results:
The methods/functions fail to unfold.

Version:
Xcode 5 Version 5.0 (5A11386k)
OS X 10.8.4 (Build 12E55)

Occurs every time when attempting to unfold methods or functions.

It will work if the keyboard focus is within the range contained by the bracketed ellipsis representing the folded content ("{…}"), but not if the selected text range is larger than this.

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!