0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.0904: various comment and indent flaws

Problem:    Various comment and indent flaws.
Solution:   Improve comments and indenting.
This commit is contained in:
Bram Moolenaar
2022-11-18 22:14:09 +00:00
parent d13166e788
commit 88456cd3c4
14 changed files with 61 additions and 42 deletions

View File

@@ -1311,9 +1311,8 @@ wait_return(int redraw)
|| c == K_X2MOUSE))
);
ui_breakcheck();
/*
* Avoid that the mouse-up event causes visual mode to start.
*/
// Avoid that the mouse-up event causes Visual mode to start.
if (c == K_LEFTMOUSE || c == K_MIDDLEMOUSE || c == K_RIGHTMOUSE
|| c == K_X1MOUSE || c == K_X2MOUSE)
(void)jump_to_mouse(MOUSE_SETPOS, NULL, 0);