play around with Scintilla and Lexilla
This commit is contained in:
		
							
								
								
									
										78
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/AllStyles.erl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/AllStyles.erl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,78 @@
 | 
			
		||||
% Enumerate all styles: 0..24 31
 | 
			
		||||
 | 
			
		||||
% comment = 1
 | 
			
		||||
 | 
			
		||||
% whitespace = 0
 | 
			
		||||
    % 0
 | 
			
		||||
 | 
			
		||||
% variable = 2
 | 
			
		||||
A
 | 
			
		||||
 | 
			
		||||
% number = 3
 | 
			
		||||
3
 | 
			
		||||
 | 
			
		||||
% keyword = 4
 | 
			
		||||
let
 | 
			
		||||
 | 
			
		||||
% string = 5
 | 
			
		||||
"string"
 | 
			
		||||
 | 
			
		||||
% operator = 6
 | 
			
		||||
*
 | 
			
		||||
 | 
			
		||||
% atom = 7
 | 
			
		||||
atom
 | 
			
		||||
 | 
			
		||||
% function_name = 8
 | 
			
		||||
function()
 | 
			
		||||
 | 
			
		||||
% character = 9
 | 
			
		||||
$a
 | 
			
		||||
 | 
			
		||||
% macro = 10
 | 
			
		||||
?macro
 | 
			
		||||
 | 
			
		||||
% record = 11
 | 
			
		||||
#record
 | 
			
		||||
 | 
			
		||||
% preproc = 12
 | 
			
		||||
-define
 | 
			
		||||
 | 
			
		||||
% node_name = 13
 | 
			
		||||
node@
 | 
			
		||||
 | 
			
		||||
% comment_function = 14
 | 
			
		||||
%% function
 | 
			
		||||
 | 
			
		||||
% comment_module = 15
 | 
			
		||||
%%% module
 | 
			
		||||
 | 
			
		||||
% comment_doc = 16
 | 
			
		||||
%% @todo
 | 
			
		||||
 
 | 
			
		||||
% comment_doc_macro = 17
 | 
			
		||||
%% {@module}
 | 
			
		||||
 | 
			
		||||
% atom_quoted = 18 (fails)
 | 
			
		||||
'fails'
 | 
			
		||||
 | 
			
		||||
% macro_quoted = 19
 | 
			
		||||
?'macro'
 | 
			
		||||
 | 
			
		||||
% record_quoted = 20
 | 
			
		||||
#'record'
 | 
			
		||||
 | 
			
		||||
% node_name_quoted = 21
 | 
			
		||||
'node@'
 | 
			
		||||
 | 
			
		||||
% bifs = 22
 | 
			
		||||
atom_to_binary
 | 
			
		||||
 | 
			
		||||
% modules = 23
 | 
			
		||||
io:x
 | 
			
		||||
 | 
			
		||||
% modules_att = 24
 | 
			
		||||
-module().
 | 
			
		||||
 | 
			
		||||
% unknown = 31 (this is an internal state and should not be output)
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										79
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/AllStyles.erl.folded
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/AllStyles.erl.folded
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,79 @@
 | 
			
		||||
 0 400   0   % Enumerate all styles: 0..24 31
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % comment = 1
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % whitespace = 0
 | 
			
		||||
 0 400   0       % 0
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % variable = 2
 | 
			
		||||
 0 400   0   A
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % number = 3
 | 
			
		||||
 0 400   0   3
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % keyword = 4
 | 
			
		||||
 0 400   0   let
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % string = 5
 | 
			
		||||
 0 400   0   "string"
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % operator = 6
 | 
			
		||||
 0 400   0   *
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % atom = 7
 | 
			
		||||
 0 400   0   atom
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % function_name = 8
 | 
			
		||||
 0 400   0   function()
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % character = 9
 | 
			
		||||
 0 400   0   $a
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % macro = 10
 | 
			
		||||
 0 400   0   ?macro
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % record = 11
 | 
			
		||||
 0 400   0   #record
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % preproc = 12
 | 
			
		||||
 0 400   0   -define
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % node_name = 13
 | 
			
		||||
 0 400   0   node@
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % comment_function = 14
 | 
			
		||||
 0 400   0   %% function
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % comment_module = 15
 | 
			
		||||
 0 400   0   %%% module
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % comment_doc = 16
 | 
			
		||||
 0 400   0   %% @todo
 | 
			
		||||
 0 400   0    
 | 
			
		||||
 0 400   0   % comment_doc_macro = 17
 | 
			
		||||
 0 400   0   %% {@module}
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % atom_quoted = 18 (fails)
 | 
			
		||||
 0 400   0   'fails'
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % macro_quoted = 19
 | 
			
		||||
 0 400   0   ?'macro'
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % record_quoted = 20
 | 
			
		||||
 0 400   0   #'record'
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % node_name_quoted = 21
 | 
			
		||||
 0 400   0   'node@'
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % bifs = 22
 | 
			
		||||
 0 400   0   atom_to_binary
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % modules = 23
 | 
			
		||||
 0 400   0   io:x
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % modules_att = 24
 | 
			
		||||
 0 400   0   -module().
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   % unknown = 31 (this is an internal state and should not be output)
 | 
			
		||||
 0 400   0   
 | 
			
		||||
 0 400   0   
 | 
			
		||||
							
								
								
									
										78
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/AllStyles.erl.styled
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/AllStyles.erl.styled
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,78 @@
 | 
			
		||||
{1}% Enumerate all styles: 0..24 31{0}
 | 
			
		||||
 | 
			
		||||
{1}% comment = 1{0}
 | 
			
		||||
 | 
			
		||||
{1}% whitespace = 0{0}
 | 
			
		||||
    {1}% 0{0}
 | 
			
		||||
 | 
			
		||||
{1}% variable = 2{0}
 | 
			
		||||
{2}A{0}
 | 
			
		||||
 | 
			
		||||
{1}% number = 3{0}
 | 
			
		||||
{3}3{0}
 | 
			
		||||
 | 
			
		||||
{1}% keyword = 4{0}
 | 
			
		||||
{4}let{0}
 | 
			
		||||
 | 
			
		||||
{1}% string = 5{0}
 | 
			
		||||
{5}"string"{0}
 | 
			
		||||
 | 
			
		||||
{1}% operator = 6{0}
 | 
			
		||||
{6}*{0}
 | 
			
		||||
 | 
			
		||||
{1}% atom = 7{0}
 | 
			
		||||
{7}atom{0}
 | 
			
		||||
 | 
			
		||||
{1}% function_name = 8{0}
 | 
			
		||||
{8}function{6}(){0}
 | 
			
		||||
 | 
			
		||||
{1}% character = 9{0}
 | 
			
		||||
{9}$a{0}
 | 
			
		||||
 | 
			
		||||
{1}% macro = 10{0}
 | 
			
		||||
{10}?macro{0}
 | 
			
		||||
 | 
			
		||||
{1}% record = 11{0}
 | 
			
		||||
{11}#record{0}
 | 
			
		||||
 | 
			
		||||
{1}% preproc = 12{0}
 | 
			
		||||
{12}-define{0}
 | 
			
		||||
 | 
			
		||||
{1}% node_name = 13{0}
 | 
			
		||||
{13}node@{0}
 | 
			
		||||
 | 
			
		||||
{1}% comment_function = 14{0}
 | 
			
		||||
{14}%% function{0}
 | 
			
		||||
 | 
			
		||||
{1}% comment_module = 15{0}
 | 
			
		||||
{15}%%% module{0}
 | 
			
		||||
 | 
			
		||||
{1}% comment_doc = 16{0}
 | 
			
		||||
{14}%% {16}@todo{0}
 | 
			
		||||
 
 | 
			
		||||
{1}% comment_doc_macro = 17{0}
 | 
			
		||||
{14}%% {{17}@module{14}}{0}
 | 
			
		||||
 | 
			
		||||
{1}% atom_quoted = 18 (fails){0}
 | 
			
		||||
{18}'fails'{0}
 | 
			
		||||
 | 
			
		||||
{1}% macro_quoted = 19{0}
 | 
			
		||||
{19}?'macro'{0}
 | 
			
		||||
 | 
			
		||||
{1}% record_quoted = 20{0}
 | 
			
		||||
{20}#'record'{0}
 | 
			
		||||
 | 
			
		||||
{1}% node_name_quoted = 21{0}
 | 
			
		||||
{21}'node@'{0}
 | 
			
		||||
 | 
			
		||||
{1}% bifs = 22{0}
 | 
			
		||||
{22}atom_to_binary{0}
 | 
			
		||||
 | 
			
		||||
{1}% modules = 23{0}
 | 
			
		||||
{23}io:{7}x{0}
 | 
			
		||||
 | 
			
		||||
{1}% modules_att = 24{0}
 | 
			
		||||
{24}-module{6}().{0}
 | 
			
		||||
 | 
			
		||||
{1}% unknown = 31 (this is an internal state and should not be output){0}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/SciTE.properties
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								3rdparty/lexilla532/lexilla/test/examples/erlang/SciTE.properties
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
lexer.*.erl=erlang
 | 
			
		||||
keywords.*.erl=let
 | 
			
		||||
keywords2.*.erl=atom_to_binary
 | 
			
		||||
keywords3.*.erl=-define
 | 
			
		||||
keywords4.*.erl=-module
 | 
			
		||||
keywords5.*.erl=@todo
 | 
			
		||||
keywords6.*.erl=@module
 | 
			
		||||
		Reference in New Issue
	
	Block a user