view src/testdir/test_listlbr.ok @ 7611:9c420b8db435 v7.4.1105

commit https://github.com/vim/vim/commit/9bbf63dbf8286fadc0cd6b3428010abb67b1b64d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 16 16:49:28 2016 +0100 patch 7.4.1105 Problem: When using slices there is a mixup of variable name and namespace. Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Jan 2016 17:00:05 +0100
parents 68f2cac6b0db
children
line wrap: on
line source


	abcdef hijklmn	pqrstuvwxyz_1060ABCDEFGHIJKLMNOP 

Test 1: set linebreak
    abcdef          
+hijklmn            
+pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP      

Test 2: set linebreak + set list
^Iabcdef hijklmn^I  
+pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP      
                    

Test 3: set linebreak nolist
    abcdef          
+hijklmn            
+pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP      
1	aaaaaaaaaaaaaaaaaa

Test 4: set linebreak with tab and 1 line as long as screen: should break!
1                   
+aaaaaaaaaaaaaaaaaa 
~                   
~                   
_S_	 bla

Test 5: set linebreak with conceal and set list and tab displayed by different char (line may not be truncated)
Sabbbbbb bla        
~                   
~                   
~                   
Test 6: set linebreak with visual block mode
this not
aaaaaaaaaaaaa
REMOVE: 
REMOVE: 
Test 7: set linebreak with visual block mode and v_b_A
long line: foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end
Test 8: set linebreak with visual char mode and changing block
1111-2222-1111-11-1111-2222-1111
Test 9: using redo after block visual mode

AaA
AaA
A
Test 10: using normal commands after block-visual

abcdpqrs
Test 11: using block replace mode after wrapping
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
Test 12: set linebreak list listchars=space:_,tab:>-,tail:-,eol:$
a aaaaaaaaaaaaaaaaaaaaaa	a 

Test 12: set linebreak list listchars=space:_,tab:>-,tail:-,eol:$
a_                  
aaaaaaaaaaaaaaaaaaaa
aa>-----a-$         
~