Patch 8.2.3397
Problem:    No test for what 8.2.3391 fixes.
Solution:   Add a test. (Yegappan Lakshmanan, closes #8828)
Files:      src/testdir/test_breakindent.vim


*** ../vim-8.2.3396/src/testdir/test_breakindent.vim    2021-07-22 
11:46:55.502419535 +0200
--- src/testdir/test_breakindent.vim    2021-09-02 19:55:15.498478061 +0200
***************
*** 831,834 ****
--- 831,852 ----
    call s:close_windows('set breakindent& briopt& linebreak& list& listchars& 
showbreak&')
  endfunc
  
+ " The following used to crash Vim. This is fixed by 8.2.3391.
+ " This is a regression introduced by 8.2.2903.
+ func Test_window_resize_with_linebreak()
+   new
+   53vnew
+   set linebreak
+   set showbreak=>>
+   set breakindent
+   set breakindentopt=shift:4
+   call setline(1, 
"\naaaaaaaaa\n\na\naaaaa\n¯aaaaaaaaaa\naaaaaaaaaaaa\naaa\n\"a:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 - aaaaaaaa\"\naaaaaaaa\n\"a")
+   redraw!
+   call assert_equal(["    >>aa^@\"a: "], ScreenLines(2, 14))
+   vertical resize 52
+   redraw!
+   call assert_equal(["    >>aaa^@\"a:"], ScreenLines(2, 14))
+   %bw!
+ endfunc
+ 
  " vim: shiftwidth=2 sts=2 expandtab
*** ../vim-8.2.3396/src/version.c       2021-09-02 19:53:03.206805177 +0200
--- src/version.c       2021-09-02 19:56:51.270240033 +0200
***************
*** 757,758 ****
--- 757,760 ----
  {   /* Add new patch number below this line */
+ /**/
+     3397,
  /**/

-- 
A salesperson says:            Translation:
"backward compatible"          Old technology
"Premium"                      Overpriced
"Can't keep it on the shelf"   Unavailable
"Stands alone"                 Piece of shit
"Proprietary"                  Incompatible
                                (Scott Adams - The Dilbert principle)

 /// 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/202109021805.182I5xJ0335445%40masaka.moolenaar.net.

Raspunde prin e-mail lui