Mercurial > vim
annotate src/testdir/test66.in @ 10982:5e20c9f96cd5 v8.0.0380
patch 8.0.0380: with 'linebreak' double wide char wraps badly
commit https://github.com/vim/vim/commit/38632faf635f6434441827e136bceb5a930c59ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 19:40:59 2017 +0100
patch 8.0.0380: with 'linebreak' double wide char wraps badly
Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
character results in "<<" displayed.
Solution: Check for the character not to be replaced. (Ozaki Kiichi,
closes #1456)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Feb 2017 19:45:04 +0100 |
parents | 0a3fab86f34d |
children |
rev | line source |
---|---|
1839 | 1 |
2 Test for visual block shift and tab characters. | |
3 | |
4 STARTTEST | |
5 :so small.vim | |
4213 | 6 /^one |
7 fe4jRugvr1:'<,'>w! test.out | |
1839 | 8 /^abcdefgh |
9 4jI j<<11|D | |
10 7|a | |
11 7|a | |
12 7|a 4k13|4j< | |
4213 | 13 :$-5,$w >> test.out |
1839 | 14 :$-4,$s/\s\+//g |
15 4kI j<< | |
16 7|a | |
17 7|a | |
18 7|a 4k13|4j3< | |
19 :$-4,$w >> test.out | |
20 :qa! | |
21 ENDTEST | |
22 | |
4213 | 23 one two three |
24 one two three | |
25 one two three | |
26 one two three | |
27 one two three | |
28 | |
1839 | 29 abcdefghijklmnopqrstuvwxyz |
30 abcdefghijklmnopqrstuvwxyz | |
31 abcdefghijklmnopqrstuvwxyz | |
32 abcdefghijklmnopqrstuvwxyz | |
33 abcdefghijklmnopqrstuvwxyz |