Diff of /syntax/matlab.jsf.in [000000] .. [409b67] Maximize Restore

  Switch to unified view

a b/syntax/matlab.jsf.in
1
# joe Matlab syntax highlighting
2
# Created by Gustav Stenberg 2007-10-30
3
#
4
5
=Idle
6
=Comment  green
7
=Keyword  blue
8
=String   magenta
9
=Secondary    magenta
10
=Error        red
11
=Command  yellow
12
13
:idle Idle
14
  *       idle
15
  "%"     comment     recolor=-1
16
  "\'"        string      mark recolor=-1
17
  "a-zA-Z_."  ident           buffer
18
  "!"     command     recolor=-1
19
  "([{"       parent      buffer
20
21
:command Command
22
  *       command
23
  "\n"        idle
24
25
:comment Comment
26
  *       comment
27
  "\n"        idle
28
29
:keyword Keyword
30
  *       idle        noeat
31
32
:keywordc Keyword
33
  *       comment
34
  "\n"        idle
35
36
:parent Idle
37
  *       parent
38
  ")]}"       idle
39
40
:string Error
41
  *       string
42
  "\'"        stringdone  recolormark recolor=-1
43
  "\n"        idle
44
45
:stringdone String
46
  *       idle        recolor=-1
47
      
48
:secondary Secondary
49
  *       idle        noeat
50
  "a-zA-Z_0-9. "  secondary
51
  "\n;:=!\"\'+-,*(){}[]&\\\|/~"   idle recolor=-1
52
   
53
:ident Idle
54
  *       secondary   noeat strings
55
  "..."       keywordc
56
  "break"     keyword
57
  "case"      keyword
58
  "catch"     keyword
59
  "continue"  keyword
60
  "else"      keyword
61
  "elseif"    keyword
62
  "end"       keyword
63
  "for"       keyword
64
  "function"  keyword
65
  "global"    keyword
66
  "if"        keyword
67
  "otherwise" keyword
68
  "persistent"    keyword
69
  "return"    keyword
70
  "switch"    keyword
71
  "try"       keyword
72
  "while"     keyword
73
done
74
  "a-zA-Z0-9_."   ident