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# Window sizes and visibility
9if PLAT_WIN
10	position.left=0
11	position.top=0
12if PLAT_GTK
13	position.left=5
14	position.top=22
15position.width=$(scale 576)
16position.height=$(scale 740)
17#position.maximize=1
18#position.tile=1
19#full.screen.hides.menu=1
20#minimize.to.tray=1
21split.vertical=1
22#split.wide=1
23#output.horizontal.size=200
24#output.vertical.size=60
25#output.initial.hide=1
26#horizontal.scrollbar=0
27#horizontal.scroll.width=10000
28#horizontal.scroll.width.tracking=0
29#output.horizontal.scrollbar=0
30#output.horizontal.scroll.width=10000
31#output.horizontal.scroll.width.tracking=0
32#output.scroll=0
33#error.select.line=1
34#end.at.last.line=0
35tabbar.visible=1
36#tabbar.hide.one=1
37#tabbar.hide.index=1
38#tabbar.multiline=1
39#toolbar.visible=1
40#toolbar.usestockicons=1
41#toolbar.large=1
42#menubar.detachable=1
43#undo.redo.lazy=1
44#statusbar.visible=1
45#fileselector.width=800
46#fileselector.height=600
47#fileselector.show.hidden=1
48#magnification=-1
49#output.magnification=-1
50
51# Sizes and visibility in edit pane
52#line.margin.visible=1
53line.margin.width=4
54margin.width=$(scale 16)
55fold.margin.width=$(scale 14)
56#fold.margin.colour=#FF0000
57#fold.margin.highlight.colour=#0000FF
58#blank.margin.left=4
59#blank.margin.right=4
60#output.blank.margin.left=4
61buffered.draw=0
62#phases.draw=2
63if PLAT_WIN
64	technology=1
65#font.quality=3
66if PLAT_MAC
67	font.quality=3
68
69# Element styles
70#view.eol=1
71#control.char.symbol=.
72caret.period=500
73view.whitespace=0
74view.indentation.whitespace=1
75view.indentation.guides=1
76view.indentation.examine=3
77highlight.indentation.guides=1
78#caret.fore=#FF0000
79#caret.additional.blinks=0
80#caret.style=2
81#caret.width=2
82#caret.line.back=#FFFED8
83#caret.line.back.alpha=63
84edge.column=200
85edge.mode=0
86edge.colour=#C0DCC0
87braces.check=1
88braces.sloppy=1
89#selection.fore=#006000
90# DADADA used as background because it yields standard silver C0C0C0
91# on low colour displays and a reasonable light grey on higher bit depths
92if PLAT_WINNT
93	selection.alpha=32
94	selection.back=#000000
95if PLAT_GTK
96	selection.alpha=30
97	selection.back=#000000
98if PLAT_MAC
99	selection.alpha=32
100	selection.back=#000000
101#selection.additional.fore=#0000A0
102#selection.additional.back=#000080
103#selection.additional.alpha=20
104#selection.always.visible=1
105#selection.rectangular.switch.mouse=1
106#selection.multiple=0
107#selection.additional.typing=0
108#selection.multipaste=0
109#virtual.space=3
110#rectangular.selection.modifier=8
111#whitespace.fore=#FF0000
112#whitespace.back=#FFF0F0
113#error.marker.fore=#0000A0
114#error.marker.back=#DADAFF
115#error.inline=1
116bookmark.fore=#BE0000
117#bookmark.back=#FFFFA0
118#bookmark.alpha=
119#bookmark.symbol=3
120#find.mark=#0000FF
121#find.mark.indicator=style:compositionthick,colour:#FFB700,under
122#highlight.current.word=1
123#highlight.current.word.by.style=1
124#highlight.current.word.colour=#00D040
125#highlight.current.word.indicator=style:roundbox,colour:#0080FF,under,outlinealpha:140,fillalpha:80
126#indicators.alpha=63
127#indicators.under=1
128
129# Scripting
130ext.lua.startup.script=$(SciteUserHome)/SciTEStartup.lua
131ext.lua.auto.reload=1
132#ext.lua.reset=1
133
134# Checking
135are.you.sure=1
136#are.you.sure.for.build=1
137#save.all.for.build=1
138#quit.on.close.last=1
139#load.on.activate=1
140#save.on.deactivate=1
141#are.you.sure.on.reload=1
142#save.on.timer=20
143#reload.preserves.undo=1
144#check.if.already.open=1
145#temp.files.sync.load=1
146default.file.ext=.cxx
147#source.default.extensions=.h|.cxx|.bat
148#title.full.path=1
149#title.show.buffers=1
150#pathbar.visible=1
151#save.recent=1
152#save.session=1
153#session.bookmarks=1
154#session.folds=1
155#save.position=1
156#save.find=1
157#open.dialog.in.file.directory=1
158#strip.trailing.spaces=1
159#ensure.final.line.end=1
160#ensure.consistent.line.ends=1
161#save.deletes.first=1
162#save.check.modified.time=1
163buffers=100
164#buffers.zorder.switching=1
165#api.*.cxx=d:\api\w.api
166#locale.properties=locale.de.properties
167#translation.missing=***
168#read.only=1
169#read.only.indicator=1
170#background.open.size=20000
171#background.save.size=20000
172if PLAT_GTK
173	background.save.size=10000000
174#max.file.size=1
175file.size.large=100000000
176file.size.no.styles=10000000
177#lexilla.path=.
178
179# Indentation
180tabsize=8
181indent.size=8
182use.tabs=1
183#indent.auto=1
184indent.automatic=1
185indent.opening=0
186indent.closing=0
187#tab.indents=0
188#backspace.unindents=0
189
190# Wrapping of long lines
191#wrap=1
192#wrap.style=2
193#cache.layout=3
194#output.wrap=1
195#output.cache.layout=3
196#wrap.visual.flags=3
197#wrap.visual.flags.location=3
198#wrap.indent.mode=1
199#wrap.visual.startindent=4
200
201#idle.styling=1
202#output.idle.styling=1
203
204# Folding
205# enable folding, and show lines below when collapsed.
206fold=1
207fold.compact=1
208fold.flags=16
209fold.symbols=1
210#fold.fore=#000000
211#fold.back=#808080
212#fold.highlight=1
213#fold.highlight.colour=#00C0C0
214#fold.on.open=1
215fold.comment=1
216fold.preprocessor=1
217
218# Find and Replace
219# Internal search always available with recursive capability so use in preference to external tool
220find.command=
221# findstr is available on recent versions of Windows including 2000
222#if PLAT_WIN
223#	find.command=findstr /n /s $(find.what) $(find.files)
224#find.input=$(find.what)
225#if PLAT_GTK
226#	find.command=grep --line-number "$(find.what)" $(find.files)
227find.files=*.c *.cxx *.h
228#find.in.files.close.on.find=0
229#find.in.dot=1
230#find.in.binary=1
231#find.in.directory=
232#find.close.on.find=0
233#find.replace.matchcase=1
234#find.replace.escapes=1
235#find.replace.regexp=1
236#find.replace.regexp.posix=1
237#find.replace.regexp.cpp11=1
238#find.replace.wrap=0
239#find.replacewith.focus=0
240#find.replace.advanced=1
241find.use.strip=1
242#find.strip.incremental=1
243#find.indicator.incremental=style:compositionthick,colour:#FFB700,under
244replace.use.strip=1
245#replace.strip.incremental=1
246#strip.button.height=24
247#strip.shortcuts.enable=0
248
249# Behaviour
250#eol.mode=LF
251eol.auto=1
252clear.before.execute=0
253#vc.home.key=1
254#wrap.aware.home.end.keys=1
255#autocompleteword.automatic=1
256#autocomplete.choose.single=1
257#autocomplete.*.fillups=([
258#autocomplete.*.start.characters=.:
259#autocomplete.*.typesep=!
260caret.policy.xslop=1
261caret.policy.width=20
262caret.policy.xstrict=0
263caret.policy.xeven=0
264caret.policy.xjumps=0
265caret.policy.yslop=1
266caret.policy.lines=1
267caret.policy.ystrict=1
268caret.policy.yeven=1
269caret.policy.yjumps=0
270#visible.policy.strict=1
271#visible.policy.slop=1
272#visible.policy.lines=4
273#time.commands=1
274#caret.sticky=1
275#properties.directory.enable=1
276#editor.config.enable=1
277#save.path.suggestion=$(SciteUserHome)\note_$(TimeStamp).txt
278
279# Status Bar
280statusbar.number=4
281statusbar.text.1=\
282li=$(LineNumber) co=$(ColumnNumber) $(OverType) ($(EOLMode)) $(FileAttr)
283statusbar.text.2=\
284$(BufferLength) chars in $(NbOfLines) lines. Sel: $(SelLength) chars.
285statusbar.text.3=\
286Now is: Date=$(CurrentDate) Time=$(CurrentTime)
287statusbar.text.4=\
288$(FileNameExt) : $(FileDate) - $(FileTime) | $(FileAttr)
289
290if PLAT_WIN
291	command.scite.help="file:///usr/local/share/doc/scite\SciTEDoc.html"
292	command.scite.help.subsystem=2
293if PLAT_GTK
294	command.scite.help=xdg-open "file:///usr/local/share/doc/scite/SciTEDoc.html"
295
296# Internationalisation
297# Japanese input code page 932 and ShiftJIS character set 128
298#code.page=932
299#character.set=128
300# Unicode
301#code.page=65001
302code.page=0
303#character.set=204
304#command.discover.properties=python /home/user/FileDetect.py "$(FilePath)"
305# Forward LC_CTYPE to setlocale which may affect language support.
306#LC_CTYPE=en_US.UTF-8
307if PLAT_GTK
308	output.code.page=65001
309if PLAT_MAC
310	output.code.page=65001
311#ime.interaction=1
312#ime.autocomplete=1
313#accessibility=0
314
315# Export
316#export.keep.ext=1
317export.html.wysiwyg=1
318#export.html.tabs=1
319#export.html.folding=1
320export.html.styleused=1
321#export.html.title.fullpath=1
322#export.rtf.tabs=1
323#export.rtf.font.face=Arial
324#export.rtf.font.size=9
325#export.rtf.tabsize=8
326#export.rtf.wysiwyg=0
327#export.tex.title.fullpath=1
328# Magnification (added to default screen font size)
329export.pdf.magnification=0
330# Font: Courier, Helvetica or Times (Courier line-wraps)
331export.pdf.font=Helvetica
332# Page size (in points): width, height
333# E.g. Letter 612,792; A4 595,842; maximum 14400,14400
334export.pdf.pagesize=595,842
335# Margins (in points): left, right, top, bottom
336export.pdf.margins=72,72,72,72
337export.xml.collapse.spaces=1
338export.xml.collapse.lines=1
339
340# Define values for use in the imported properties files
341chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
342chars.numeric=0123456789
343chars.accented=�������������������������������������������������������������������
344# This is a better set for Russian:
345#chars.accented=�����������娸����������������������������������������������������
346
347# The open.filter setting is used in the file selector which has a menu of filters to apply
348# to the types of files seen when opening.
349
350# Gather all settings with "*source.patterns." prefix from all active .properties files
351source.files=$(star *source.patterns.)
352source.all.filter=All Source|$(source.files)|
353
354# Each platform has a different idea of the most important filters
355if PLAT_WIN
356	all.files=All Files (*.*)|*.*|
357	top.filters=$(source.all.filter)$(all.files)
358if PLAT_GTK
359	all.files=All Files (*)|*|Hidden Files (.*)|.*|
360	top.filters=$(source.all.filter)$(all.files)
361# As OS X only greys out filtered files, show all as default
362if PLAT_MAC
363	all.files=All Files (*.*)|*.*|
364	top.filters=$(all.files)$(source.all.filter)
365
366# Gather all settings with "*filter." prefix from all active .properties files
367list.filters=$(star *filter.)
368
369open.filter=$(top.filters)$(list.filters)
370
371#save.filter=$(open.filter)
372
373# Give symbolic names to the set of fonts used in the standard styles.
374if PLAT_WIN
375	font.base=font:Verdana,size:9.4
376	font.small=font:Verdana,size:8
377	font.comment=font:Georgia,size:10.1
378	font.code.comment.box=$(font.comment)
379	font.code.comment.line=$(font.comment)
380	font.code.comment.doc=$(font.comment)
381	font.code.comment.nested=$(font.comment)
382	font.text=font:Times New Roman,size:11
383	font.text.comment=font:Verdana,size:9
384	font.embedded.base=font:Verdana,size:9
385	font.embedded.comment=font:Comic Sans MS,size:8
386	font.monospace=font:Consolas,size:8.9
387	font.monospace.small=font:Consolas,size:8
388	font.vbs=font:Candara,size:10
389if PLAT_GTK
390	font.base=font:DejaVu Sans,size:9
391	font.small=font:DejaVu Sans,size:8
392	font.comment=font:DejaVu Serif,size:9
393	font.code.comment.box=$(font.comment)
394	font.code.comment.line=$(font.comment)
395	font.code.comment.doc=$(font.comment)
396	font.code.comment.nested=$(font.comment)
397	font.text=font:DejaVu Serif,size:10
398	font.text.comment=font:Serif,size:9
399	font.embedded.base=font:Serif,size:9
400	font.embedded.comment=font:Serif,size:9
401	font.monospace=font:DejaVu Sans Mono,size:9
402	font.monospace.small=font:DejaVu Sans Mono,size:8
403	font.vbs=font:DejaVu Sans Mono,size:9
404if PLAT_MAC
405	font.base=font:Verdana,size:12
406	font.small=font:Verdana,size:10
407	font.comment=font:Georgia,size:13
408	font.code.comment.box=$(font.comment)
409	font.code.comment.line=$(font.comment)
410	font.code.comment.doc=$(font.comment)
411	font.code.comment.nested=$(font.comment)
412	font.text=font:Times New Roman,size:13
413	font.text.comment=font:Verdana,size:11
414	font.embedded.base=font:Verdana,size:11
415	font.embedded.comment=font:Comic Sans MS,size:10
416	font.monospace=font:Courier New,size:12
417	font.monospace.small=font:Courier New,size:10
418	font.vbs=font:Lucida Sans Unicode,size:12
419font.js=$(font.comment)
420
421# Give symbolic names to the set of colours used in the standard styles.
422colour.code.comment.box=fore:#007F00
423colour.code.comment.line=fore:#007F00
424colour.code.comment.doc=fore:#3F703F
425colour.code.comment.nested=fore:#A0C0A0
426colour.text.comment=fore:#0000FF,back:#D0F0D0
427colour.other.comment=fore:#007F00
428colour.embedded.comment=back:#E0EEFF
429colour.embedded.js=back:#F0F0FF
430colour.notused=back:#FF0000
431
432colour.number=fore:#007F7F
433colour.keyword=fore:#00007F
434colour.string=fore:#7F007F
435colour.char=fore:#7F007F
436colour.operator=fore:#000000
437colour.preproc=fore:#7F7F00
438colour.error=fore:#FFFF00,back:#FF0000
439
440# To de-emphasize inactive code set traits.inactive
441#traits.inactive=,back:#F0F0F0,eolfilled
442traits.inactive=
443
444# Global default styles for all languages
445# Default
446style.*.32=$(font.base)
447# Line number
448style.*.33=back:#E7E7E7,$(font.base)
449# Brace highlight
450style.*.34=fore:#0000FF,bold
451# Brace incomplete highlight
452style.*.35=fore:#FF0000,bold
453# Control characters
454style.*.36=
455# Indentation guides
456style.*.37=fore:#C0C0C0,back:#FFFFFF
457
458# Printing
459#print.colour.mode=1
460print.magnification=-1
461# Windows-only setup: left, right, top, bottom margins, in local units:
462# hundredths of millimeters or thousandths of inches
463print.margins=1500,1000,1000,1500
464# Header/footer:
465print.header.format=$(FileNameExt) -- Printed on $(CurrentDate), $(CurrentTime) -- Page $(CurrentPage)
466print.footer.format=$(FilePath) -- File date: $(FileDate) -- File time: $(FileTime)
467# Header/footer style
468print.header.style=font:Arial,size:12,bold
469print.footer.style=font:Arial Narrow,size:10,italics
470
471# Experimental undocumented settings
472#bidirectional=1
473
474# Warnings - only works on Windows and needs to be pointed at files on machine
475#if PLAT_WIN
476#	warning.findwrapped=100,E:\Windows\Media\SFX\Boing.wav
477#	warning.notfound=0,Effect.wav
478#	warning.wrongfile=0,Glass.wav
479#	warning.executeok=0,Fanfare.wav
480#	warning.executeko=100,GlassBreak.wav
481#	warning.nootherbookmark=100,Boing2.wav
482
483#create.hidden.console=1
484
485# Define the Lexer menu,
486# Each item contains three parts: menu string | file extension | key
487# The only keys allowed currently are based on F-keys and alphabetic keys and look like
488# [Ctrl+][Shift+][Fn|a] such as F12 or Ctrl+Shift+D.
489# A '&' may be placed before a letter to be used as an accelerator. This does not work on GTK+.
490
491keyText=Shift+F11
492keyMake=Ctrl+Shift+F11
493keyHTML=F12
494keyXML=Shift+F12
495keyIndent=Ctrl+Shift+F12
496# On OS X, F11 is used by Expose, F12 by Dashbard
497if PLAT_MAC
498	os.x.home.end.keys=1
499	keyText=Shift+F13
500	keyMake=Ctrl+Shift+F13
501	keyHTML=Ctrl+Shift+F14
502	keyXML=Shift+F14
503	keyIndent=
504
505# Gather all settings with "*language." prefix from all active .properties files
506menu.language=$(star *language.)
507
508# User defined key commands
509user.shortcuts=\
510Ctrl+Shift+V|IDM_PASTEANDDOWN|\
511Ctrl+PageUp|IDM_PREVFILE|\
512Ctrl+PageDown|IDM_NEXTFILE|
513
514#KeypadPlus|IDM_EXPAND|\
515#KeypadMinus|IDM_BLOCK_COMMENT|
516
517#user.context.menu=\
518#||\
519#Next File|IDM_NEXTFILE|\
520#Prev File|IDM_PREVFILE|
521
522# To keep menus short, these .properties files are not loaded by default.
523imports.exclude=abaqus asl asn1 au3 ave avs baan blitzbasic bullant \
524cil cmake cobol coffeescript csound dataflex ecl eiffel erlang escript \
525flagship forth freebasic \
526gap haskell hex inno kix latex lot lout \
527markdown maxima metapost mmixal modula3 nim nimrod nncrontab nsis \
528opal oscript pov powerpro powershell ps purebasic r raku rebol rust \
529scriptol smalltalk sorcins spice specman \
530tacl tal txt2tags verilog vhdl visualprolog
531# The set of imports allowed can be set with
532#imports.include=ave
533
534# Import all the language specific properties files in this directory
535import *
536
537