Closed jszakmeister closed 11 years ago
There was a small typo that was causing the next function to be selected when the cursor was placed at the end of the function. line() returns the line number, not the contents. Use getline() instead.
Fixed the commit message... the first line wasn't clear about what was being fixed.
Thank you for the patch. I've merged it. I also wrote tests.
Thanks! And thanks for the pointer to the tests.
There was a small typo that was causing the next function to be selected when the cursor was placed at the end of the function. line() returns the line number, not the contents. Use getline() instead.