Patch 8.2.4801 (after 8.2.4795)
Problem:    Fix for cursorbind fix not fully tested.
Solution:   Add another test case. (Christian Brabandt, closes #10240)
Files:      src/testdir/test_cursorline.vim,
            src/testdir/dumps/Test_hor_scroll_5.dump


*** ../vim-8.2.4800/src/testdir/test_cursorline.vim     2022-04-20 
18:41:46.153830313 +0100
--- src/testdir/test_cursorline.vim     2022-04-20 22:03:47.555082604 +0100
***************
*** 297,303 ****
    CheckScreendump
  
    let lines =<< trim END
!       call setline(1, 'aa bb cc dd ee ff gg hh ii jj kk ll mm' .. 
        \ ' nn oo pp qq rr ss tt uu vv ww xx yy zz')
        set nowrap
        " The following makes the cursor apparent on the screen dump
--- 297,303 ----
    CheckScreendump
  
    let lines =<< trim END
!       call setline(1, 'aa bb cc dd ee ff gg hh ii jj kk ll mm' ..
        \ ' nn oo pp qq rr ss tt uu vv ww xx yy zz')
        set nowrap
        " The following makes the cursor apparent on the screen dump
***************
*** 320,325 ****
--- 320,329 ----
    call VerifyScreenDump(buf, 'Test_hor_scroll_3', {})
    call term_sendkeys(buf, "10l")
    call VerifyScreenDump(buf, 'Test_hor_scroll_4', {})
+   call term_sendkeys(buf, ":windo :set nocursorline nocursorcolumn\<cr>")
+   call term_sendkeys(buf, "0")
+   call term_sendkeys(buf, "40l")
+   call VerifyScreenDump(buf, 'Test_hor_scroll_5', {})
  
    call StopVimInTerminal(buf)
    call delete('Xhor_scroll')
*** ../vim-8.2.4800/src/testdir/dumps/Test_hor_scroll_5.dump    2022-04-20 
22:06:57.242861709 +0100
--- src/testdir/dumps/Test_hor_scroll_5.dump    2022-04-20 22:03:47.555082604 
+0100
***************
*** 0 ****
--- 1,8 ----
+ |k+0&#ffffff0@1| |l@1| |m@1| |n@1| |o@1| |p@1| |q@1||+1&&|a+0&&@1| |b@1| 
|c@1| |d@1| |e@1| |f@1| |g@1| |h@1| |i@1| |j@1| |k@1| |l@1| |m@1| |n>n| |o@1| 
|p@1| |q@1| |r@1| 
+ @20||+1&&| +0&&@53
+ @20||+1&&| +0&&@53
+ @20||+1&&| +0&&@53
+ @20||+1&&| +0&&@53
+ |~+0#4040ff13&| @18||+1#0000000&|~+0#4040ff13&| @52
+ |<+1#0000000&|a|m|e|]| |[|+|]| |1|,|4|1| @2|A|l@1| |[+3&&|N|o| |N|a|m|e|]| 
|[|+|]| @22|1|,|4|1| @10|A|l@1
+ |:+0&&|w|i|n|d|o| |:|s|e|t| |n|o|c|u|r|s|o|r|l|i|n|e| 
|n|o|c|u|r|s|o|r|c|o|l|u|m|n| @35
*** ../vim-8.2.4800/src/version.c       2022-04-20 19:55:34.055678776 +0100
--- src/version.c       2022-04-20 22:06:43.894877201 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4801,
  /**/

-- 
The startling truth finally became apparent, and it was this: Numbers
written on restaurant checks within the confines of restaurants do not follow
the same mathematical laws as numbers written on any other pieces of paper in
any other parts of the Universe.  This single statement took the scientific
world by storm.  So many mathematical conferences got held in such good
restaurants that many of the finest minds of a generation died of obesity and
heart failure, and the science of mathematics was put back by years.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// 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/20220420210818.0F71F1C170F%40moolenaar.net.

Raspunde prin e-mail lui