This adds an option to ignore unselected last line.
This way we can select the lines to sort by the line numbers, which places the cursor at the beginning of the line following the selection, which was sorted without this option.
I personally think it should be the default behavior and no parameter is necessary but I didn't want to cause a breaking change if some users are used to the current behavior.
This adds an option to ignore unselected last line. This way we can select the lines to sort by the line numbers, which places the cursor at the beginning of the line following the selection, which was sorted without this option.
I personally think it should be the default behavior and no parameter is necessary but I didn't want to cause a breaking change if some users are used to the current behavior.
Fixes #118
Here is a gif showing the different behaviors: