1 # Define SciTE settings for other simple files.
3 file.patterns.props=*.properties;*.session;*.ini;*.inf;*.url;*.cfg;*.cnf;*.aut
4 file.patterns.text=*.txt;*.log;*.lst;*.doc;*.diz;*.nfo
5 file.patterns.batch=*.bat;*.cmd;*.nt
6 file.patterns.diff=*.diff;*.patch
7 file.patterns.make=makefile;Makefile;*.mak;configure
9 *source.patterns.props=$(file.patterns.props);
10 *source.patterns.batch=$(file.patterns.batch);
11 *source.patterns.diff=$(file.patterns.diff);
12 *source.patterns.make=$(file.patterns.make);*.iface;
14 filter.properties=Properties (ini inf reg url cfg cnf)|$(file.patterns.props)|
15 filter.text=Text (txt log lst doc diz nfo)|$(file.patterns.text);make*|
16 filter.batch=Batch (bat cmd nt)|$(file.patterns.batch)|
17 filter.diff=Difference (diff patch)|$(file.patterns.diff)|
19 *filter.properties=$(filter.properties)
20 *filter.text=$(filter.text)
22 lexer.$(file.patterns.props)=props
23 lexer.$(file.patterns.batch)=batch
25 lexer.$(file.patterns.make)=makefile
26 lexer.*.iface=makefile
27 lexer.$(file.patterns.diff)=diff
29 *language.batch=&Batch|bat||
30 *language.difference=&Difference|diff||
31 *language.errorlist=&Errorlist|err||
32 *language.properties=&Properties|properties||
33 *language.makefile=&Makefile|mak|$(keyMake)|
34 *language._text=Text|txt|$(keyText)|
36 word.characters.$(file.patterns.text)=$(chars.alpha)$(chars.numeric)$(chars.accented)-'
38 colour.other.operator=fore:#B06000
45 style.props.1=fore:#007F7F,$(font.comment)
47 style.props.2=$(colour.string),back:#E0F0F0,eolfilled
49 style.props.3=$(colour.other.operator)
51 style.props.4=$(colour.preproc)
55 style.props.34=fore:#0000FF,notbold
56 style.props.35=fore:#FF0000,notbold
57 comment.block.props=#~
58 preprocessor.symbol.$(file.patterns.make)=!
59 preprocessor.start.$(file.patterns.make)=IF IFDEF IFNDEF
60 preprocessor.middle.$(file.patterns.make)=ELSE ELSEIF ELSEIFDEF ELSEIFNDEF
61 preprocessor.end.$(file.patterns.make)=ENDIF
65 # List from http://www.easydos.com/dosindex.html and https://sourceforge.net/p/scintilla/bugs/1686/
66 # I limit here the commands to those built in command.com, ie. I don't list external Dos commands
67 # if [no] (test) (command) -- test is EXIST (filename) | (string1)==(string2) | ERRORLEVEL (number)
68 # for %%(variable) IN (set) DO (command) -- variable is [a-zA-Z] -- eg for %%X in (*.txt) do type %%X
69 # Also includes device names.
71 assoc aux break call cd chcp chdir choice cls cmdextversion \
72 color com1 com2 com3 com4 con copy ctty date defined \
73 del dir do dpath echo else endlocal erase errorlevel exist \
74 exit for ftype goto if in lpt1 lpt2 lpt3 lpt4 md mkdir move \
75 not nul path pause popd prompt prn pushd rd rem ren \
76 rename rmdir set setlocal shift start time title type ver \
78 keywords.$(file.patterns.batch)=$(keywordclass.batch)
80 # Optional list of external commands to highlight in style 5.
81 # If not set all commands are highlighted in style 5.
82 #keywords2.$(file.patterns.batch)=append attrib chkdsk comp diskcomp
85 style.batch.0=fore:#000000
87 style.batch.1=fore:#007F00,$(font.comment)
89 style.batch.2=$(colour.keyword),bold
90 # Label (line beginning with ':')
91 style.batch.3=$(colour.string),back:#606060,fore:#FFFF00,eolfilled
92 # Hide command character ('@')
93 style.batch.4=$(colour.preproc)
95 style.batch.5=fore:#007090,$(font.monospace),bold
96 # Variable: %%x (x is almost whatever, except space and %), %n (n in [0-9]), %EnvironmentVar%
97 style.batch.6=fore:#800080
99 style.batch.7=fore:#000000
101 comment.block.batch=REM ~
106 style.makefile.0=fore:#000000
108 style.makefile.1=$(colour.other.comment),$(font.code.comment.box)
109 # Pre-processor or other comment: !
110 style.makefile.2=$(colour.preproc)
112 style.makefile.3=fore:#000080
114 style.makefile.4=$(colour.other.operator)
116 style.makefile.5=fore:#A00000
118 style.makefile.9=$(colour.error),eolfilled
120 style.makefile.34=fore:#0000FF,notbold
121 style.makefile.35=fore:#FF0000,notbold
123 comment.block.makefile=#~
127 style.errorlist.32=fore:#B06000,$(font.small)
129 style.errorlist.0=fore:#FFFFFF
131 style.errorlist.1=fore:#FF0000
133 style.errorlist.2=fore:#800080
135 style.errorlist.3=fore:#808000
136 # command or return status
137 style.errorlist.4=fore:#0000FF
138 # Borland error and warning messages
139 style.errorlist.5=fore:#B06000
140 # perl error and warning messages
141 style.errorlist.6=fore:#FF0000
143 style.errorlist.7=fore:#FF0000
144 # Lua error and warning messages
145 style.errorlist.8=fore:#FF0000
147 style.errorlist.9=fore:#FF00FF
149 style.errorlist.10=fore:#007F00
151 style.errorlist.11=fore:#00007F
153 style.errorlist.12=fore:#007F7F
155 style.errorlist.13=fore:#7F0000
157 style.errorlist.14=fore:#FF0000
158 # Essential Lahey Fortran 90 error
159 style.errorlist.15=fore:#FF0000
160 # Intel Fortran Compiler error
161 style.errorlist.16=fore:#FF0000
162 # Intel Fortran Compiler v8.0 error/warning
163 style.errorlist.17=fore:#FF0000
164 # Absoft Pro Fortran 90/95 v8.2 error or warning
165 style.errorlist.18=fore:#FF0000
167 style.errorlist.19=fore:#FF0000
168 # Java runtime stack trace
169 style.errorlist.20=fore:#FF0000
170 # Text matched with find in files and message part of GCC errors
171 style.errorlist.21=fore:#FFFFFF
172 # GCC showing include path to following error
173 style.errorlist.22=fore:#800080
175 style.errorlist.23=fore:#FFFFFF,notvisible,back:#FFFFFF,$(error.background)
176 # Escape sequence unknown
177 style.errorlist.24=back:#FFE0A0
178 # Ensures that spacing is not affected by line number styles
179 style.errorlist.33=$(font.small)
181 style.errorlist.40=fore:#FFFFFF,$(error.background)
182 style.errorlist.41=fore:#800000,$(error.background)
183 style.errorlist.42=fore:#008000,$(error.background)
184 style.errorlist.43=fore:#808000,$(error.background)
185 style.errorlist.44=fore:#000080,$(error.background)
186 style.errorlist.45=fore:#800080,$(error.background)
187 style.errorlist.46=fore:#008080,$(error.background)
188 style.errorlist.47=fore:#A0A0A0,$(error.background)
190 style.errorlist.48=fore:#FFFFFF,bold,$(error.background)
191 style.errorlist.49=fore:#800000,bold,$(error.background)
192 style.errorlist.50=fore:#008000,bold,$(error.background)
193 style.errorlist.51=fore:#808000,bold,$(error.background)
194 style.errorlist.52=fore:#000080,bold,$(error.background)
195 style.errorlist.53=fore:#800080,bold,$(error.background)
196 style.errorlist.54=fore:#008080,bold,$(error.background)
197 style.errorlist.55=fore:#A0A0A0,bold,$(error.background)
199 error.background=back:#FFF7E7,eolfilled
201 lexer.errorlist.value.separate=1
202 #lexer.errorlist.escape.sequences=1
207 style.diff.0=fore:#FFFFFF
208 # Comment (part before "diff ..." or "--- ..." and , Only in ..., Binary file...)
209 style.diff.1=fore:#007F00
211 style.diff.2=fore:#7F7F00
212 # Source file (--- ...) and Destination file (+++ ...)
213 style.diff.3=fore:#7F0000
214 # Position setting (@@ ...)
215 style.diff.4=fore:#7F007F
216 # Line removal (-...)
217 style.diff.5=fore:#007F7F
218 # Line addition (+...)
219 style.diff.6=fore:#00007F
221 style.diff.7=fore:#7F7F7F
223 command.build.makefile=make
224 command.build.*.mak=make
226 command.help.*.properties="file://$(SciteDefaultHome)/SciTEDoc.html#property-$(CurrentSelection)"
227 command.help.subsystem.*.properties=2
230 command.go.*.bat="$(FileNameExt)"
231 command.name.0.*.bat=Execute Selection
232 command.0.*.bat=$(CurrentSelection)
233 command.name.1.*.mak=nmake
234 command.1.*.mak=nmake -f $(FileNameExt)