adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Investigate rules for CM scrolling after edits #7945

Open njx opened 10 years ago

njx commented 10 years ago

7458 seemed to be caused by some change in the cmv4 behavior on scrolling after an edit. We worked around that issue by explicitly scrolling, but it would be good to figure out what changed in CMv4 and determine whether it was intentional or not, so that we know what the correct behavior should be as we implement future edits.

njx commented 10 years ago

Low pri to me

peterflynn commented 10 years ago

@njx Think I just found another case of this: if you press Tab while the cursor is scrolled out of view, it only scrolls back into view.if the cursor was at the start of the line. Tabs in the middle or at the end of the line leave the diff ouf of view (though undoing that diff does scroll it back into view).

This was also not the behavior before CMv4 landed.