Mercurial > vim
diff src/ui.c @ 19738:0208534b8a84 v8.2.0425
patch 8.2.0425: code for modeless selection not sufficiently tested
Commit: https://github.com/vim/vim/commit/515545e11f523d14343b1e588dc0b9bd3d362bc2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 22 14:08:59 2020 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Mar 2020 14:15:04 +0100 |
parents | fe8ba2f82f59 |
children | aa674de6d813 |
line wrap: on
line diff
--- a/src/ui.c +++ b/src/ui.c @@ -1046,7 +1046,7 @@ clip_modeless(int button, int is_click, 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); }