aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_insert.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-02-03 07:37:54 +0000
committerStephen Blott2015-02-03 07:37:54 +0000
commitc1681fea2f2629c6bee1e27c5dfc704d77553d96 (patch)
tree563af53ca6d5ca0e65003ce911287d730560d509 /content_scripts/mode_insert.coffee
parent95e086563b918364d3038f6489cc97c73fcb7180 (diff)
downloadvimium-c1681fea2f2629c6bee1e27c5dfc704d77553d96.tar.bz2
Visual/edit modes: better (?) guessing for caret mode.
When caret mode guesses a selection score text nodes by their visible area and the number of non-whitespace characters they contain. Choose the first non-whitespace character in the highest-scoring node. The intention is to avoid making a poor choice for the initial caret position.
Diffstat (limited to 'content_scripts/mode_insert.coffee')
0 files changed, 0 insertions, 0 deletions