insanehunter / XCode4_beginning_of_line

Xcode plugin to make HOME key jump to the first non-whitespace line of code
168 stars 21 forks source link

Home & multiline selection #39

Open jonyrock opened 9 years ago

jonyrock commented 9 years ago

There is a strange behavior during multiline selection: the first line is affected instead of the last then home button is pressed.

Steps to reproduce: Lets take this piece of code:

void foo() {
    _drawer = new Drawer();
    addChild(_drawer, 2);
}

See? Selection is changed in the first line , not in the last.