To: vim_dev@googlegroups.com Subject: Patch 9.0.0581 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0581 (after 9.0.0579) Problem: Adding a character for incsearch fails at end of line. Solution: Only check cursor line number. Files: src/move.c *** ../vim-9.0.0580/src/move.c 2022-09-24 19:20:26.575649263 +0100 --- src/move.c 2022-09-24 20:47:06.189363576 +0100 *************** *** 683,689 **** void validate_cursor(void) { ! check_cursor(); check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(TRUE); --- 683,689 ---- void validate_cursor(void) { ! check_cursor_lnum(); check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(TRUE); *** ../vim-9.0.0580/src/version.c 2022-09-24 19:32:07.251604769 +0100 --- src/version.c 2022-09-24 21:06:25.016211378 +0100 *************** *** 701,702 **** --- 701,704 ---- { /* Add new patch number below this line */ + /**/ + 581, /**/ -- "The question of whether computers can think is just like the question of whether submarines can swim." -- Edsger W. Dijkstra /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///