Mercurial > vim
annotate src/testdir/dumps/Test_visual_starts_before_skipcol_4.dump @ 34043:fe05c1fb02f8 v9.0.2189
patch 9.0.2189: Wrong display with 'briopt=sbr' and 'nobreakindent'
Commit: https://github.com/vim/vim/commit/7e4f62a2575e8ce9ebb842d4246288138b11dff3
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Dec 28 23:19:52 2023 +0100
patch 9.0.2189: Wrong display with 'briopt=sbr' and 'nobreakindent'
Problem: Wrong display when 'breakindentopt' contains "sbr" and
'showbreak' and 'nobreakindent' are set.
Solution: Always reset wlv->need_showbreak regardless of the values of
'breakindent' and 'showbreak', as they aren't checked when
setting wlv->need_showbreak (zeertzjq)
closes: #13785
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Dec 2023 23:30:09 +0100 |
parents | ffabf0c57e9f |
children | 47385c831d92 |
rev | line source |
---|---|
34043
fe05c1fb02f8
patch 9.0.2189: Wrong display with 'briopt=sbr' and 'nobreakindent'
Christian Brabandt <cb@256bit.org>
parents:
34026
diff
changeset
|
1 |++0#4040ff13#ffffff0@2| +0#0000000#e0e0e08|9|8| |9@1> +0&#ffffff0@65 |
fe05c1fb02f8
patch 9.0.2189: Wrong display with 'briopt=sbr' and 'nobreakindent'
Christian Brabandt <cb@256bit.org>
parents:
34026
diff
changeset
|
2 |[+3&&|N|o| |N|a|m|e|]| |[|+|]| @43|1|,|2|9|1|-|3|1|0| @5|A|l@1 |
34026
ffabf0c57e9f
patch 9.0.2187: Visual not drawn with 'breakindent' when line doesn't fit
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 | +0&&@74 |
ffabf0c57e9f
patch 9.0.2187: Visual not drawn with 'breakindent' when line doesn't fit
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 |~+0#4040ff13&| @73 |
ffabf0c57e9f
patch 9.0.2187: Visual not drawn with 'breakindent' when line doesn't fit
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 |[+1#0000000&|N|o| |N|a|m|e|]| @47|0|,|0|-|1| @9|A|l@1 |
ffabf0c57e9f
patch 9.0.2187: Visual not drawn with 'breakindent' when line doesn't fit
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 |-+2&&@1| |V|I|S|U|A|L| |-@1| +0&&@51|2|9|1| @7 |