Closed t9md closed 7 years ago
feel free to modify or close if you have any concern. I haven't deeply checked exiting behavior. I don't have strong opinion my approach is correct.
Hmm, after applying this patch I get a regression where relative-numbers
is now highlighting the line after the current one during line-wise selection if "Soft wraps count" option is enabled:
I can't remember correctly any more, feel free to ignore and close this PR.
Ok, closing for now, the issue is tracked via #21.
When selection is reversed and linewise, relative number become incorrect. This PR simplify relative line calcuration so no longer use existing
endOfLineSelected
.Before
After