1 | # This file describes which highlighting scheme is applied to a particular |
---|
2 | # file in mcedit. |
---|
3 | # |
---|
4 | # Each entry consists of two lines: a "file" specification and the |
---|
5 | # corresponding highlighting definition ("include"). A file specification |
---|
6 | # can have two or three fields, each separated by white-space characters. |
---|
7 | # |
---|
8 | # The first field is a regular expression that is matched against the file |
---|
9 | # name. The second field is a description of the file type and is |
---|
10 | # currently unused. The third (optional) field is a regular expression |
---|
11 | # that is matched against the first line of the file. The first entry |
---|
12 | # that matches wins, that is, all the entries below are ignored. |
---|
13 | # |
---|
14 | # Certain characters must be quoted in these fields. These are space (\s), |
---|
15 | # tabs (\t), backslashes(\\), plus (\+) and asterisk (\*). Braces {} and |
---|
16 | # brackets [] must not be quoted in this file. |
---|
17 | # |
---|
18 | # You can use the following colors in the syntax highlighting files: |
---|
19 | # black, blue, brightblue, brightcyan, brightgreen, brightmagenta, |
---|
20 | # brightred, brown, cyan, gray, green, lightgray, magenta, red, white, |
---|
21 | # yellow |
---|
22 | # |
---|
23 | |
---|
24 | file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s |
---|
25 | include syntax.syntax |
---|
26 | |
---|
27 | file ..\*\\.(e)$ Eiffel\sSource\sFile |
---|
28 | include eiffel.syntax |
---|
29 | |
---|
30 | file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s |
---|
31 | include diff.syntax |
---|
32 | |
---|
33 | file ..\*\\.lsm$ LSM\sFile |
---|
34 | include lsm.syntax |
---|
35 | |
---|
36 | file ..\*\\.sh$ Shell\sScript ^#!.\*([\s/]([abd-z]?|ba|pdk)sh|@SH@) |
---|
37 | include sh.syntax |
---|
38 | |
---|
39 | file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@) |
---|
40 | include perl.syntax |
---|
41 | |
---|
42 | file ..\*\\.(cbl|CBL)$ Cobol\sProgram ^ PHASE.\*) |
---|
43 | include cobol.syntax |
---|
44 | |
---|
45 | file ..\*\\.(py|PY)$ Python\sProgram ^#!.\*([\s/]python|@PYTHON@) |
---|
46 | include python.syntax |
---|
47 | |
---|
48 | file ..\*\\.(rb|RB)$ Ruby\sProgram ^#!.\*([\s/]ruby|@RUBY@) |
---|
49 | include ruby.syntax |
---|
50 | |
---|
51 | file ..\*\\.(man|[0-9n]|[0-9]x)$ NROFF\sSource |
---|
52 | include nroff.syntax |
---|
53 | |
---|
54 | file ..\*\\.(htm|html|HTM|HTML)$ HTML\sFile |
---|
55 | include html.syntax |
---|
56 | |
---|
57 | file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD|qpg|qpg.in)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s) |
---|
58 | include xml.syntax |
---|
59 | |
---|
60 | file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram |
---|
61 | include pascal.syntax |
---|
62 | |
---|
63 | file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram |
---|
64 | include ada95.syntax |
---|
65 | |
---|
66 | file ..\*\\.(tcl|itcl|TCL|ITCL)$ Tcl\sProgram |
---|
67 | include tcl.syntax |
---|
68 | |
---|
69 | file ..\*\\.(sl|SL)$ S-Lang\sProgram |
---|
70 | include slang.syntax |
---|
71 | |
---|
72 | file ..\*\\.tex$ LaTeX\s2.09\sDocument |
---|
73 | include latex.syntax |
---|
74 | |
---|
75 | file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument |
---|
76 | include texinfo.syntax |
---|
77 | |
---|
78 | file ..\*\\.([chC]|CC|cxx|cc|cpp|CPP|CXX|hxx|hpp|HPP|h\.in)$ C/C\+\+\sProgram |
---|
79 | include c.syntax |
---|
80 | |
---|
81 | file ..\*\\.[fF]$ Fortran\sProgram |
---|
82 | include fortran.syntax |
---|
83 | |
---|
84 | file ..\*\\.i$ SWIG\sSource |
---|
85 | include swig.syntax |
---|
86 | |
---|
87 | file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram |
---|
88 | include php.syntax |
---|
89 | |
---|
90 | file ..\*\\.(java|JAVA|Java|jav)$ Java\sProgram |
---|
91 | include java.syntax |
---|
92 | |
---|
93 | file ..\*\\.(cs|CS)$ C\#\sProgram |
---|
94 | include cs.syntax |
---|
95 | |
---|
96 | file ..\*\\.(js|JS)$ JavaScript\sProgram |
---|
97 | include js.syntax |
---|
98 | |
---|
99 | file ..\*\\.(asax|aspx|ascx|asmx|ashx)$ ASPX\sFile |
---|
100 | include aspx.syntax |
---|
101 | |
---|
102 | file ..\*\\.st$ SmallTalk\sProgram |
---|
103 | include smalltalk.syntax |
---|
104 | |
---|
105 | file ..\*\\.(lisp|lsp|el)$ Lisp\sProgram |
---|
106 | include lisp.syntax |
---|
107 | |
---|
108 | file ..\*\\.(ml|mli|mly|mll|mlp)$ ML\sProgram |
---|
109 | include ml.syntax |
---|
110 | |
---|
111 | file ..\*\\.m$ Matlab\sor\sOctave\sFile |
---|
112 | include octave.syntax |
---|
113 | |
---|
114 | file ..\*\\.(sql|SQL)$ SQL\sProgram |
---|
115 | include sql.syntax |
---|
116 | |
---|
117 | file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile |
---|
118 | include spec.syntax |
---|
119 | |
---|
120 | file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile |
---|
121 | include changelog.syntax |
---|
122 | |
---|
123 | file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk)$ Makefile |
---|
124 | include makefile.syntax |
---|
125 | |
---|
126 | file (..\*\\.m4$|configure\\.in|configure\\.ac) M4\sMacroprocessor\sSource |
---|
127 | include m4.syntax |
---|
128 | |
---|
129 | file ..\*\\.(bat|cmd)$ DOS\sBatch |
---|
130 | include dos.syntax |
---|
131 | |
---|
132 | file ..\*\\.(po|pot|pox)$ PO\sFile |
---|
133 | include po.syntax |
---|
134 | |
---|
135 | file ..\*\\.([Aa][Ss][Mm]|s|S)$ ASM\sProgram |
---|
136 | include assembler.syntax |
---|
137 | |
---|
138 | file ..\*\\.([Pp][Oo][Vv])$ POV\sScript |
---|
139 | include povray.syntax |
---|
140 | |
---|
141 | file ..\*\\.([lL][uU][aA])$ LUA\sProgram |
---|
142 | include lua.syntax |
---|
143 | |
---|
144 | file ..\*\\.([iI][dD][lL])$ CORBA\sIDL |
---|
145 | include idl.syntax |
---|
146 | |
---|
147 | file Don_t_match_me Mail\sfolder ^From\s |
---|
148 | include mail.syntax |
---|
149 | |
---|
150 | file .\* unknown |
---|
151 | include unknown.syntax |
---|