1 | # Global initialisation file for SciTE |
---|
2 | # For Linux, place in $prefix/share/scite |
---|
3 | # For Windows, place in same directory as SciTE.EXE (or Sc1.EXE) |
---|
4 | # Documentation at http://www.scintilla.org/SciTEDoc.html |
---|
5 | |
---|
6 | # Globals |
---|
7 | |
---|
8 | # Many of Bruce's customized settings (most of the ones that |
---|
9 | # affect the user interface) can be turned off by commenting |
---|
10 | # out this next line, or changing it to 0. |
---|
11 | # |
---|
12 | USE_CUSTOM_SETTINGS=1 |
---|
13 | |
---|
14 | |
---|
15 | # Window sizes and visibility |
---|
16 | if PLAT_WIN |
---|
17 | position.left=0 |
---|
18 | position.top=0 |
---|
19 | if PLAT_GTK |
---|
20 | position.left=5 |
---|
21 | position.top=22 |
---|
22 | position.width=576 |
---|
23 | position.height=740 |
---|
24 | if USE_CUSTOM_SETTINGS |
---|
25 | position.width=600 |
---|
26 | position.height=660 |
---|
27 | #position.tile=1 |
---|
28 | #full.screen.hides.menu=1 |
---|
29 | #minimize.to.tray=1 |
---|
30 | split.vertical=1 |
---|
31 | if USE_CUSTOM_SETTINGS |
---|
32 | split.vertical=0 |
---|
33 | #output.horizontal.size=200 |
---|
34 | #output.vertical.size=60 |
---|
35 | #output.initial.hide=1 |
---|
36 | #horizontal.scrollbar=0 |
---|
37 | horizontal.scroll.width=2200 |
---|
38 | #horizontal.scroll.width.tracking=0 |
---|
39 | #output.horizontal.scrollbar=0 |
---|
40 | #output.horizontal.scroll.width=10000 |
---|
41 | #output.horizontal.scroll.width.tracking=0 |
---|
42 | #output.scroll=0 |
---|
43 | #error.select.line=1 |
---|
44 | #end.at.last.line=0 |
---|
45 | tabbar.visible=1 |
---|
46 | #tabbar.hide.one=1 |
---|
47 | #tabbar.multiline=1 |
---|
48 | #toolbar.visible=1 |
---|
49 | #toolbar.detachable=1 |
---|
50 | #toolbar.usestockicons=1 |
---|
51 | #menubar.detachable=1 |
---|
52 | #undo.redo.lazy=1 |
---|
53 | #statusbar.visible=1 |
---|
54 | if USE_CUSTOM_SETTINGS |
---|
55 | tabbar.visible=1 |
---|
56 | tabbar.hide.one=1 |
---|
57 | tabbar.multiline=1 |
---|
58 | toolbar.visible=1 |
---|
59 | statusbar.visible=1 |
---|
60 | #fileselector.width=800 |
---|
61 | #fileselector.height=600 |
---|
62 | #magnification=-1 |
---|
63 | #output.magnification=-1 |
---|
64 | |
---|
65 | # Sizes and visibility in edit pane |
---|
66 | #line.margin.visible=1 |
---|
67 | line.margin.width=4 |
---|
68 | margin.width=16 |
---|
69 | if USE_CUSTOM_SETTINGS |
---|
70 | line.margin.visible=1 |
---|
71 | line.margin.width=3+ |
---|
72 | margin.width=0 |
---|
73 | #fold.margin.width=16 |
---|
74 | #fold.margin.colour=#FF0000 |
---|
75 | #fold.margin.highlight.colour=#0000FF |
---|
76 | #blank.margin.left=4 |
---|
77 | #blank.margin.right=4 |
---|
78 | buffered.draw=1 |
---|
79 | #two.phase.draw=0 |
---|
80 | use.palette=0 |
---|
81 | |
---|
82 | # Element styles |
---|
83 | #view.eol=1 |
---|
84 | #control.char.symbol=. |
---|
85 | caret.period=500 |
---|
86 | view.whitespace=0 |
---|
87 | if USE_CUSTOM_SETTINGS |
---|
88 | view.whitespace=1 |
---|
89 | view.indentation.whitespace=1 |
---|
90 | view.indentation.guides=1 |
---|
91 | view.indentation.examine=3 |
---|
92 | highlight.indentation.guides=1 |
---|
93 | #caret.fore=#FF0000 |
---|
94 | #caret.width=2 |
---|
95 | #caret.line.back=#FFFED8 |
---|
96 | #caret.line.back.alpha=63 |
---|
97 | edge.column=200 |
---|
98 | edge.mode=0 |
---|
99 | edge.colour=#C0DCC0 |
---|
100 | braces.check=1 |
---|
101 | braces.sloppy=1 |
---|
102 | #selection.fore=#006000 |
---|
103 | # DADADA used as background because it yields standard silver C0C0C0 |
---|
104 | # on low colour displays and a reasonable light grey on higher bit depths |
---|
105 | selection.alpha=30 |
---|
106 | selection.back=#000000 |
---|
107 | #whitespace.fore=#FF0000 |
---|
108 | if USE_CUSTOM_SETTINGS |
---|
109 | whitespace.fore=#E8E8E8 |
---|
110 | #whitespace.back=#FFF0F0 |
---|
111 | #error.marker.fore=#0000A0 |
---|
112 | #error.marker.back=#DADAFF |
---|
113 | #bookmark.fore=#808000 |
---|
114 | #bookmark.back=#FFFFA0 |
---|
115 | #bookmark.alpha= |
---|
116 | #find.mark=#0000FF |
---|
117 | |
---|
118 | # Checking |
---|
119 | are.you.sure=1 |
---|
120 | #are.you.sure.for.build=1 |
---|
121 | #save.all.for.build=1 |
---|
122 | #quit.on.close.last=1 |
---|
123 | #load.on.activate=1 |
---|
124 | #save.on.deactivate=1 |
---|
125 | #are.you.sure.on.reload=1 |
---|
126 | #reload.preserves.undo=1 |
---|
127 | if USE_CUSTOM_SETTINGS |
---|
128 | load.on.activate=1 |
---|
129 | reload.preserves.undo=1 |
---|
130 | #check.if.already.open=1 |
---|
131 | default.file.ext=.cxx |
---|
132 | if USE_CUSTOM_SETTINGS |
---|
133 | default.file.ext=.txt |
---|
134 | #source.default.extensions=.h|.cxx|.bat |
---|
135 | #title.full.path=1 |
---|
136 | #title.show.buffers=1 |
---|
137 | if USE_CUSTOM_SETTINGS |
---|
138 | title.show.buffers=1 |
---|
139 | save.recent=1 |
---|
140 | save.session=1 |
---|
141 | session.bookmarks=1 |
---|
142 | #session.folds=1 |
---|
143 | #open.dialog.in.file.directory=1 |
---|
144 | if USE_CUSTOM_SETTINGS |
---|
145 | open.dialog.in.file.directory=1 |
---|
146 | #strip.trailing.spaces=1 |
---|
147 | #ensure.final.line.end=1 |
---|
148 | #ensure.consistent.line.ends=1 |
---|
149 | #save.deletes.first=1 |
---|
150 | buffers=30 |
---|
151 | #buffers.zorder.switching=1 |
---|
152 | if USE_CUSTOM_SETTINGS |
---|
153 | buffers=30 |
---|
154 | buffers.zorder.switching=0 |
---|
155 | #api.*.cxx=d:\api\w.api |
---|
156 | #win95.death.delay=1000 |
---|
157 | #locale.properties=locale.de.properties |
---|
158 | #translation.missing=*** |
---|
159 | #read.only=1 |
---|
160 | #max.file.size=1 |
---|
161 | |
---|
162 | # Indentation |
---|
163 | tabsize=8 |
---|
164 | indent.size=8 |
---|
165 | use.tabs=1 |
---|
166 | #indent.auto=1 |
---|
167 | indent.automatic=1 |
---|
168 | indent.opening=0 |
---|
169 | indent.closing=0 |
---|
170 | #tab.indents=0 |
---|
171 | #backspace.unindents=0 |
---|
172 | if USE_CUSTOM_SETTINGS |
---|
173 | tabsize=4 |
---|
174 | indent.size=4 |
---|
175 | use.tabs=0 |
---|
176 | tab.indents=0 |
---|
177 | backspace.unindents=1 |
---|
178 | |
---|
179 | # Wrapping of long lines |
---|
180 | #wrap=1 |
---|
181 | #wrap.style=2 |
---|
182 | #cache.layout=3 |
---|
183 | #output.wrap=1 |
---|
184 | #output.cache.layout=3 |
---|
185 | #wrap.visual.flags=3 |
---|
186 | #wrap.visual.flags.location=3 |
---|
187 | #wrap.visual.startindent=4 |
---|
188 | if USE_CUSTOM_SETTINGS |
---|
189 | cache.layout=1 |
---|
190 | output.wrap=1 |
---|
191 | output.cache.layout=0 |
---|
192 | wrap.visual.flags=1 |
---|
193 | wrap.visual.flags.location=3 |
---|
194 | wrap.visual.startindent=0 |
---|
195 | |
---|
196 | # Folding |
---|
197 | # enable folding, and show lines below when collapsed. |
---|
198 | fold=1 |
---|
199 | fold.compact=1 |
---|
200 | fold.flags=16 |
---|
201 | fold.symbols=1 |
---|
202 | #fold.on.open=1 |
---|
203 | fold.comment=1 |
---|
204 | fold.preprocessor=1 |
---|
205 | |
---|
206 | # Find and Replace |
---|
207 | # Internal search always available with recursive capability so use in preference to external tool |
---|
208 | find.command= |
---|
209 | |
---|
210 | # findstr is available on recent versions of Windows including 2000 |
---|
211 | # and is more flexible than the internal search |
---|
212 | if PLAT_WINNT |
---|
213 | find.command=findstr /I /P /R /S /N /G:/ $(find.files) |
---|
214 | find.input=$(find.what) |
---|
215 | |
---|
216 | if PLAT_WIN95 |
---|
217 | # If awk is available, this would work. It's not recursive, and |
---|
218 | # isn't smart like findstr about only processing text files, but |
---|
219 | # behaves similarly to the grep command. |
---|
220 | # But this is turned off now in favor of the internal search |
---|
221 | #find.command=awk -v OFS=: -f - $(find.files) |
---|
222 | #find.input=/$(find.what)/ { print FILENAME, FNR, $0; } |
---|
223 | |
---|
224 | if PLAT_GTK |
---|
225 | find.command=grep --line-number "$(find.what)" $(find.files) |
---|
226 | |
---|
227 | find.files=*.*|*.c *.cpp *.cxx *.h|*.bas *.cls *.frm *.dsr |
---|
228 | |
---|
229 | #find.in.files.close.on.find=0 |
---|
230 | #find.in.dot=1 |
---|
231 | #find.in.binary=1 |
---|
232 | #find.replace.matchcase=1 |
---|
233 | #find.replace.escapes=1 |
---|
234 | #find.replace.regexp=1 |
---|
235 | #find.replace.regexp.posix=1 |
---|
236 | #find.replace.wrap=0 |
---|
237 | #find.replacewith.focus=0 |
---|
238 | #find.replace.advanced=1 |
---|
239 | |
---|
240 | # Behaviour |
---|
241 | #eol.mode=LF |
---|
242 | eol.auto=1 |
---|
243 | clear.before.execute=0 |
---|
244 | #vc.home.key=1 |
---|
245 | #wrap.aware.home.end.keys=1 |
---|
246 | if USE_CUSTOM_SETTINGS |
---|
247 | vc.home.key=1 |
---|
248 | wrap.aware.home.end.keys=1 |
---|
249 | #autocompleteword.automatic=1 |
---|
250 | #autocomplete.choose.single=1 |
---|
251 | caret.policy.xslop=1 |
---|
252 | caret.policy.width=20 |
---|
253 | caret.policy.xstrict=0 |
---|
254 | caret.policy.xeven=0 |
---|
255 | caret.policy.xjumps=0 |
---|
256 | caret.policy.yslop=1 |
---|
257 | caret.policy.lines=1 |
---|
258 | caret.policy.ystrict=1 |
---|
259 | caret.policy.yeven=1 |
---|
260 | caret.policy.yjumps=0 |
---|
261 | #visible.policy.strict=1 |
---|
262 | #visible.policy.slop=1 |
---|
263 | #visible.policy.lines=4 |
---|
264 | #time.commands=1 |
---|
265 | #caret.sticky=1 |
---|
266 | #properties.directory.enable=1 |
---|
267 | |
---|
268 | # Status Bar |
---|
269 | statusbar.number=2 |
---|
270 | statusbar.text.1= line $(LineNumber), column $(ColumnNumber) ($(OverType)) ($(EOLMode)) $(FileAttr) - $(SelLength) chars selected |
---|
271 | statusbar.text.2=\ |
---|
272 | $(FileNameExt) (Total size: $(BufferLength) chars, $(NbOfLines) lines) |
---|
273 | |
---|
274 | if PLAT_WIN |
---|
275 | command.scite.help="file://$(SciteDefaultHome)\SciTEDoc.html" |
---|
276 | command.scite.help.subsystem=2 |
---|
277 | if PLAT_GTK |
---|
278 | command.print.*=a2ps "$(FileNameExt)" |
---|
279 | command.scite.help=netscape "file://$(SciteDefaultHome)/SciTEDoc.html" |
---|
280 | |
---|
281 | # Internationalisation |
---|
282 | # Japanese input code page 932 and ShiftJIS character set 128 |
---|
283 | #code.page=932 |
---|
284 | #character.set=128 |
---|
285 | # Unicode |
---|
286 | #code.page=65001 |
---|
287 | code.page=0 |
---|
288 | #character.set=204 |
---|
289 | # Required for Unicode to work on GTK+: |
---|
290 | #LC_CTYPE=en_US.UTF-8 |
---|
291 | #output.code.page=65001 |
---|
292 | |
---|
293 | # Export |
---|
294 | #export.keep.ext=1 |
---|
295 | export.html.wysiwyg=1 |
---|
296 | #export.html.tabs=1 |
---|
297 | #export.html.folding=1 |
---|
298 | export.html.styleused=1 |
---|
299 | #export.html.title.fullpath=1 |
---|
300 | #export.rtf.tabs=1 |
---|
301 | #export.rtf.font.face=Arial |
---|
302 | #export.rtf.font.size=9 |
---|
303 | #export.rtf.tabsize=8 |
---|
304 | # Magnification (added to default screen font size) |
---|
305 | export.pdf.magnification=0 |
---|
306 | # Font: Courier, Helvetica or Times (Courier line-wraps) |
---|
307 | export.pdf.font=Helvetica |
---|
308 | # Page size (in points): width, height |
---|
309 | # E.g. Letter 612,792; A4 595,842; maximum 14400,14400 |
---|
310 | export.pdf.pagesize=595,842 |
---|
311 | # Margins (in points): left, right, top, bottom |
---|
312 | export.pdf.margins=72,72,72,72 |
---|
313 | export.xml.collapse.spaces=1 |
---|
314 | export.xml.collapse.lines=1 |
---|
315 | |
---|
316 | # Define values for use in the imported properties files |
---|
317 | chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |
---|
318 | chars.numeric=0123456789 |
---|
319 | chars.accented=������������������������������������������������������������������� |
---|
320 | # This is a better set for Russian: |
---|
321 | #chars.accented=�����������娸���������������������������������������������������� |
---|
322 | |
---|
323 | # The open.filter setting is only used on Windows where the file selector has a menu of filters to apply |
---|
324 | # to the types of files seen when opening. |
---|
325 | # There is a limit (possibly 256 characters) to the length of a filter, |
---|
326 | # so not all source extensions can be in this setting. |
---|
327 | source.files=*.asm;*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hxx;*.hpp;\ |
---|
328 | *.idl;*.odl;*.cobra;*.cobraproj;*.rc;*.rc2;*.dlg;*.def;\ |
---|
329 | *.vb;*.vbs;*.bas;*.frm;*.cls;*.ctl;\ |
---|
330 | *.java;*.js;*.py;*.pl;*.rb;*.cgi;*.lua;*.conf;\ |
---|
331 | make*;*.mak;\ |
---|
332 | *.properties;*.html;*.xml;*.iface;*.bat;*.e |
---|
333 | |
---|
334 | if PLAT_WIN |
---|
335 | all.files=All Files (*.*)|*.*| |
---|
336 | if PLAT_GTK |
---|
337 | all.files=All Files (*)|*|Hidden Files (.*)|.*| |
---|
338 | open.filter=\ |
---|
339 | Source and Text Files|$(source.files);*.txt|\ |
---|
340 | $(all.files)\ |
---|
341 | $(filter.ada)\ |
---|
342 | $(filter.cobra)\ |
---|
343 | $(filter.cobraproj)\ |
---|
344 | $(filter.conf)\ |
---|
345 | $(filter.asm)\ |
---|
346 | $(filter.asn1)\ |
---|
347 | $(filter.ave)\ |
---|
348 | #$(filter.baan)\ |
---|
349 | $(filter.bash)\ |
---|
350 | $(filter.caml)\ |
---|
351 | $(filter.cmake)\ |
---|
352 | $(filter.cpp)\ |
---|
353 | #$(filter.ch)\ |
---|
354 | $(filter.css)\ |
---|
355 | $(filter.d)\ |
---|
356 | $(filter.eiffel)\ |
---|
357 | #$(filter.erlang)\ |
---|
358 | $(filter.fortran)\ |
---|
359 | $(filter.gap)\ |
---|
360 | $(filter.idl)\ |
---|
361 | $(filter.inno)\ |
---|
362 | $(filter.java)\ |
---|
363 | $(filter.js)\ |
---|
364 | #$(filter.kix)\ |
---|
365 | #$(filter.lout)\ |
---|
366 | $(filter.lua)\ |
---|
367 | #$(filter.matlab)\ |
---|
368 | #$(filter.metapost)\ |
---|
369 | #$(filter.mmixal)\ |
---|
370 | #$(filter.nncrontab)\ |
---|
371 | #$(filter.nsis)\ |
---|
372 | #$(filter.opal)\ |
---|
373 | $(filter.pascal)\ |
---|
374 | $(filter.perl)\ |
---|
375 | $(filter.php)\ |
---|
376 | #$(filter.pov)\ |
---|
377 | $(filter.prg)\ |
---|
378 | $(filter.properties)\ |
---|
379 | $(filter.ps)\ |
---|
380 | $(filter.python)\ |
---|
381 | $(filter.r)\ |
---|
382 | $(filter.ruby)\ |
---|
383 | $(filter.sql)\ |
---|
384 | #$(filter.specman)\ |
---|
385 | $(filter.tcl)\ |
---|
386 | $(filter.tex)\ |
---|
387 | $(filter.text)\ |
---|
388 | $(filter.vb)\ |
---|
389 | $(filter.web) |
---|
390 | #\ |
---|
391 | #$(filter.yaml)\ |
---|
392 | #$(filter.verilog)\ |
---|
393 | #$(filter.vhdl) |
---|
394 | |
---|
395 | # Give symbolic names to the set of fonts used in the standard styles. |
---|
396 | if PLAT_WIN |
---|
397 | font.lucida.mono=font:Lucida Console,size:9 |
---|
398 | font.lucida.sans=font:Lucida Sans Unicode,size:10 |
---|
399 | |
---|
400 | font.base=font:Lucida Sans Unicode,size:10 |
---|
401 | font.small=font:Lucida Sans Unicode,size:8 |
---|
402 | font.comment=font:Comic Sans MS,size:9,italics |
---|
403 | font.code.comment.box=$(font.comment) |
---|
404 | font.code.comment.line=$(font.comment) |
---|
405 | font.code.comment.doc=$(font.comment) |
---|
406 | font.code.comment.nested=$(font.comment) |
---|
407 | font.text=font:Times New Roman,size:11 |
---|
408 | font.text.comment=font:Lucida Sans Unicode,size:10 |
---|
409 | font.embedded.base=font:Lucida Sans Unicode,size:10 |
---|
410 | font.embedded.comment=font:Comic Sans MS,size:8,italics |
---|
411 | font.monospace=font:Lucida Console,size:9 |
---|
412 | font.vbs=font:Lucida Sans Unicode,size:9 |
---|
413 | font.js=font:Courier New,size:9 |
---|
414 | |
---|
415 | if PLAT_GTK |
---|
416 | font.lucida.mono=font:lucidatypewriter,size:12 |
---|
417 | font.lucida.sans=font:lucida,size:12 |
---|
418 | |
---|
419 | font.base=font:lucidatypewriter,size:12 |
---|
420 | font.small=font:lucidatypewriter,size:10 |
---|
421 | font.comment=font:new century schoolbook,size:12 |
---|
422 | font.code.comment.box=$(font.comment) |
---|
423 | font.code.comment.line=$(font.comment) |
---|
424 | font.code.comment.doc=$(font.comment) |
---|
425 | font.code.comment.nested=$(font.comment) |
---|
426 | font.text=font:times,size:14 |
---|
427 | font.text.comment=font:lucidatypewriter,size:10 |
---|
428 | font.embedded.base=font:lucidatypewriter,size:12 |
---|
429 | font.embedded.comment=font:lucidatypewriter,size:12 |
---|
430 | font.monospace=font:courier,size:12 |
---|
431 | font.vbs=font:new century schoolbook,size:12 |
---|
432 | font.js=font:courier,size:10 |
---|
433 | |
---|
434 | # Custom monospaced font |
---|
435 | # |
---|
436 | # Lucida Console has a synthesized bold font which doesn't |
---|
437 | # quite match the spacing of the non-bold font (so isn't |
---|
438 | # exactly monospaced when keywords are involved). |
---|
439 | # |
---|
440 | # Nevertheless, I still like it better than Courier. |
---|
441 | |
---|
442 | if USE_CUSTOM_SETTINGS |
---|
443 | font.monospace=$(font.lucida.mono) |
---|
444 | |
---|
445 | # When "Use Monospaced Font" is active, the font settings |
---|
446 | # from font.monospace are applied after the ones specified |
---|
447 | # on each individual style. |
---|
448 | |
---|
449 | # To start in monospaced mode, set the following property, |
---|
450 | # which is specific to the Bruce Dodson's SciTE. |
---|
451 | |
---|
452 | if USE_CUSTOM_SETTINGS |
---|
453 | start.in.monospaced.mode=1 |
---|
454 | |
---|
455 | |
---|
456 | |
---|
457 | |
---|
458 | |
---|
459 | # Old GTK+ font settings are faster but not antialiased |
---|
460 | #~ font.base=font:lucidatypewriter,size:12 |
---|
461 | #~ font.small=font:lucidatypewriter,size:10 |
---|
462 | #~ font.comment=font:new century schoolbook,size:12 |
---|
463 | #~ font.code.comment.box=$(font.comment) |
---|
464 | #~ font.code.comment.line=$(font.comment) |
---|
465 | #~ font.code.comment.doc=$(font.comment) |
---|
466 | #~ font.text=font:times,size:14 |
---|
467 | #~ font.text.comment=font:lucidatypewriter,size:10 |
---|
468 | #~ font.embedded.base=font:lucidatypewriter,size:12 |
---|
469 | #~ font.embedded.comment=font:lucidatypewriter,size:12 |
---|
470 | #~ font.monospace=font:courier,size:12 |
---|
471 | #~ font.vbs=font:new century schoolbook,size:12 |
---|
472 | |
---|
473 | # Give symbolic names to the set of colours used in the standard styles. |
---|
474 | colour.code.comment.box=fore:#007F00 |
---|
475 | colour.code.comment.line=fore:#007F00 |
---|
476 | colour.code.comment.doc=fore:#3F703F |
---|
477 | colour.code.comment.nested=fore:#A0C0A0 |
---|
478 | colour.text.comment=fore:#0000FF,back:#D0F0D0 |
---|
479 | colour.other.comment=fore:#007F00 |
---|
480 | colour.embedded.comment=back:#E0EEFF |
---|
481 | colour.embedded.js=back:#F0F0FF |
---|
482 | colour.notused=back:#FF0000 |
---|
483 | |
---|
484 | colour.number=fore:#007F7F |
---|
485 | colour.keyword=fore:#00007F |
---|
486 | colour.string=fore:#7F007F |
---|
487 | colour.char=fore:#7F007F |
---|
488 | colour.operator=fore:#000000 |
---|
489 | colour.preproc=fore:#7F7F00 |
---|
490 | colour.error=fore:#FFFF00,back:#FF0000 |
---|
491 | |
---|
492 | # Global default styles for all languages |
---|
493 | # Default |
---|
494 | style.*.32=$(font.base) |
---|
495 | # Line number |
---|
496 | style.*.33=back:#C0C0C0,$(font.lucida.sans) |
---|
497 | # Brace highlight |
---|
498 | style.*.34=fore:#0000FF,bold |
---|
499 | # Brace incomplete highlight |
---|
500 | style.*.35=fore:#FF0000,bold |
---|
501 | # Control characters |
---|
502 | style.*.36= |
---|
503 | # Indentation guides |
---|
504 | style.*.37=fore:#C0C0C0,back:#FFFFFF |
---|
505 | if USE_CUSTOM_SETTINGS |
---|
506 | style.*.37=fore:#DADADA,back:#FFFFFF |
---|
507 | |
---|
508 | # Printing - only works on Windows |
---|
509 | if PLAT_WIN |
---|
510 | #print.colour.mode=1 |
---|
511 | print.magnification=-1 |
---|
512 | # Setup: left, right, top, bottom margins, in local units: |
---|
513 | # hundredths of millimeters or thousandths of inches |
---|
514 | print.margins=500,500,500,500 |
---|
515 | # Header/footer: |
---|
516 | # && = &; &p = current page |
---|
517 | # &f = file name; &F = full path |
---|
518 | # &d = file date; &D = current date |
---|
519 | # &t = file time; &T = full time |
---|
520 | print.header.format=$(FileNameExt) � Printed on $(CurrentDate), $(CurrentTime) � Page $(CurrentPage) |
---|
521 | print.footer.format=$(FilePath) � File date: $(FileDate) � File time: $(FileTime) |
---|
522 | # Header/footer style |
---|
523 | print.header.style=font:Arial,size:12,bold |
---|
524 | print.footer.style=font:Arial Narrow,size:10,italics |
---|
525 | |
---|
526 | # Warnings - only works on Windows and needs to be pointed at files on machine |
---|
527 | #if PLAT_WIN |
---|
528 | # warning.findwrapped=100,E:\Windows\Media\SFX\Boing.wav |
---|
529 | # warning.notfound=0,Effect.wav |
---|
530 | # warning.wrongfile=0,Glass.wav |
---|
531 | # warning.executeok=0,Fanfare.wav |
---|
532 | # warning.executeko=100,GlassBreak.wav |
---|
533 | # warning.nootherbookmark=100,Boing2.wav |
---|
534 | |
---|
535 | # Define the Lexer menu, |
---|
536 | # Each item contains three parts: menu string | file extension | key |
---|
537 | # The only keys allowed currently are based on F-keys and alphabetic keys and look like |
---|
538 | # [Ctrl+][Shift+][Fn|a] such as F12 or Ctrl+Shift+D. |
---|
539 | # A '&' may be placed before a letter to be used as an accelerator. This does not work on GTK+. |
---|
540 | menu.language=\ |
---|
541 | #FreeBasic|bas||\ |
---|
542 | Text|txt|Shift+F11|\ |
---|
543 | Ada|ads||\ |
---|
544 | #Apache Confi&g|conf||\ |
---|
545 | Assembler|asm||\ |
---|
546 | #ASN.1|asn1||\ |
---|
547 | Avenue|ave||\ |
---|
548 | #Baan|bc||\ |
---|
549 | &Batch|bat||\ |
---|
550 | #Bullant|ant||\ |
---|
551 | &C / C++|c||\ |
---|
552 | Cobra|cobra||\ |
---|
553 | Cobra Project|cobraproj||\ |
---|
554 | #CMake|cmake||\ |
---|
555 | C&#|cs||\ |
---|
556 | #Csound|orc||\ |
---|
557 | CSS|css||\ |
---|
558 | D|d||\ |
---|
559 | &Diff / Patch|diff||\ |
---|
560 | #&Eiffel|e||\ |
---|
561 | #Erlang|erl||\ |
---|
562 | &Errorlist|err||\ |
---|
563 | #FlagShip|prg||\ |
---|
564 | #Forth|forth||\ |
---|
565 | &Fortran|f90||\ |
---|
566 | #Gap|g||\ |
---|
567 | H&ypertext|html|F12|\ |
---|
568 | #&InnoSetup|iss||\ |
---|
569 | &Java|java||\ |
---|
570 | Java&Script|js||\ |
---|
571 | #&Kix|kix||\ |
---|
572 | TeX|tex||\ |
---|
573 | Lisp|lisp||\ |
---|
574 | #Lot|lot||\ |
---|
575 | #Lout|lt||\ |
---|
576 | Lu&a|lua||\ |
---|
577 | #Matlab|m.matlab||\ |
---|
578 | &Makefile|mak|Ctrl+Shift+F11|\ |
---|
579 | #MetaPost|mp||\ |
---|
580 | #MMIXAL|mms||\ |
---|
581 | #&nnCron crontab|tab||\ |
---|
582 | #NSIS|nsis||\ |
---|
583 | #Objective Caml|ml||\ |
---|
584 | #Octave|m.octave||\ |
---|
585 | #Opal|impl||\ |
---|
586 | Pascal|pas||\ |
---|
587 | Pe&rl|pl||\ |
---|
588 | P&HP|php||\ |
---|
589 | P&L/SQL|spec||\ |
---|
590 | &Properties|properties||\ |
---|
591 | P&ostScript|ps||\ |
---|
592 | #P&OV-Ray SDL|pov||\ |
---|
593 | Pytho&n|py||\ |
---|
594 | #R|R||\ |
---|
595 | Reso&urce|rc||\ |
---|
596 | Ruby|rb||\ |
---|
597 | Shell|sh||\ |
---|
598 | S&QL|sql||\ |
---|
599 | #Specman|e||\ |
---|
600 | &TCL|tcl||\ |
---|
601 | &VB|vb||\ |
---|
602 | VBScr&ipt|vbs||\ |
---|
603 | #Verilog|v||\ |
---|
604 | #VHDL|vhd||\ |
---|
605 | &XML|xml|Shift+F12| |
---|
606 | #\ |
---|
607 | #YAML|yaml|| |
---|
608 | |
---|
609 | # User defined key commands |
---|
610 | user.shortcuts=\ |
---|
611 | Ctrl+F12|IDM_WRAP|\ |
---|
612 | Ctrl+Shift+V|IDM_PASTEANDDOWN|\ |
---|
613 | Ctrl+PageUp|IDM_PREVFILE|\ |
---|
614 | Ctrl+PageDown|IDM_NEXTFILE| |
---|
615 | |
---|
616 | #KeypadPlus|IDM_EXPAND|\ |
---|
617 | #KeypadMinus|IDM_BLOCK_COMMENT| |
---|
618 | |
---|
619 | #user.context.menu=\ |
---|
620 | #||\ |
---|
621 | #Next File|IDM_NEXTFILE|\ |
---|
622 | #Prev File|IDM_PREVFILE| |
---|
623 | |
---|
624 | # Import all the language specific properties files |
---|
625 | #import abaqus |
---|
626 | import ada |
---|
627 | import asm |
---|
628 | #import asn1 |
---|
629 | #import au3 |
---|
630 | import ave |
---|
631 | #import baan |
---|
632 | #import freebasic |
---|
633 | #import blitzbasic |
---|
634 | #import bullant |
---|
635 | import caml |
---|
636 | import cobra |
---|
637 | import cobraproj |
---|
638 | import conf |
---|
639 | import cpp |
---|
640 | #import cmake |
---|
641 | import d |
---|
642 | #import csound |
---|
643 | import css |
---|
644 | import eiffel |
---|
645 | #import erlang |
---|
646 | #import escript |
---|
647 | #import flagship |
---|
648 | #import forth |
---|
649 | import fortran |
---|
650 | #import gap |
---|
651 | import html |
---|
652 | #import inno |
---|
653 | #import kix |
---|
654 | import lisp |
---|
655 | #import lot |
---|
656 | #import lout |
---|
657 | import lua |
---|
658 | #import matlab |
---|
659 | #import metapost |
---|
660 | #import mmixal |
---|
661 | #import nncrontab |
---|
662 | #import nsis |
---|
663 | #import opal |
---|
664 | import others |
---|
665 | import pascal |
---|
666 | import perl |
---|
667 | #import pov |
---|
668 | import ps |
---|
669 | #import purebasic |
---|
670 | import python |
---|
671 | #import r |
---|
672 | import rebol |
---|
673 | import ruby |
---|
674 | #import scriptol |
---|
675 | #import smalltalk |
---|
676 | #import spice |
---|
677 | import sql |
---|
678 | #import specman |
---|
679 | import tcl |
---|
680 | #import tex |
---|
681 | import vb |
---|
682 | #import yaml |
---|
683 | #import verilog |
---|
684 | #import vhdl |
---|
685 | |
---|
686 | |
---|
687 | # * Please read the following to get started with Lua Scripting. |
---|
688 | # These properties only work if you're using a Lua-enabled build |
---|
689 | # of SciTE. |
---|
690 | |
---|
691 | |
---|
692 | # The startup script is run to initialise SciTE. This property |
---|
693 | # is checked, and the script run only run once - at startup time. |
---|
694 | # Afterward, whenever you switch buffers, Lua is restored to the |
---|
695 | # state established by this script. Unless the ext.lua.reset |
---|
696 | # property is set, you need to restart SciTE in order to see |
---|
697 | # changes in this property or in the underlying script file. |
---|
698 | # |
---|
699 | ext.lua.startup.script=$(SciteDefaultHome)\SciTEStartup.lua |
---|
700 | |
---|
701 | |
---|
702 | # Normally, when the global state needs to be restored, this |
---|
703 | # is done without re-evaluating the startup script. However, |
---|
704 | # if you are in the process of editing the startup script, |
---|
705 | # you may want to re-execute it without having to restart |
---|
706 | # SciTE. |
---|
707 | |
---|
708 | # ext.lua.auto.reload will immediately re-initialize the |
---|
709 | # global scope if the startup script or extension script |
---|
710 | # is saved from within SciTE. This may have side effects. |
---|
711 | # However, it doesn't do anything unless you have been |
---|
712 | # editing the startup script, so I would just leave it on. |
---|
713 | # |
---|
714 | ext.lua.auto.reload=1 |
---|
715 | |
---|
716 | # ext.lua.reset will cause the Lua global environment to be |
---|
717 | # cleared and reloaded whenever you switch buffers or open |
---|
718 | # a new file. As such, it has a different set of side |
---|
719 | # effects than auto.reload. In some situations it will make |
---|
720 | # sense for both auto.reload and reset to be enabled. |
---|
721 | # |
---|
722 | #ext.lua.reset=1 |
---|
723 | |
---|
724 | |
---|
725 | # When errors occur in Lua, the error message is displayed |
---|
726 | # using the _ALERT function. (By default, _ALERT is an alias for |
---|
727 | # print.) Error messages generally contain a descriptive message, |
---|
728 | # including the line and file where the error occurred. |
---|
729 | # |
---|
730 | # If debug.traceback is set to 1, this will cause SciTE to append |
---|
731 | # a trace of the call stack onto the error message. It does this |
---|
732 | # by calling the _TRACEBACK function. (By default, _TRACEBACK is |
---|
733 | # an alias for debug.traceback.) |
---|
734 | # |
---|
735 | #ext.lua.debug.traceback=1 |
---|
736 | |
---|
737 | |
---|
738 | # The extension script is used to set up the Lua environment |
---|
739 | # for a specific buffer in SciTE. This property is optional, |
---|
740 | # and can be used to define different behavior for each file |
---|
741 | # type. Furthermore, if a simple filename is used rather |
---|
742 | # than an absolute path, then SciTE will look for the file |
---|
743 | # in the local folder for the buffer (like SciTE.properties) |
---|
744 | # before falling back to $(SciTEDefaultHome). |
---|
745 | # |
---|
746 | #extension.*=SciTE.lua |
---|
747 | |
---|
748 | |
---|
749 | #This is the same as the next two together. |
---|
750 | #Probably comment out the others if you uncomment this. |
---|
751 | #command.name.31.*=Clean Document Whitespace |
---|
752 | #command.mode.31.*=subsystem:lua,savebefore:no,groupundo |
---|
753 | #command.shortcut.31.*=Alt+Shift+I |
---|
754 | #command.31.*=cleanDocWhitespace |
---|
755 | |
---|
756 | command.name.31.*=Fix Indentation |
---|
757 | command.mode.31.*=subsystem:lua,savebefore:no,groupundo |
---|
758 | command.shortcut.31.*=Alt+Shift+I |
---|
759 | command.31.*=fixIndentation |
---|
760 | |
---|
761 | command.name.32.*=Strip Trailing Spaces |
---|
762 | command.mode.32.*=subsystem:lua,savebefore:no,groupundo |
---|
763 | command.shortcut.32.*=Alt+Shift+S |
---|
764 | command.32.*=stripTrailingSpaces |
---|
765 | |
---|