diff options
| author | Stephen Blott | 2016-04-11 07:02:29 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-04-11 07:02:32 +0100 | 
| commit | 598f6fa4ffa1348c096ad681a10bee28adde4a3e (patch) | |
| tree | 551c949a4d675c4ecaa077c280e0bf5d76ee8303 /lib/dom_utils.coffee | |
| parent | ad2ed18dff81297f43ea89331ba227c26aed654a (diff) | |
| download | vimium-598f6fa4ffa1348c096ad681a10bee28adde4a3e.tar.bz2 | |
Better visual-mode selection handling.
Assume there is an existing range selection.
Consider `v`, `Escape`.  Previously, this had the side effect of
clearing the selection.  That behaviour seems odd and wrong.
Here, we retain the selection if there was an existing range selection
when visual mode was launched.
Arguably, this removes a "feature" whereby `v`, `Escape` clears the
selection.  Here, we take it that the oddity above outweighs the loss of
this arguably unintentional "feature".
Diffstat (limited to 'lib/dom_utils.coffee')
0 files changed, 0 insertions, 0 deletions
