madskristensen / ShowSelectionLength

Other
10 stars 4 forks source link

Zero width selection don't update status bar #8

Open lordfanger opened 2 years ago

lordfanger commented 2 years ago

When I select multiple lines but no characters the status bar don't change. For example with Shift+Alt+(Up/Down)Arrow or when I select multiple selections with same words and then move to end of that word. In the second example the status bar show the old selection result. I have 2 ideas.

  1. Update status bar to show lines or selections count with characters count 0.
  2. Clear the status bar to match the "no selection" behavior.

image

image