Patch 8.2.4641
Problem:    May mark the wrong window for redrawing.
Solution:   Use redraw_win_later(). (closes #10032)
Files:      src/move.c


*** ../vim-8.2.4640/src/move.c  2022-03-27 19:26:29.334889006 +0100
--- src/move.c  2022-03-28 12:35:43.251131356 +0100
***************
*** 147,156 ****
      {
        // When 'cursorcolumn' is set need to redraw with SOME_VALID.
        if (wp->w_p_cuc)
!           redraw_later(SOME_VALID);
        // When 'cursorlineopt' contains "screenline" need to redraw with VALID.
        else if (wp->w_p_cul && (wp->w_p_culopt_flags & CULOPT_SCRLINE))
!           redraw_later(VALID);
      }
  }
  #endif
--- 147,156 ----
      {
        // When 'cursorcolumn' is set need to redraw with SOME_VALID.
        if (wp->w_p_cuc)
!           redraw_win_later(wp, SOME_VALID);
        // When 'cursorlineopt' contains "screenline" need to redraw with VALID.
        else if (wp->w_p_cul && (wp->w_p_culopt_flags & CULOPT_SCRLINE))
!           redraw_win_later(wp, VALID);
      }
  }
  #endif
*** ../vim-8.2.4640/src/version.c       2022-03-28 11:55:08.675619915 +0100
--- src/version.c       2022-03-28 12:36:02.911069209 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4641,
  /**/

-- 
-rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
-rwxr-xr-t  4 root      131720 Jan  1  1970 /usr/ucb/vi
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs

 /// 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/20220328114322.595351C0C20%40moolenaar.net.

Raspunde prin e-mail lui