# HG changeset patch # User Bram Moolenaar # Date 1664050503 -7200 # Node ID 729e2305f4b29b3877a376f17bbc2fafbf8ab158 # Parent a49f7a770f04a7ee13bbe8025619a5d9a0f49fc8 patch 9.0.0581: adding a character for incsearch fails at end of line Commit: https://github.com/vim/vim/commit/d4566c14e71c55dcef05fb34ea94eba835831527 Author: Bram Moolenaar Date: Sat Sep 24 21:06:39 2022 +0100 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. diff --git a/src/move.c b/src/move.c --- a/src/move.c +++ b/src/move.c @@ -683,7 +683,7 @@ cursor_valid(void) void validate_cursor(void) { - check_cursor(); + check_cursor_lnum(); check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(TRUE); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 581, +/**/ 580, /**/ 579,