ini.jsf (1302B)
1 # JOE syntax highlight file for INI files 2 # by Christian Nicolai (http://mycrobase.de) 3 4 =Idle 5 =Comment 6 =Escape 7 =Bad 8 =Value # Maybe should be +Constant but it's too colorful. 9 10 =Attr +Type 11 =Key +Attr 12 =Separator +Attr 13 =Section +Preproc 14 15 :line_start Idle 16 * key noeat 17 "\n" line_start 18 " \t\r" line_start # leading spaces 19 ";#" line_comment recolor=-1 20 "[" section 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 :section Section 29 * section 30 "]" section_end 31 "\n" section_unexp_end recolor=-2 32 33 :section_end Bad 34 * section_end 35 "\n" line_start 36 37 :section_unexp_end Bad 38 * line_start noeat 39 40 :missing_key Bad 41 * value_pre noeat 42 43 :key Key 44 * key 45 " \t\r" key_post noeat 46 "=" sep recolor=-1 47 "\n" key_error recolor=-2 48 49 :key_post Idle 50 * value_pre noeat 51 " \t\r" key_post 52 "=" sep recolor=-1 53 54 :key_error Bad 55 * key noeat 56 57 :sep Separator 58 * value_pre noeat 59 60 :value_pre Idle 61 * value noeat 62 " \t\r" value_pre 63 64 :value Value 65 * value 66 "\\" value_esc 67 "\n" line_start 68 " " maybe_comment recolor=-1 69 70 :value_esc Escape 71 * value 72 "\n" value_error recolor=-2 73 74 :value_error Bad 75 * value noeat 76 77 :maybe_comment Idle 78 * value noeat 79 ";#" line_comment recolor=-1