Mercurial > vim
comparison src/testdir/test_listlbr.in @ 6866:8ebcd7f1ff5b v7.4.753
patch 7.4.753
Problem: Appending in Visual mode with 'linebreak' set does not work
properly. Also when 'selection' is "exclusive". (Ingo Karkat)
Solution: Recalculate virtual columns. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 25 Jun 2015 13:30:46 +0200 |
parents | 0a4efa3d2019 |
children | c2b132add309 |
comparison
equal
deleted
inserted
replaced
6865:e1227b101125 | 6866:8ebcd7f1ff5b |
---|---|
57 :let line=ScreenChar(winwidth(0)) | 57 :let line=ScreenChar(winwidth(0)) |
58 :call DoRecordScreen() | 58 :call DoRecordScreen() |
59 :set cpo&vim linebreak | 59 :set cpo&vim linebreak |
60 :let g:test ="Test 6: set linebreak with visual block mode" | 60 :let g:test ="Test 6: set linebreak with visual block mode" |
61 :let line="REMOVE: this not" | 61 :let line="REMOVE: this not" |
62 :$put =g:test | |
62 :$put =line | 63 :$put =line |
63 :let line="REMOVE: aaaaaaaaaaaaa" | 64 :let line="REMOVE: aaaaaaaaaaaaa" |
64 :$put =line | 65 :$put =line |
65 :1/^REMOVE: | 66 :1/^REMOVE: |
66 0jf x:$put | 67 0jf x:$put |
68 :set cpo&vim linebreak | |
69 :let g:test ="Test 7: set linebreak with visual block mode and v_b_A" | |
70 :$put =g:test | |
71 Golong line: 40afoobar aTARGET at end | |
72 :exe "norm! $3B\<C-v>eAx\<Esc>" | |
73 :set cpo&vim linebreak sbr= | |
74 :let g:test ="Test 8: set linebreak with visual char mode and changing block" | |
75 :$put =g:test | |
76 Go1111-1111-1111-11-1111-1111-11110f-lv3lc2222bgj. | |
67 :%w! test.out | 77 :%w! test.out |
68 :qa! | 78 :qa! |
69 ENDTEST | 79 ENDTEST |
70 dummy text | 80 dummy text |