aki77 / atom-expand-region

expanding selection
https://atom.io/packages/expand-region
MIT License
89 stars 9 forks source link

Cancel command does not place cursor back to where it started #35

Open arthurcgusmao opened 5 years ago

arthurcgusmao commented 5 years ago

Hi,

An improvement I want to suggest is to place the cursor back to where it started in case one cancels the command (e.g., press ESC).

Currently, what happens is that the cursor stays at the last character of the last expanded selection. This is somewhat undesirable because when the selection is over-expanded and canceled, the cursor is often at a totally distant location from the location one was editing.

In any case, thank you for the great work done so far!

aki77 commented 5 years ago

It is a good idea. But I am busy so the priority is low. sorry.