dotfiles

My dotfiles.
Log | Files | Refs | LICENSE

properties.jsf (1620B)


      1 # JOE syntax highlight file for properties files
      2 # by Christian Nicolai (http://mycrobase.de)
      3 
      4 =Idle
      5 =Comment
      6 =Constant
      7 =String		+Constant
      8 =StringEscape	+Escape
      9 =Escape
     10 =Bad
     11 
     12 =Key		+Attr +Type
     13 =KeyEscape	+Escape
     14 =Separator	+Control
     15 
     16 :line_start Idle
     17 	*		key		noeat
     18 	"\n"		line_start
     19 	" \t\r"		line_start # leading spaces
     20 	"#!"		line_comment	recolor=-1
     21 	"=:"		missing_key	recolor=-1
     22 
     23 :line_comment Comment comment
     24 	*		line_comment
     25 	"BFHNTX"	line_comment	noeat call=comment_todo.comment_todo()
     26 	"\n"		line_start
     27 
     28 :missing_key Bad
     29 	*		value_pre	noeat
     30 
     31 :key Key
     32 	*		key
     33 	"\\"		key_esc		recolor=-1
     34 	" \t\r"		key_post	noeat
     35 	"=:"		sep		recolor=-1
     36 	"\n"		key_error	recolor=-2
     37 
     38 # one escaped char
     39 :key_esc KeyEscape
     40 	*		key
     41 	"\n"		key_error	recolor=-2
     42 
     43 :key_post Idle
     44 	*		value_pre	noeat
     45 	" \t\r"		key_post
     46 	"=:"		sep		recolor=-1
     47 
     48 :key_error Bad
     49 	*		key		noeat
     50 
     51 :sep Separator
     52 	*		value_pre	noeat
     53 
     54 :value_pre Idle
     55 	*		value		noeat
     56 	" \t\r"		value_pre
     57 
     58 :value String string
     59 	*		value
     60 	"\\"		value_esc	recolor=-1
     61 	"\n"		line_start
     62 
     63 :value_esc StringEscape string
     64 	*		value_error	recolor=-2
     65 	"u"		value_unicode_hex1
     66 	"\n"		value_cont
     67 
     68 :value_unicode_hex1 StringEscape string
     69 	*		value_error	recolor=-3
     70 	"A-Fa-f0-9"	value_unicode_hex2
     71 
     72 :value_unicode_hex2 StringEscape string
     73 	*		value_error	recolor=-4
     74 	"A-Fa-f0-9"	value_unicode_hex3
     75 
     76 :value_unicode_hex3 StringEscape string
     77 	*		value_error	recolor=-5
     78 	"A-Fa-f0-9"	value_unicode_hex4
     79 
     80 :value_unicode_hex4 StringEscape string
     81 	*		value_error	recolor=-6
     82 	"A-Fa-f0-9"	value
     83 
     84 :value_cont String string
     85 	*		value
     86 	" \t\r"		value_cont # leading spaces
     87 
     88 :value_error Bad
     89 	*		value		noeat