To: vim_dev@googlegroups.com Subject: Patch 9.0.0643 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- 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 ///