aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dom_utils.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-04-11 07:02:29 +0100
committerStephen Blott2016-04-11 07:02:32 +0100
commit598f6fa4ffa1348c096ad681a10bee28adde4a3e (patch)
tree551c949a4d675c4ecaa077c280e0bf5d76ee8303 /lib/dom_utils.coffee
parentad2ed18dff81297f43ea89331ba227c26aed654a (diff)
downloadvimium-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