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

bug fixes added #23

Closed dmatushkin closed 10 years ago

insanehunter commented 10 years ago

Few more issues to go :crying_cat_face:. Consider the following code:

GMUserModel *user = [GMDatabase sharedInstance].currentUser;
[GMAnalytics measureUserLoggedInWithIdentifier:user.identifier];
if (!restored) {
    [GMAnalytics logEvent:@"Registration 2.0: Finished"];
}

Put the caret inside user on the first line and expand selection. It will hit the ] and stop growing. Also put caret between @" and Registration - growing selection will eventually capture logEvent: but not Finished" - I don't think breaking strings is intended.

insanehunter commented 10 years ago

AFAIK, there's no need to close and create new pull requests, just push more commits to this PR branch, and they'll get added