1
0
forked from aniani/vim

patch 8.2.0425: code for modeless selection not sufficiently tested

Problem:    Code for modeless selection not sufficiently tested.
Solution:   Add tests.  Move mouse code functionality to a common script file.
            (Yegappan Lakshmanan, closes #5821)
This commit is contained in:
Bram Moolenaar
2020-03-22 14:08:59 +01:00
parent 97acfc781b
commit 515545e11f
12 changed files with 856 additions and 343 deletions

View File

@@ -1046,7 +1046,7 @@ clip_modeless(int button, int is_click, int is_drag)
else if (is_drag)
{
// Don't try extending a selection if there isn't one. Happens when
// button-down is in the cmdline and them moving mouse upwards.
// button-down is in the cmdline and then moving mouse upwards.
if (clip_star.state != SELECT_CLEARED)
clip_process_selection(button, mouse_col, mouse_row, repeat);
}