mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.0581: adding a character for incsearch fails at end of line
Problem: Adding a character for incsearch fails at end of line. Solution: Only check cursor line number.
This commit is contained in:
@@ -683,7 +683,7 @@ cursor_valid(void)
|
|||||||
void
|
void
|
||||||
validate_cursor(void)
|
validate_cursor(void)
|
||||||
{
|
{
|
||||||
check_cursor();
|
check_cursor_lnum();
|
||||||
check_cursor_moved(curwin);
|
check_cursor_moved(curwin);
|
||||||
if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW))
|
if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW))
|
||||||
curs_columns(TRUE);
|
curs_columns(TRUE);
|
||||||
|
@@ -699,6 +699,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 */
|
||||||
|
/**/
|
||||||
|
581,
|
||||||
/**/
|
/**/
|
||||||
580,
|
580,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user