1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-30 08:54:23 +01:00

Corrected tabs - using tab size 8

This commit is contained in:
Christian Nicolai 2011-08-01 11:21:59 +02:00
parent feb8e9fbed
commit fe6271c08a
4 changed files with 58 additions and 58 deletions

6
md.jsf
View File

@ -18,8 +18,8 @@
"*_" idle
:maybe_bold1 Idle
* idle noeat
"*_" bold recolor=-2
* idle noeat
"*_" bold recolor=-2
:bold Bold
* bold
@ -30,4 +30,4 @@
"*_" end_bold
:end_bold Bold
* idle noeat
* idle noeat

View File

@ -18,19 +18,19 @@
"/" maybe_comment
"0-9" first_digit recolor=-1
"'" string_sq_1 recolor=-1
"\"" string_dq_1 recolor=-1
"a-z" atom buffer
"\"" string_dq_1 recolor=-1
"a-z" atom buffer
"A-Z" variable recolor=-1
"_" _variable
"[]" brace recolor=-1
"[]" brace recolor=-1
:line_comment Comment
* line_comment
"\n" idle
"\n" idle
:maybe_comment Idle
* idle noeat
"*" comment recolor=-2
* idle noeat
"*" comment recolor=-2
:comment Comment
* comment
@ -42,7 +42,7 @@
"*" maybe_end_comment
:brace Brace
* idle noeat
* idle noeat
:string_sq_1 Constant
* string_sq noeat
@ -69,32 +69,32 @@
"\n" string_dq recolor=-2
:first_digit Constant
* idle noeat
* idle noeat
# no float support
# "." float
"0-9" first_number
:first_number Constant
* idle noeat
* idle noeat
"0-9" first_number
"." float
:float Constant
* idle noeat
* idle noeat
"eE" epart
"0-9" float
:epart Constant
* idle noeat
* idle noeat
"0-9+\-" enum
:enum Constant
* idle noeat
* idle noeat
"0-9" enum
# list of keywords includes some predicates...
:atom Idle
* idle noeat strings
* idle noeat strings
"append" kw
"atom" kw
"atomic" kw
@ -125,13 +125,13 @@ done
"a-zA-Z0-9_" atom
:kw Keyword
* idle noeat
* idle noeat
:variable Variable
* idle noeat
* idle noeat
"a-zA-Z0-9_" variable
:_variable Idle
* idle noeat
* idle noeat
# if it's not only _, color it
"a-zA-Z0-9_" variable recolor=-2

View File

@ -36,7 +36,7 @@
"\n" idle
"{}" brace recolor=-1
"0" first_digit recolor=-1
"1-9" decimal recolor=-1
"1-9" decimal recolor=-1
"." maybe_float
"\"" string recolor=-1
"'" char recolor=-1
@ -178,15 +178,15 @@ done
# and color it so - else we are wrong with the guess that it's a todo-keyword
# so it's a normal 'Comment'
:line_comment_todo_guess Comment
* line_comment_todo_unknown noeat strings
"TODO" line_comment_todo
"FIXME" line_comment_todo
"BUG" line_comment_todo
"XXX" line_comment_todo
* line_comment_todo_unkwn noeat strings
"TODO" line_comment_todo
"FIXME" line_comment_todo
"BUG" line_comment_todo
"XXX" line_comment_todo
done
"A-Z" line_comment_todo_guess
"A-Z" line_comment_todo_guess
:line_comment_todo_unknown Idle
:line_comment_todo_unkwn Idle
* line_comment_i noeat
:line_comment_todo CommentTODO
@ -470,39 +470,39 @@ done
* repl
:maybe_symbol Idle
* rest noeat
":" maybe_symbol2
* rest noeat
":" maybe_symbol2
:maybe_symbol2 Idle
* rest noeat
* rest noeat
# prevent wrong Module::Member detection
":" rest
":" rest
# first char mustn't be 0-9
"a-zA-Z_" symbol
# # might be a :"symbol"
# "\""
:symbol Symbol
* rest noeat
"a-zA-Z0-9_" symbol recolor=-3
* rest noeat
"a-zA-Z0-9_" symbol recolor=-3
:proc_arg ProcArg
* rest noeat
"," proc_arg_sep noeat
* rest noeat
"," proc_arg_sep noeat
"a-zA-Z_" proc_arg
:proc_arg_sep Idle
* proc_arg
:class_member1 Idle
* rest noeat
* rest noeat
"a-zA-Z_" class_member recolor=-2
"@" class_member2
:class_member2 ClassMember
* rest noeat
* rest noeat
"a-zA-Z_" class_member recolor=-3
:class_member ClassMember
* rest noeat
* rest noeat
"a-zA-Z0-9_" class_member

View File

@ -17,12 +17,12 @@
* idle
"%" directive recolor=-1
"#" line_comment recolor=-1
"'" string_sq_1 recolor=-1
"\"" string_dq_1 recolor=-1
"{[]}" brace recolor=-1
"'" string_sq_1 recolor=-1
"\"" string_dq_1 recolor=-1
"{[]}" brace recolor=-1
"-" maybe_block1
"." maybe_block_end1
"*&" maybe_reference
"*&" maybe_reference
"!" maybe_datacast
:line_comment Comment
@ -30,7 +30,7 @@
"\n" idle
:brace Brace
* idle noeat
* idle noeat
:directive Directive
* directive
@ -61,46 +61,46 @@
"\n" string_dq recolor=-2
:maybe_block1 Idle
* idle noeat
* idle noeat
"-" maybe_block2
:maybe_block2 Idle
* idle noeat
"-" block recolor=-3
* idle noeat
"-" block recolor=-3
:block BlockDelim
* idle noeat
* idle noeat
:maybe_block_end1 Idle
* idle noeat
* idle noeat
"." maybe_block_end2
:maybe_block_end2 Idle
* idle noeat
* idle noeat
"." block_end recolor=-3
:block_end BlockDelim
* idle noeat
* idle noeat
:maybe_reference Idle
* idle
"a-zA-Z_" reference recolor=-2
:reference Reference
* idle noeat
* idle noeat
"a-zA-Z0-9_" reference
:maybe_datacast Idle
* idle noeat
"a-zA-Z_" local_datatype recolor=-1
* idle noeat
"a-zA-Z_" local_datatype recolor=-1
"!" builtin_datatype1
:builtin_datatype1 Idle
* idle noeat
"a-zA-Z" builtin_datatype buffer
* idle noeat
"a-zA-Z" builtin_datatype buffer
:builtin_datatype Idle
* idle noeat strings
* idle noeat strings
"str" dt
"float" dt
"binary" dt
@ -108,8 +108,8 @@ done
"a-zA-Z_" builtin_datatype
:dt Keyword
* idle noeat
* idle noeat
:local_datatype LocalDatatype
* idle noeat
* idle noeat
"a-zA-Z_" local_datatype