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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220924200705.880FF1C0728%40moolenaar.net.

Raspunde prin e-mail lui