OSDN Git Service

V161
[fast-forth/master.git] / config / scite / others.properties
1 # Define SciTE settings for other simple files.
2
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
8
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;
13
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)|
18
19 *filter.properties=$(filter.properties)
20 *filter.text=$(filter.text)
21
22 lexer.$(file.patterns.props)=props
23 lexer.$(file.patterns.batch)=batch
24 lexer.*.err=errorlist
25 lexer.$(file.patterns.make)=makefile
26 lexer.*.iface=makefile
27 lexer.$(file.patterns.diff)=diff
28
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)|
35
36 word.characters.$(file.patterns.text)=$(chars.alpha)$(chars.numeric)$(chars.accented)-'
37
38 colour.other.operator=fore:#B06000
39
40 # Properties styles
41
42 # Default
43 style.props.0=
44 # Comment
45 style.props.1=fore:#007F7F,$(font.comment)
46 # Section
47 style.props.2=$(colour.string),back:#E0F0F0,eolfilled
48 # Assignment operator
49 style.props.3=$(colour.other.operator)
50 # Default value (@)
51 style.props.4=$(colour.preproc)
52 # Key
53 style.props.5=
54 # Matched Operators
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
62
63 # Batch styles
64
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.
70 keywordclass.batch=\
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 \
77 verify vol
78 keywords.$(file.patterns.batch)=$(keywordclass.batch)
79
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
83
84 # Default
85 style.batch.0=fore:#000000
86 # Comment (rem or ::)
87 style.batch.1=fore:#007F00,$(font.comment)
88 # Keywords
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)
94 # External commands
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
98 # Operator: * ? < > |
99 style.batch.7=fore:#000000
100
101 comment.block.batch=REM ~
102
103 # Makefile styles
104
105 # Default
106 style.makefile.0=fore:#000000
107 # Comment: #
108 style.makefile.1=$(colour.other.comment),$(font.code.comment.box)
109 # Pre-processor or other comment: !
110 style.makefile.2=$(colour.preproc)
111 # Variable: $(x)
112 style.makefile.3=fore:#000080
113 # Operator
114 style.makefile.4=$(colour.other.operator)
115 # Target
116 style.makefile.5=fore:#A00000
117 # Error
118 style.makefile.9=$(colour.error),eolfilled
119 # Matched Operators
120 style.makefile.34=fore:#0000FF,notbold
121 style.makefile.35=fore:#FF0000,notbold
122
123 comment.block.makefile=#~
124
125 # Error list styles
126
127 style.errorlist.32=fore:#B06000,$(font.small)
128 # Default
129 style.errorlist.0=fore:#FFFFFF
130 # python Error
131 style.errorlist.1=fore:#FF0000
132 # gcc Error
133 style.errorlist.2=fore:#800080
134 # Microsoft Error
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
142 # .NET tracebacks
143 style.errorlist.7=fore:#FF0000
144 # Lua error and warning messages
145 style.errorlist.8=fore:#FF0000
146 # ctags
147 style.errorlist.9=fore:#FF00FF
148 # diff changed !
149 style.errorlist.10=fore:#007F00
150 # diff addition +
151 style.errorlist.11=fore:#00007F
152 # diff deletion -
153 style.errorlist.12=fore:#007F7F
154 # diff message ---
155 style.errorlist.13=fore:#7F0000
156 # PHP error
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
166 # HTML Tidy
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
174 # Escape sequence
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)
180 # Basic colours
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)
189 # Intense colours
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)
198
199 error.background=back:#FFF7E7,eolfilled
200
201 lexer.errorlist.value.separate=1
202 #lexer.errorlist.escape.sequences=1
203
204 # Difference styles
205
206 # Default
207 style.diff.0=fore:#FFFFFF
208 # Comment (part before "diff ..." or "--- ..." and , Only in ..., Binary file...)
209 style.diff.1=fore:#007F00
210 # Command (diff ...)
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
220 # Line change (!...)
221 style.diff.7=fore:#7F7F7F
222
223 command.build.makefile=make
224 command.build.*.mak=make
225
226 command.help.*.properties="file://$(SciteDefaultHome)/SciTEDoc.html#property-$(CurrentSelection)"
227 command.help.subsystem.*.properties=2
228
229 if PLAT_WIN
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)