0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0079

This commit is contained in:
Bram Moolenaar
2005-06-04 21:55:20 +00:00
parent 4debb442bd
commit 51485f0624
9 changed files with 1466 additions and 3829 deletions

View File

@@ -2823,6 +2823,7 @@ do_mouse(oap, c, dir, count, fixindent)
if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
{
pos_T *pos = NULL;
int gc;
if (is_click)
{
@@ -2830,7 +2831,7 @@ do_mouse(oap, c, dir, count, fixindent)
* not a word character, try finding a match and select a (),
* {}, [], #if/#endif, etc. block. */
end_visual = curwin->w_cursor;
while (vim_iswhite(gchar_pos(&end_visual)))
while (gc = gchar_pos(&end_visual), vim_iswhite(gc))
inc(&end_visual);
if (oap != NULL)
oap->motion_type = MCHAR;