forked from aniani/vim
updated for version 7.0110
This commit is contained in:
@@ -49,6 +49,7 @@ char_u *get_dict_string __ARGS((dict_T *d, char_u *key));
|
||||
long get_dict_number __ARGS((dict_T *d, char_u *key));
|
||||
char_u *get_function_name __ARGS((expand_T *xp, int idx));
|
||||
char_u *get_expr_name __ARGS((expand_T *xp, int idx));
|
||||
long do_searchpair __ARGS((char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags));
|
||||
void set_vim_var_nr __ARGS((int idx, long val));
|
||||
long get_vim_var_nr __ARGS((int idx));
|
||||
char_u *get_vim_var_str __ARGS((int idx));
|
||||
|
||||
@@ -1253,7 +1253,8 @@ win_update(wp)
|
||||
from = to;
|
||||
}
|
||||
|
||||
if (VIsual.lnum != wp->w_old_visual_lnum)
|
||||
if (VIsual.lnum != wp->w_old_visual_lnum
|
||||
|| VIsual.col != wp->w_old_visual_col)
|
||||
{
|
||||
if (wp->w_old_visual_lnum < from
|
||||
&& wp->w_old_visual_lnum != 0)
|
||||
@@ -1379,6 +1380,7 @@ win_update(wp)
|
||||
wp->w_old_visual_mode = VIsual_mode;
|
||||
wp->w_old_cursor_lnum = curwin->w_cursor.lnum;
|
||||
wp->w_old_visual_lnum = VIsual.lnum;
|
||||
wp->w_old_visual_col = VIsual.col;
|
||||
wp->w_old_curswant = curwin->w_curswant;
|
||||
}
|
||||
else
|
||||
@@ -1386,6 +1388,7 @@ win_update(wp)
|
||||
wp->w_old_visual_mode = 0;
|
||||
wp->w_old_cursor_lnum = 0;
|
||||
wp->w_old_visual_lnum = 0;
|
||||
wp->w_old_visual_col = 0;
|
||||
}
|
||||
#endif /* FEAT_VISUAL */
|
||||
|
||||
|
||||
@@ -1580,6 +1580,7 @@ struct window
|
||||
colnr_T w_old_cursor_fcol; /* first column for block visual part */
|
||||
colnr_T w_old_cursor_lcol; /* last column for block visual part */
|
||||
linenr_T w_old_visual_lnum; /* last known start of visual part */
|
||||
colnr_T w_old_visual_col; /* last known start of visual part */
|
||||
colnr_T w_old_curswant; /* last known value of Curswant */
|
||||
#endif
|
||||
|
||||
|
||||
@@ -36,5 +36,5 @@
|
||||
#define VIM_VERSION_NODOT "vim70aa"
|
||||
#define VIM_VERSION_SHORT "7.0aa"
|
||||
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
|
||||
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 18)"
|
||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 18, compiled "
|
||||
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 19)"
|
||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 19, compiled "
|
||||
|
||||
Reference in New Issue
Block a user