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