# Global initialization file for SciTE # For Linux, place in $prefix/share/scite # For Windows, place in same directory as SciTE.EXE (or Sc1.EXE) # Documentation at http://www.scintilla.org/SciTEDoc.html # # Georgiy Pruss (C) 2007-05-26 03:39:32 version 1084 * $@{YmdHMSv} # http://moon.aka.sun.googlepages.com/SciTE.htm
if PLAT_WIN
command.scite.help="file://$(SciteDefaultHome)/doc/SciTEDoc.html"
command.scite.help.subsystem=2
if PLAT_GTK
command.print.*=a2ps "$(FileNameExt)"
command.scite.help=netscape "file://$(SciteDefaultHome)/SciTEDoc.html"
# Ansi Charset 0: ANSI # Default Charset 1: Default # Symbol Charset 2: Symbol # Invalid Charset 3: Invalid # Mac Charset 77: Mac # ... # Russian Charset 204: Russian # EasternEuropean Charset 238: Eastern European # PC437 Charset 254: PC 437 # OEM Charset 255: OEM
# Internationalization # Japanese input code page 932 and ShiftJIS character set 128 #code.page=932 #character.set=128 # Unicode #code.page=65001 # cp was 0, cs was 0 and commented
code.page=1251
character.set=204 # Required for Unicode to work on GTK+: #LC_CTYPE=en_US.UTF-8 #output.code.page=65001
# Export #export.keep.ext=1
export.html.wysiwyg=1 #export.html.tabs=1 #export.html.folding=1
export.html.styleused=1 #export.html.title.fullpath=1 #export.rtf.tabs=1 #export.rtf.font.face=Arial #export.rtf.font.size=9 #export.rtf.tabsize=8 # Magnification (added to default screen font size)
export.pdf.magnification=0 # Font: Courier, Helvetica or Times (Courier line-wraps)
export.pdf.font=Helvetica # Page size (in points): width, height # E.g. Letter 612,792; A4 595,842; maximum 14400,14400
export.pdf.pagesize=595,842 # Margins (in points): left, right, top, bottom
export.pdf.margins=72,72,72,72
export.xml.collapse.spaces=1
export.xml.collapse.lines=1
# Define values for use in the imported properties files
chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
chars.numeric=0123456789 #chars.accented=ŠšŒœŸÿÀàÁáÂâÃãÄäÅ寿ÇçÈèÉéÊêËëÌìÍíÎîÏïÐðÑñÒòÓóÔôÕõÖØøÙùÚúÛûÜüÝýÞþßö # This is a better set for Russian:
chars.accented=ÀàÁáÂâÃãÄäÅå¨¸ÆæÇçÈèÉéÊêËëÌìÍíÎîÏïÐðÑñÒòÓóÔôÕõÖö×÷ØøÙùÚúÛûÜüÝýÞþßÿ
# The open.filter setting is only used on windows where the file selector has a menu of filters to apply # to the types of files seen when opening. # There is a limit (possibly 256 characters) to the length of a filter, # so not all source extensions can be in this setting.
source.files=*.xml;*.html;*.htm;*.php;*.py;*.pyw;*.k;*.t;\
*.asm;*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hxx;*.hpp;\
*.idl;*.odl;*.rc;*.rc2;*.dlg;*.def;\
*.vb;*.vbs;*.bas;*.frm;*.cls;*.ctl;\
*.java;*.js;*.lua;*.pl;*.rb;*.cgi;*.conf;\
make*;*.mak;\
*.properties;*.iface;*.bat;*.cmd
# Give symbolic names to the set of fonts used in the standard styles.
if PLAT_WIN
font.base=font:Verdana,size:14
font.small=font:Lucida Console,size:12
font.comment=font:Verdana,size:14 #font.small=font:Verdana,size:12 #font.comment=font:Comic Sans MS,size:9
font.code.comment.box=$(font.comment)
font.code.comment.line=$(font.comment)
font.code.comment.doc=$(font.comment)
font.text=font:Times New Roman,size:14
font.text.comment=font:Verdana,size:12
font.embedded.base=font:Verdana,size:12 #font.embedded.comment=font:Comic Sans MS,size:8
font.embedded.comment=font:Verdana,size:12 #font.monospace=font:Courier New,size:10
font.monospace=font:Lucida Console,size:14
font.vbs=font:Lucida Sans Unicode,size:14
if PLAT_GTK
font.base=font:lucidatypewriter,size:12
font.small=font:lucidatypewriter,size:10
font.comment=font:new century schoolbook,size:12
font.code.comment.box=$(font.comment)
font.code.comment.line=$(font.comment)
font.code.comment.doc=$(font.comment)
font.text=font:times,size:14
font.text.comment=font:lucidatypewriter,size:10
font.embedded.base=font:lucidatypewriter,size:12
font.embedded.comment=font:lucidatypewriter,size:12
font.monospace=font:courier,size:12
font.vbs=font:new century schoolbook,size:12
font.js=$(font.comment)
# Give symbolic names to the set of colours used in the standard styles.
colour.code.comment.box=fore:#007F00;back:#F0FFFD
colour.code.comment.line=fore:#007F00
colour.code.comment.doc=fore:#3F703F
colour.code.comment.nested=fore:#A0C0A0
colour.text.comment=fore:#0000FF,back:#D0F0D0
colour.other.comment=fore:#007F00
colour.embedded.comment=back:#E0EEFF
colour.embedded.js=back:#F0F0FF
colour.notused=back:#FF0000
# Global default styles for all languages # Default
style.*.32=$(font.base) # Line number
style.*.33=back:#C0C0C0,font:Lucida Console,size:14 # Brace highlight
style.*.34=fore:#0000FF,bold,back:#FFFF80 # Brace incomplete highlight
style.*.35=fore:#FF0000,bold # Control characters
style.*.36= # Indentation guides
style.*.37=fore:#C0C0C0,back:#FFFFFF # Calltip
style.*.38=fore:#202020,back:#FFFED0
# Printing - only works on Windows
if PLAT_WIN #print.colour.mode=1
print.magnification=-3 # Setup: left, right, top, bottom margins, in local units: # hundredths of millimeters or thousandths of inches
print.margins=1500,1000,1000,1000 # Header/footer: # && = &; &p = current page # &f = file name; &F = full path # &d = file date; &D = current date # &t = file time; &T = full time
print.header.format=$(FileNameExt) — Printed on $(CurrentDate), $(CurrentTime) — Page $(CurrentPage)
print.footer.format=$(FilePath) — File date: $(FileDate) — File time: $(FileTime) # Header/footer style
print.header.style=font:Arial,size:12,bold
print.footer.style=font:Arial Narrow,size:10,italics
# Warnings - only works on Windows and needs to be pointed at files on machine #if PLAT_WIN
warning.findwrapped=0,C:\WINDOWS\Media\Windows XP Start.wav # warning.notfound=0,Effect.wav # warning.wrongfile=0,Glass.wav # warning.executeok=0,Fanfare.wav # warning.executeko=100,GlassBreak.wav
warning.nootherbookmark=0,C:\WINDOWS\Media\Windows XP Start.wav
# Define the Lexer menu, # Each item contains three parts: menu string | file extension | key # The only keys allowed currently are based on F-keys and alphabetic keys and look like # [Ctrl+][Shift+][Fn|a] such as F12 or Ctrl+Shift+D. # A '&' may be placed before a letter to be used as an accelerator. This does not work on GTK+.
menu.language=\
Pytho&n|py|Shift+F11|\
Lu&a|lua|Ctrl+Shift+F11|\
H&ypertext|html|F12|\
&XML|xml|Shift+F12|\
Text|txt|Ctrl+Shift+F12|\
Apache Confi&g|conf||\
Assembler|asm||\
&Batch|bat||\
&C / C++|c||\
C&#|cs||\
CSS|css||\
&Difference|diff||\
&Errorlist|err||\
Forth|eng||\
&Fortran|f90||\
&Java|java||\
Java&Script|js||\
Lisp|lisp||\
&Makefile|mak||\
NSIS|nsis||\
Pascal|pas||\
Pe&rl|pl||\
P&HP|php||\
&Properties|properties||\
Reso&urce|rc||\
Ruby|rb||\
Shell|sh||\
S&QL|sql||\
&TCL|tcl||\
&VB|vb||\
VBScr&ipt|vbs||\
&YAML|yaml||
# Mnemonics: 1 looks like a vertical rectangle (and both 0 and 1 are rect fns)
command.name.1.*=Fill &Rectangle
command.1.*=*fill_rectangle text:$(1) incr:$(2)
command.mode.1.*=subsystem:lua,savebefore:no
# Mnemonics: F2 was 'save' in DOS editors
command.name.2.*=B&ack Up
command.2.*=back_up
command.mode.2.*=subsystem:lua,savebefore:no
# 3 # 4
# Mnemonics: F5 is execute here and in all IDEs, so let's do it for Lua too
command.name.5.*=Execute &Lua
command.5.*=exec_lua
command.mode.5.*=subsystem:lua,savebefore:no
# Mnemonics: 6 = 5+1, Python is Lua's elder brother. And 6 looks like a snake :)
command.name.6.*=Execute P&ython
command.6.*=exec_python_and_replace
command.mode.6.*=subsystem:lua,savebefore:no
# Mnemonics: 7 looks like an arrow up
command.name.7.*=Sort Selection... #command.7.*=sort_text
command.7.*=sort_text
command.mode.7.*=subsystem:lua,savebefore:no
# Mnemonics: 8 is multiplier for tab positions; Ctrl+Shift+8 is Show Tabs
command.name.8.*=Tabs to Spaces
command.8.*=tabs_to_spaces
command.mode.8.*=subsystem:lua,savebefore:no
# Mnemonics: none, can't think of anything good
command.name.9.*=S&elect Color...
command.9.*=wscript "$(SciteDefaultHome)\ColorSet.js"
command.mode.9.*=subsystem:windows,replaceselection:auto,savebefore:no,quiet:yes
command.input.9.*=_$(CurrentSelection)
# backslash requires an empty line after it
command.name.46.*=&Double Backslashes
command.46.*=double_backslashes
command.mode.46.*=subsystem:lua,savebefore:no
command.shortcut.46.*=Ctrl+\\
# To set SciTE as the default IE View Source editor: # # HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name] # @=C:\Somewhere\SciTE\SciTE.exe