-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Auto-indent doesn't scroll editor #8723
Comments
Probably a 1.0. Seems related to #1324 |
BTW: Following these steps and undo twice after step 11 hangs in 0.42 but not in master. So the code mirror fix at a183fa6bb190d6bacb287c3efe5da078b7b5bc74 fixes that too which we'll want to keep an eye on since that is an interim solution |
@JeffryBooher Can you repro the same issue in vanilla CodeMirror? (e.g. codemirror.net/mode/javascript/). If so, could you file a bug on CM & add the Tracking label here? I don't think #1324 is related: it doesn't have to do with scrolling; it's related to the actual indent level in the text being incorrect, and is very specific to |
@peterflynn UTR in vanilla code mirror. When enter is pressed the indentation doesn't go above above "expect" but that's because the vanilla codemirror tab stops are set at 2 characters instead of 4. Still, it scrolls to reveal the next un-indented code tab stop as well not just where the cursor is. Smart Indentation Maybe? |
The thing that causes the back-indent when you type |
It may be a change recently. It reproduces with 0.42 and with current Master |
@peterflynn It's not caused by a recent change. I can repro it back in Sprint 39. |
Reviewed. Removing Brackets 1.0 Milestone. |
Fixed by PR #9387 |
When auto-indentation out-dents, the editor doesn't scroll to the cursor position after the out-dent.
The text was updated successfully, but these errors were encountered: