Patch 8.2.2496 (after 8.2.2495)
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
Files: src/testdir/test_breakindent.vim
*** ../vim-8.2.2495/src/testdir/test_breakindent.vim 2021-02-10
21:10:08.934440987 +0100
--- src/testdir/test_breakindent.vim 2021-02-10 21:19:59.549340175 +0100
***************
*** 634,648 ****
call s:compare_lines(expect, lines)
" Scroll down one screen line
setl scrolloff=5
! norm! 6gj
! redraw!
let lines = s:screen_lines(1, 20)
let expect = [
! \ "> aaaaaaaaaaaaaaaaaa",
\ "> aaaaaaaaaaaaaaaaaa",
\ "> aaaaaaaaaaaaaaaaaa",
\ ]
call s:compare_lines(expect, lines)
setl breakindent briopt=min:18 sbr=>
norm! 5gj
--- 634,653 ----
call s:compare_lines(expect, lines)
" Scroll down one screen line
setl scrolloff=5
! norm! 5gj
let lines = s:screen_lines(1, 20)
let expect = [
! \ "aaaaaaaaaaaaaaaaaaaa",
\ "> aaaaaaaaaaaaaaaaaa",
\ "> aaaaaaaaaaaaaaaaaa",
\ ]
call s:compare_lines(expect, lines)
+ redraw!
+ " moving the cursor doesn't change the text offset
+ norm! l
+ redraw!
+ let lines = s:screen_lines(1, 20)
+ call s:compare_lines(expect, lines)
setl breakindent briopt=min:18 sbr=>
norm! 5gj
*** ../vim-8.2.2495/src/version.c 2021-02-10 21:10:08.934440987 +0100
--- src/version.c 2021-02-10 21:18:54.517470732 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2496,
/**/
--
--
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/202102102020.11AKKxQN417878%40masaka.moolenaar.net.