Patch 9.0.0643
Problem:    Smoothscroll test fails.
Solution:   Check if skipcol changed.
Files:      src/normal.c


*** ../vim-9.0.0642/src/normal.c        2022-09-24 13:10:00.739938625 +0100
--- src/normal.c        2022-10-02 20:20:24.064142099 +0100
***************
*** 2470,2475 ****
--- 2470,2476 ----
  scroll_redraw(int up, long count)
  {
      linenr_T  prev_topline = curwin->w_topline;
+     int               prev_skipcol = curwin->w_skipcol;
  #ifdef FEAT_DIFF
      int               prev_topfill = curwin->w_topfill;
  #endif
***************
*** 2491,2496 ****
--- 2492,2498 ----
        // we get stuck at one position.  Don't move the cursor up if the
        // first line of the buffer is already on the screen
        while (curwin->w_topline == prev_topline
+               && curwin->w_skipcol == prev_skipcol
  #ifdef FEAT_DIFF
                && curwin->w_topfill == prev_topfill
  #endif
*** ../vim-9.0.0642/src/version.c       2022-10-02 22:10:22.247640544 +0100
--- src/version.c       2022-10-02 22:31:51.085017671 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     643,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
247. You use www.switchboard.com instead of dialing 411 and 555-12-12
     for directory assistance.

 /// 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/20221002213234.E9D8A1C09A3%40moolenaar.net.

Raspunde prin e-mail lui