ajaxorg/ace — Issue #489: Behavior when pressing 'up' key and empty lines
Author: janjongboom
Created: 2011-11-02 08:49:22+00:00
State: open

For example type:

if (a) {

Now press enter twice and add the closing bracket

}

Now press 'up' to get into the block body, the cursor is set to the same column as the EOL of the closing bracket instead of the EOL of the line with all whitespace.

Proposal: if you are at EOL and press up, and the line above is all whitespace, then move to the EOL of the target line.