play around with Scintilla and Lexilla
This commit is contained in:
		
							
								
								
									
										43
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/AllStyles.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/AllStyles.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,43 @@
 | 
			
		||||
// Enumerate all styles: 0 to 13
 | 
			
		||||
 | 
			
		||||
// default=0
 | 
			
		||||
   
 | 
			
		||||
 | 
			
		||||
// number=1
 | 
			
		||||
1
 | 
			
		||||
 | 
			
		||||
// string=2
 | 
			
		||||
"2"
 | 
			
		||||
 | 
			
		||||
// stringeol=3
 | 
			
		||||
"3
 | 
			
		||||
 | 
			
		||||
// propertyname=4
 | 
			
		||||
"4":
 | 
			
		||||
 | 
			
		||||
// escapesequence=5
 | 
			
		||||
"\n"
 | 
			
		||||
 | 
			
		||||
// linecomment=6
 | 
			
		||||
// 6 Line Comment
 | 
			
		||||
 | 
			
		||||
// blockcomment=7
 | 
			
		||||
/* 7 Block Comment */
 | 
			
		||||
 | 
			
		||||
// operator=8
 | 
			
		||||
{}
 | 
			
		||||
 | 
			
		||||
// uri=9
 | 
			
		||||
"http://9.org"
 | 
			
		||||
 | 
			
		||||
// compactiri=10
 | 
			
		||||
"x:y"
 | 
			
		||||
 | 
			
		||||
// keyword=11
 | 
			
		||||
true
 | 
			
		||||
 | 
			
		||||
// ldkeyword=12
 | 
			
		||||
"@id"
 | 
			
		||||
 | 
			
		||||
// error=13
 | 
			
		||||
# 13 error
 | 
			
		||||
							
								
								
									
										44
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/AllStyles.json.folded
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/AllStyles.json.folded
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,44 @@
 | 
			
		||||
 0 400 400   // Enumerate all styles: 0 to 13
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // default=0
 | 
			
		||||
 1 400 400      
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // number=1
 | 
			
		||||
 0 400 400   1
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // string=2
 | 
			
		||||
 0 400 400   "2"
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // stringeol=3
 | 
			
		||||
 0 400 400   "3
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // propertyname=4
 | 
			
		||||
 0 400 400   "4":
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // escapesequence=5
 | 
			
		||||
 0 400 400   "\n"
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // linecomment=6
 | 
			
		||||
 0 400 400   // 6 Line Comment
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // blockcomment=7
 | 
			
		||||
 0 400 400   /* 7 Block Comment */
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // operator=8
 | 
			
		||||
 0 400 400   {}
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // uri=9
 | 
			
		||||
 0 400 400   "http://9.org"
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // compactiri=10
 | 
			
		||||
 0 400 400   "x:y"
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // keyword=11
 | 
			
		||||
 0 400 400   true
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // ldkeyword=12
 | 
			
		||||
 0 400 400   "@id"
 | 
			
		||||
 1 400 400   
 | 
			
		||||
 0 400 400   // error=13
 | 
			
		||||
 0 400 400   # 13 error
 | 
			
		||||
 0 400   0   
 | 
			
		||||
							
								
								
									
										43
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/AllStyles.json.styled
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/AllStyles.json.styled
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,43 @@
 | 
			
		||||
{6}// Enumerate all styles: 0 to 13{0}
 | 
			
		||||
 | 
			
		||||
{6}// default=0{0}
 | 
			
		||||
   
 | 
			
		||||
 | 
			
		||||
{6}// number=1{0}
 | 
			
		||||
{1}1{0}
 | 
			
		||||
 | 
			
		||||
{6}// string=2{0}
 | 
			
		||||
{2}"2"{0}
 | 
			
		||||
 | 
			
		||||
{6}// stringeol=3{0}
 | 
			
		||||
{3}"3
 | 
			
		||||
{0}
 | 
			
		||||
{6}// propertyname=4{0}
 | 
			
		||||
{4}"4"{8}:{0}
 | 
			
		||||
 | 
			
		||||
{6}// escapesequence=5{0}
 | 
			
		||||
{2}"{5}\n{2}"{0}
 | 
			
		||||
 | 
			
		||||
{6}// linecomment=6{0}
 | 
			
		||||
{6}// 6 Line Comment{0}
 | 
			
		||||
 | 
			
		||||
{6}// blockcomment=7{0}
 | 
			
		||||
{7}/* 7 Block Comment */{0}
 | 
			
		||||
 | 
			
		||||
{6}// operator=8{0}
 | 
			
		||||
{8}{}{0}
 | 
			
		||||
 | 
			
		||||
{6}// uri=9{0}
 | 
			
		||||
{2}"{9}http://9.org{2}"{0}
 | 
			
		||||
 | 
			
		||||
{6}// compactiri=10{0}
 | 
			
		||||
{10}"x:y"{0}
 | 
			
		||||
 | 
			
		||||
{6}// keyword=11{0}
 | 
			
		||||
{11}true{0}
 | 
			
		||||
 | 
			
		||||
{6}// ldkeyword=12{0}
 | 
			
		||||
{2}"{12}@id{2}"{0}
 | 
			
		||||
 | 
			
		||||
{6}// error=13{0}
 | 
			
		||||
{13}# 13 error{0}
 | 
			
		||||
							
								
								
									
										14
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/SciTE.properties
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								3rdparty/lexilla532/lexilla/test/examples/json/SciTE.properties
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
			
		||||
lexer.*.json=json
 | 
			
		||||
 | 
			
		||||
# JSON keywords
 | 
			
		||||
keywords.*.json=false true null
 | 
			
		||||
 | 
			
		||||
# JSON-LD keywords
 | 
			
		||||
keywords2.*.json=@id @context @type @value @language @container \
 | 
			
		||||
@list @set @reverse @index @base @vocab @graph
 | 
			
		||||
 | 
			
		||||
lexer.json.escape.sequence=1
 | 
			
		||||
lexer.json.allow.comments=1
 | 
			
		||||
fold=1
 | 
			
		||||
fold.compact=1
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user