mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2-281
This commit is contained in:
28
src/screen.c
28
src/screen.c
@@ -3008,11 +3008,33 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
|||||||
mb_ptr_adv(ptr);
|
mb_ptr_adv(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(FEAT_SYN_HL) || defined(FEAT_VIRTUALEDIT) || defined(FEAT_VISUAL)
|
||||||
|
/* When:
|
||||||
|
* - 'cuc' is set, or
|
||||||
|
* - 'virtualedit' is set, or
|
||||||
|
* - the visual mode is active,
|
||||||
|
* the end of the line may be before the start of the displayed part.
|
||||||
|
*/
|
||||||
|
if (vcol < v && (
|
||||||
|
# ifdef FEAT_SYN_HL
|
||||||
|
wp->w_p_cuc
|
||||||
|
# if defined(FEAT_VIRTUALEDIT) || defined(FEAT_VISUAL)
|
||||||
|
||
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
# ifdef FEAT_VIRTUALEDIT
|
# ifdef FEAT_VIRTUALEDIT
|
||||||
/* When 'virtualedit' is set the end of the line may be before the
|
virtual_active()
|
||||||
* start of the displayed part. */
|
# ifdef FEAT_VISUAL
|
||||||
if (vcol < v && *ptr == NUL && virtual_active())
|
||
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# ifdef FEAT_VISUAL
|
||||||
|
(VIsual_active && wp->w_buffer == curwin->w_buffer)
|
||||||
|
# endif
|
||||||
|
))
|
||||||
|
{
|
||||||
vcol = v;
|
vcol = v;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Handle a character that's not completely on the screen: Put ptr at
|
/* Handle a character that's not completely on the screen: Put ptr at
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
281,
|
||||||
/**/
|
/**/
|
||||||
280,
|
280,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user