File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -831,4 +831,22 @@ func Test_breakindent20_list()
831831 call s: close_windows (' set breakindent& briopt& linebreak& list& listchars& showbreak&' )
832832endfunc
833833
834+ " The following used to crash Vim. This is fixed by 8.2.3391.
835+ " This is a regression introduced by 8.2.2903.
836+ func Test_window_resize_with_linebreak ()
837+ new
838+ 53 vnew
839+ set linebreak
840+ set showbreak = >>
841+ set breakindent
842+ set breakindentopt = shift:4
843+ call setline (1 , " \n aaaaaaaaa\n\n a\n aaaaa\n ¯aaaaaaaaaa\n aaaaaaaaaaaa\n aaa\n \" a:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa - aaaaaaaa\" \n aaaaaaaa\n \" a" )
844+ redraw !
845+ call assert_equal ([" >>aa^@\" a: " ], ScreenLines (2 , 14 ))
846+ vertical resize 52
847+ redraw !
848+ call assert_equal ([" >>aaa^@\" a:" ], ScreenLines (2 , 14 ))
849+ % bw !
850+ endfunc
851+
834852" vim: shiftwidth = 2 sts = 2 expandtab
Original file line number Diff line number Diff line change @@ -755,6 +755,8 @@ static char *(features[]) =
755755
756756static int included_patches [] =
757757{ /* Add new patch number below this line */
758+ /**/
759+ 3397 ,
758760/**/
759761 3396 ,
760762/**/
You can’t perform that action at this time.
0 commit comments