Xcode doesn't indent with tabs more than three levels
| Originator: | greg | ||
| Number: | rdar://13281963 | Date Originated: | 02/24/2013 |
| Status: | Duplicate/11527009 | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.6/4H127 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Xcode does not display levels of tabbed indentation after three levels. Steps to Reproduce: * Set indentation preferences as shown in the preferences screenshot (tab width=8, prefer tabs, tab key always indents) * Create new source file * In the source file, press tab three times followed by text, then newline * Press tab four times followed by text Expected Results: The text indented four times should be at one indentation level higher than the preceding line. Actual Results: The text on both lines are at the same indentation level. Regression: Worked correctly prior to version 4.6 (4H127). Attached Files: * tabbug/tabs.txt: A file with various levels of tabs * tabbug/tabs_xcode.png: Screenshot of viewing tabs.txt in Xcode * tabbug/tabs_textedit.png: Screenshot of viewing tabs.txt in TextEdit * tabbug/indentation_preferences.png: My indentation preferences UPDATE: Seems to be related to the Adobe Source Code Pro font[1]. Switching back to the default Menlo makes the problem disappear. Problem randomly reappears and then sticks with using Adobe Source Code Pro. [1] http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS-US&event=displayFontPackage&code=1960
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!