Xcode 4.3+ Code Editor window jumps when typing

Originator:ski081
Number:rdar://11137908 Date Originated:03/28/2012
Status:Open Resolved:No
Product:XCode Product Version:4.3
Classification: Reproducible:Sometimes
 
28-Mar-2012 09:44 AM Mark Struzinski:
Summary:
When nearing the end of a code file and using autocomplete, the screen's viewport jumps around when you press the tab button to complete a token.

Steps to Reproduce:
Scroll toward the end of a code file. This seems to happen more when the @end declaration is actually in sight, but it also sometimes happens if it is not. Begin typing a statement and allow the autocomplete list to pop up. Any time you use the up or down arrow keys to select an entry, the item loses focus and the entire viewport of the code file begins jumping up and down. This causes you to lose your place where you were typing and in general completely breaks your focus.

Expected Results:
Autocomplete finishes without issue.

Actual Results:
Any time you use the up or down arrow keys to select an entry, the item loses focus and the entire viewport of the code file begins jumping up and down. This causes you to lose your place where you were typing and in general completely breaks your focus. 

Regression:

Notes:
This seems to happen on all objective-c files that I am attempting to edit

Comments

For me it doesn't jump on tabs or autocomplete. Instead it jumps on every space. The only way around it is to have at least 10 empty lines before @end (lines after make no difference)

Moi aussi

I see this behavior too. I haven't taken the time to note what the antecedents are that trigger it. I usually just power through because I have other stuff I'm trying to get done.

I miss Xcode 3...

By 1billgarrison at March 30, 2012, 11:38 a.m. (reply...)

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!