matlab.jsf (1526B)
1 # joe Matlab syntax highlighting 2 # Created by Gustav Stenberg 2007-10-30 3 # 4 5 =Idle 6 =Ident 7 =Comment 8 =Keyword 9 =Number +Constant 10 =String +Constant 11 =Secondary +Ident 12 =Error +Bad 13 =Command +Statement +Keyword 14 15 :idle Idle 16 * idle 17 "%" comment recolor=-1 18 "\'" string mark recolor=-1 19 "a-zA-Z_." ident buffer 20 "!" command recolor=-1 21 "([{" parent buffer 22 "0-9" first_digit recolor=-1 23 24 :command Command 25 * command 26 "\n" idle 27 28 :comment Comment comment 29 * comment 30 "BFHNTX" comment noeat call=comment_todo.comment_todo() 31 "\n" idle 32 33 :keyword Keyword 34 * idle noeat 35 36 :keywordc Keyword 37 * comment 38 "\n" idle 39 40 :parent Idle 41 * parent 42 ")]}" idle 43 44 :string Error 45 * string 46 "\'" stringdone recolormark recolor=-1 47 "\n" idle 48 49 :stringdone String string 50 * idle recolor=-1 51 52 :first_digit Number 53 * idle noeat 54 "." float 55 "eE" epart 56 "0-9" first_digit 57 58 :float Number 59 * idle noeat 60 "eE" epart 61 "0-9" float 62 63 :epart Number 64 * idle noeat 65 "0-9+\-" enum 66 67 :enum Number 68 * idle noeat 69 "0-9" enum 70 71 :secondary Secondary 72 * idle noeat 73 "a-zA-Z_0-9. " secondary 74 "\n;:=!\"\'+-,*(){}[]&\\\|/~" idle recolor=-1 75 76 :ident Ident 77 * secondary noeat strings 78 "..." keywordc 79 "break" keyword 80 "case" keyword 81 "catch" keyword 82 "continue" keyword 83 "else" keyword 84 "elseif" keyword 85 "end" keyword 86 "for" keyword 87 "function" keyword 88 "global" keyword 89 "if" keyword 90 "otherwise" keyword 91 "persistent" keyword 92 "return" keyword 93 "switch" keyword 94 "try" keyword 95 "while" keyword 96 done 97 "a-zA-Z0-9_." ident