view src/testdir/test_listlbr_utf8.ok @ 10581:dffda1f9b501 v8.0.0180

patch 8.0.0180: error E937 is used twice commit https://github.com/vim/vim/commit/83381f7129aca00bc2dd24527f160bc6a60d70af Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 14 14:36:08 2017 +0100 patch 8.0.0180: error E937 is used twice Problem: Error E937 is used both for duplicate key in JSON and for trying to delete a buffer that is in use. Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Jan 2017 14:45:04 +0100
parents 6170f4945b83
children
line wrap: on
line source


	abcdef hijklmn	pqrstuvwxyz 1060ABCDEFGHIJKLMNOP 

Test 1: set linebreak + set list + fancy listchars
▕———abcdef          
+hijklmn▕———        
+pqrstuvwxyz␣1060ABC
+DEFGHIJKLMNOPˑ¶    

Test 2: set nolinebreak list
▕———abcdef hijklmn▕—
+pqrstuvwxyz␣1060ABC
+DEFGHIJKLMNOPˑ¶    

	*mask = nil;

Test 3: set linebreak nolist
    *mask = nil;    
~                   
~                   
~                   
#define ABCDE		1
#define ABCDEF		1
#define ABCDEFG		1
#define ABCDEFGH	1
#define MSG_MODE_FILE			1
#define MSG_MODE_CONSOLE		2
#define MSG_MODE_FILE_AND_CONSOLE	3
#define MSG_MODE_FILE_THEN_CONSOLE	4

Test 4: set linebreak list listchars and concealing
#define ABCDE>-->---1                   
#define >CDEF>-->---1                   
#define >CDEFG>->---1                   
#define >CDEFGH>----1                   
#define >_FILE>--------->--->---1       
#define >_CONSOLE>---------->---2       
#define >_FILE_AND_CONSOLE>---------3   
bbeeeeee		;	some text

Test 5: set linebreak list listchars and concealing part2
eeeeee>--->-;>some text                 
Test 6: Screenattributes for comment
 /*		 and some more */
ScreenAttributes for test6:
Attribut 0 and 1 and 3 and 5 are different!
Test 8: set linebreak with visual block mode and v_b_A and selection=exclusive and multibyte char
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 TARGETÃx' at end

a b c
a b c

Test 9: a multibyte sign and colorcolumn

+a b c¶                                
  a b c¶                                
Screen attributes are the same!