summaryrefslogtreecommitdiff
path: root/context/data/scite/scite-context.properties
diff options
context:
space:
mode:
Diffstat (limited to 'context/data/scite/scite-context.properties')
-rw-r--r--context/data/scite/scite-context.properties627
1 files changed, 627 insertions, 0 deletions
diff --git a/context/data/scite/scite-context.properties b/context/data/scite/scite-context.properties
new file mode 100644
index 000000000..4c7565a51
--- /dev/null
+++ b/context/data/scite/scite-context.properties
@@ -0,0 +1,627 @@
+# file : context.properties
+# version : 18 august 2003
+# author : Hans Hagen / PRAGMA ADE / www.pragma-ade.com
+
+# there but not yet working:
+
+# comment.box.start.tex=\n\\starthiding\n
+# comment.box.middle.tex=
+# comment.box.end.tex=\n\\stophiding\n
+
+# comment.box.start.xml=<!--
+# comment.box.middle.xml=
+# comment.box.end.tex=-->
+
+# comment.block.start.xml=<!--\s
+# comment.block.end.xml=\s-->
+
+# calltip.*.end.definition=%
+
+# This is the new default for windows 2000+ per 1.56:
+#
+# if PLAT_WIN
+# find.command=findstr /n /s $(find.what) $(find.files)
+#
+# uncomment this (or move to user properties) if needed:
+#
+# if PLAT_WIN
+# find.command=fgrep -G -n $(find.what) $(find.files)
+
+# Just UTF-8
+
+code.page=65001
+output.code.page=65001
+
+textwrapper.margin=4
+textwrapper.length=68
+
+# ConTeXt: suffixes (really needed)
+
+file.patterns.tex=
+file.patterns.latex=
+file.patterns.context=*.tex;*.mkii;*.mkiv;*.mkvi;
+
+# ConTeXt : keywords (if not yet loaded already)
+
+import cont-cz-scite
+import cont-de-scite
+import cont-en-scite
+import cont-nl-scite
+import cont-ro-scite
+import cont-xx-scite
+import metafun-scite
+import latex-scite
+
+# Example : patterns
+
+file.patterns.xml=
+file.patterns.example=*.xml;*.xsl;*.xsd;*.fo;*.exa;*.rlb;*.rlg;*.rlv;*.rng;*.xfdf;*.xslt;*.dtd;*.lmx;*.ctx
+
+filter.example=eXaMpLe|$(file.patterns.example)|
+
+lexer.$(file.patterns.example)=xml
+
+# Lua : patterns
+
+file.patterns.lua=*.lua;*.luc;*.cld;*.tuc;*.luj;*.tma;*.lfg
+
+filter.lua=Lua MkIV|$(file.patterns.lua)|
+lexer.$(file.patterns.lua)=lua
+
+command.compile.$(file.patterns.lua)=mtxrun --script "$(FileNameExt)"
+command.go.$(file.patterns.lua)=mtxrun --script "$(FileNameExt)"
+
+# Commands: some scripts
+
+if PLAT_WIN
+ name.context.console=cmd
+ name.context.console=$(ComSpec)
+ name.context.gsview=gsview32.exe
+ name.context.acrobat=
+ name.flag.pdfopen=--autopdf
+
+# consoles: rxvt,konsole | acrobat: acroread,xpdfopen
+#
+# name.flag.pdfopen=--autopdf --xpdf
+
+if PLAT_GTK
+ name.context.console=rxvt
+ name.context.gsview=gv
+ name.context.acrobat=acroread
+ name.flag.pdfopen=--autopdf
+
+name.metafun.console=$(name.context.console)
+name.example.console=$(name.context.console)
+
+name.context.mtxrun=mtxrun --autogenerate
+
+name.context.check=$(name.context.mtxrun) --script check
+name.context.run=$(name.context.mtxrun) --script context $(name.flag.pdfopen)
+name.context.texshow=$(name.context.mtxrun) texshow
+name.context.purge=$(name.context.mtxrun) --context --purge --all
+name.context.showcase=$(name.context.mtxrun) --launch showcase.pdf
+
+name.example.xmlcheck=tidy -quiet -utf8 -xml -errors
+
+name.metafun.mptopdf=$(name.context.mtxrun) --script mptopdf
+
+# if needed one can set MTX_SERVER_ROOT to the root of the documentation
+
+if PLAT_WIN
+ name.context.wwwserver=cmd /c start /min "Context Documentation" $(name.context.mtxrun) --script server --auto
+
+if PLAT_GTK
+ name.context.wwwserver=$(name.context.mtxrun) --script server --start > ~/context-wwwserver.log &
+
+# Commands: help info, e:\websites\www.pragma-ade.com\showcase.pdf / todo: manuals
+
+command.help.$(file.patterns.context)=$(name.context.texshow) $(CurrentWord)
+command.help.$(file.patterns.example)=
+command.help.$(file.patterns.metafun)=
+
+command.help.subsystem.$(file.patterns.context)=2
+
+# Commands: tools menu extensions
+
+context.distribution.writable=1
+
+# for the moment using subsystem 1 for perl jobs is better (otherwise dangling jobs)
+
+command.save.before=1
+
+# xml completion
+
+xml.auto.close.tags=1
+
+# extensions
+
+import scite-ctx
+
+# hard coded compile / build / go
+
+command.compile.$(file.patterns.context)=$(name.context.check) $(FileNameExt)
+command.compile.$(file.patterns.metafun)=
+command.compile.$(file.patterns.example)=$(name.example.xmlcheck) $(FileNameExt)
+command.compile.*.fo=$(name.example.xmlcheck) $(FileNameExt)
+
+command.build.$(file.patterns.context)=$(name.context.run) $(FileNameExt)
+command.build.$(file.patterns.metafun)=$(name.metafun.mptopdf) $(FileNameExt)
+command.build.$(file.patterns.example)=$(name.context.run) --xml $(FileNameExt)
+command.build.*.fo=$(name.context.run) $(name.flag.pdfopen) --xml --use=foxet $(FileNameExt)
+
+command.build.subsystem.$(file.patterns.context)=1
+command.build.subsystem.$(file.patterns.metafun)=1
+command.build.subsystem.$(file.patterns.example)=1
+command.build.subsystem.*.fo=1
+
+if PLAT_WIN
+ command.go.$(file.patterns.context)=$(FileName).pdf
+ command.go.$(file.patterns.metafun)=$(FileName).pdf
+ command.go.$(file.patterns.example)=$(FileName).pdf
+ command.go.*.fo=$(FileName).pdf
+
+if PLAT_GTK
+ command.go.$(file.patterns.context)=$(name.context.acrobat) $(FileName).pdf
+ command.go.$(file.patterns.metafun)=$(name.context.acrobat) $(FileName).pdf
+ command.go.$(file.patterns.example)=$(name.context.acrobat) $(FileName).pdf
+ command.go.*.fo=$(name.context.acrobat) $(FileName).pdf
+
+command.go.subsystem.$(file.patterns.context)=2
+command.go.subsystem.$(file.patterns.metafun)=2
+command.go.subsystem.$(file.patterns.example)=2
+command.go.subsystem.*.fo=2
+
+# 0 : syntax checking
+
+command.name.0.$(file.patterns.context)=Check TeX File
+command.name.0.$(file.patterns.metafun)=
+command.name.0.$(file.patterns.example)=Check XML File
+
+command.0.$(file.patterns.context)=$(name.context.check) $(FileNameExt)
+command.0.$(file.patterns.metafun)=
+command.0.$(file.patterns.example)=$(name.example.xmlcheck) $(FileNameExt)
+
+# 1 : normal processing
+
+command.name.1.$(file.patterns.context)=Process TeX file
+command.name.1.$(file.patterns.metafun)=Process METAPOST File
+command.name.1.$(file.patterns.example)=Process XML File
+
+command.1.$(file.patterns.context)=$(name.context.run) $(FileNameExt)
+command.1.$(file.patterns.metafun)=$(name.context.run) $(FileNameExt) --metapost
+command.1.$(file.patterns.example)=$(name.context.run) $(FileNameExt) --xml
+
+command.1.subsystem.$(file.patterns.context)=1
+command.1.subsystem.$(file.patterns.metafun)=1
+command.1.subsystem.$(file.patterns.example)=1
+
+# 2 : pdf viewing
+
+command.name.2.$(file.patterns.context)=View PDF File with GhostScript
+command.name.2.$(file.patterns.metafun)=View PDF File with GhostScript
+command.name.2.$(file.patterns.example)=View PDF File with GhostScript
+
+command.2.$(file.patterns.context)=$(name.context.gsview) $(FileDir)/$(FileName).pdf
+command.2.$(file.patterns.metafun)=$(name.context.gsview) $(FileDir)/$(FileName).pdf
+command.2.$(file.patterns.example)=$(name.context.gsview) $(FileDir)/$(FileName).pdf
+
+command.subsystem.2.$(file.patterns.context)=2
+command.subsystem.2.$(file.patterns.metafun)=2
+command.subsystem.2.$(file.patterns.example)=2
+
+# 3 : clean up
+
+command.name.3.$(file.patterns.context)=Purge Files
+command.name.3.$(file.patterns.metafun)=Purge Files
+command.name.3.$(file.patterns.example)=Purge Files
+
+command.3.$(file.patterns.context)=$(name.context.purge)
+command.3.$(file.patterns.metafun)=$(name.context.purge)
+command.3.$(file.patterns.example)=$(name.context.purge)
+
+# 4 : documentation
+
+command.4.$(file.patterns.context)=$(name.context.showcase)
+command.4.$(file.patterns.metafun)=$(name.context.showcase)
+command.4.$(file.patterns.example)=$(name.context.showcase)
+
+command.name.4.$(file.patterns.context)=Show Documentation
+command.name.4.$(file.patterns.metafun)=Show Documentation
+command.name.4.$(file.patterns.example)=Show Documentation
+
+# 6 : console
+
+command.name.6=Start Console
+command.name.6.$(file.patterns.context)=Start Console
+command.name.6.$(file.patterns.metafun)=Start Console
+command.name.6.$(file.patterns.example)=Start Console
+
+command.6=$(name.context.console)
+command.6.$(file.patterns.context)=$(name.context.console)
+command.6.$(file.patterns.metafun)=$(name.context.console)
+command.6.$(file.patterns.example)=$(name.context.console)
+
+# 7 : listings
+
+command.name.7=Generate Listing
+command.name.7.$(file.patterns.context)=Generate Listing
+command.name.7.$(file.patterns.metafun)=Generate Listing
+command.name.7.$(file.patterns.example)=Generate Listing
+
+command.7=$(name.context.run) --extra=listing --pretty --result=$(FileName) $(FileNameExt)
+command.7.$(file.patterns.context)=$(name.context.run) --extra=listing --pretty --result=$(FileName) $(FileNameExt)
+command.7.$(file.patterns.metafun)=$(name.context.run) --extra=listing --pretty --result=$(FileName) $(FileNameExt)
+command.7.$(file.patterns.example)=$(name.context.run) --extra=listing --pretty --result=$(FileName) $(FileNameExt)
+
+command.7.subsystem=1
+command.7.subsystem.$(file.patterns.context)=1
+command.7.subsystem.$(file.patterns.metafun)=1
+command.7.subsystem.$(file.patterns.example)=1
+
+# 10: arranging
+
+command.name.10.$(file.patterns.context)=Process and Arrange
+command.name.10.$(file.patterns.metafun)=Process and Arrange
+command.name.10.$(file.patterns.example)=Process and Arrange
+command.10.$(file.patterns.context)=$(name.context.run) --arrange $(FileNameExt)
+command.10.$(file.patterns.metafun)=$(name.context.run) --mptex $(FileNameExt)
+command.10.$(file.patterns.example)=$(name.context.run) --arrange --xml $(FileNameExt)
+command.10.subsystem.$(file.patterns.context)=1
+command.10.subsystem.$(file.patterns.metafun)=1
+command.10.subsystem.$(file.patterns.example)=1
+
+# 11: make
+
+command.name.11.$(file.patterns.context)=Generate Formats (pdfTeX)
+command.name.11.$(file.patterns.metafun)=Generate Formats
+command.name.11.$(file.patterns.example)=Generate Formats
+command.11.$(file.patterns.context)=$(name.context.run) --make --all --pdftex
+command.11.$(file.patterns.metafun)=$(name.context.run) --make --all
+command.11.$(file.patterns.example)=$(name.context.run) --make --all
+command.11.subsystem.$(file.patterns.context)=1
+command.11.subsystem.$(file.patterns.metafun)=1
+command.11.subsystem.$(file.patterns.example)=1
+
+# 12: make
+
+command.name.12.$(file.patterns.context)=Generate Formats (luaTeX)
+command.12.$(file.patterns.context)=$(name.context.run) --make --all --luatex
+command.12.subsystem.$(file.patterns.context)=1
+
+# 13: make
+
+command.name.13.$(file.patterns.context)=Generate Formats (XeTeX)
+command.13.$(file.patterns.context)=$(name.context.run) --make --all --xetex
+command.13.subsystem.$(file.patterns.context)=1
+
+# 15: example
+
+command.name.15=Documentation Server
+command.name.15.$(file.patterns.context)=Documentation Service
+command.name.15.$(file.patterns.metafun)=Documentation Service
+command.name.15.$(file.patterns.example)=Documentation Service
+
+command.15=$(name.context.wwwserver)
+command.15.$(file.patterns.context)=$(name.context.wwwserver)
+command.15.$(file.patterns.metafun)=$(name.context.wwwserver)
+command.15.$(file.patterns.example)=$(name.context.wwwserver)
+
+# Editor: syntax highlighting
+
+view.indentation.guides=1
+highlight.indentation.guides=1
+
+# Editor: keys
+
+user.shortcuts=\
+F12|IDM_COMPILE|\
+Ctrl+F12|IDM_BUILD|\
+Shift+F12|IDM_GO|\
+Alt+F12|IDM_STOPEXECUTE|\
+
+# Editor: fonts
+
+if PLAT_WIN
+ font.monospace=font:Dejavu Sans Mono,size:14
+ font.errorfont=font:Dejavu Sans Mono,size:8
+
+if PLAT_GTK
+ font.monospace=font:!Dejavu Sans Mono,size:14
+ font.errorfont=font:!Dejavu Sans Mono,size:8
+
+font.base=$(font.monospace)
+font.comment=$(font.monospace)
+font.text=$(font.monospace)
+font.text.comment=$(font.monospace)
+font.embedded.base=$(font.monospace)
+font.embedded.comment=$(font.monospace)
+font.vbs=$(font.monospace)
+
+# Editor: colors
+
+color.back.linepanel=back:#A7A7A7
+color.back.textpanel=back:#CFCFCF
+color.back.logpanel=back:#EFEFEF
+color.back.selection=#F7F7F7
+
+color.fore.red=fore:#7F0000
+color.fore.green=fore:#007F00
+color.fore.blue=fore:#00007F
+color.fore.cyan=fore:#007F7F
+color.fore.magenta=fore:#7F007F
+color.fore.yellow=fore:#7F7F00
+
+# Editor: color schemes
+
+caret.width=3
+
+style.*.32=$(font.base),$(color.back.textpanel)
+style.*.33=$(font.base),$(color.back.linepanel)
+
+style.errorlist.32=$(font.errorfont),$(color.back.logpanel)
+
+selection.back=#000000
+
+# Editor: fast switching between files
+
+tabbar.visible=1
+tabbar.hide.one=0
+tabbar.multiline=1
+
+buffers=100
+load.on.activate=1
+check.if.already.open=1
+tabbar.multiline=1
+
+# Editor: handy anyway
+
+line.margin.visible=1
+#~ line.numbers=6
+line.margin.width=3+
+title.full.path=1
+strip.trailing.spaces=1
+save.session=1
+save.recent=1
+open.dialog.in.file.directory=1
+
+# Editor: tabbing
+
+tabsize=4
+indent.size=4
+use.tabs=0
+indent.automatic=1
+indent.opening=0
+indent.closing=0
+
+# Editor: misc
+
+# edge.mode=0
+# edge.column=80
+
+error.marker.fore=#FFFFFF
+error.marker.back=#007F7F
+
+# Editor: status
+
+statusbar.visible=1
+statusbar.number=1
+statusbar.text.1=$(FileNameExt) | $(FileDate) $(FileTime) | line $(LineNumber) column $(ColumnNumber) | mode $(OverType) | eol $(EOLMode) | $(FileDate) $(FileTime)
+
+# Editor: searching
+
+find.files=
+find.what=
+
+find.replace.regexp.posix=1
+find.files=*.tex *.xml *.mp
+
+if PLAT_WIN
+ find.command=fgrep -n $(find.what) $(find.files)
+
+source.files=$(file.patterns.context);$(file.patterns.metafun);$(file.patterns.example);*.pl;*.rb
+
+# Editor: printing
+
+if PLAT_WIN
+ print.colour.mode=1
+ print.margins=750,750,750,750
+ print.header.format=$(FileNameExt) — Printed on $(CurrentDate), $(CurrentTime) — Page $(CurrentPage)
+ print.footer.format=$(FilePath) — File date: $(FileDate) — File time: $(FileTime)
+ print.header.style=font:Dejavu Sans Mono,size:10
+ print.footer.style=font:Dejavu Sans Mono,size:10
+
+# Editor: processing
+
+clear.before.execute=1
+wrap.output=0
+
+if PLAT_WIN
+ eol.mode=CRLF
+
+ensure.final.line.end=1
+ensure.consistent.line.ends=1
+
+# Editor: file type
+
+default.file.ext=.tex
+
+# Editor: auto completion
+
+autocompleteword.automatic=1
+autocomplete.choose.single=0
+
+api.*.tex=t:\sources\cont-en-scite.api
+
+# Logging
+
+style.errorlist.32=$(font.errorfont),$(color.back.logpanel)
+
+# Default
+style.errorlist.0=fore:#000000
+# python Error
+style.errorlist.1=$(color.fore.red)
+# gcc Error
+style.errorlist.2=$(color.fore.red)
+# Microsoft Error
+style.errorlist.3=$(color.fore.red)
+# command or return status
+style.errorlist.4=$(color.fore.green)
+# Borland error and warning messages
+style.errorlist.5=$(color.fore.red)
+# perl error and warning messages
+style.errorlist.6=$(color.fore.red)
+# .NET tracebacks
+style.errorlist.7=$(color.fore.red)
+# Lua error and warning messages
+style.errorlist.8=$(color.fore.red)
+# ctags
+style.errorlist.9=$(color.fore.red)
+# diff changed !
+style.errorlist.10=$(color.fore.green)
+# diff addition +
+style.errorlist.11=$(color.fore.blue)
+# diff deletion -
+style.errorlist.12=$(color.fore.cyan)
+# diff message ---
+style.errorlist.13=$(color.fore.red)
+# PHP error
+style.errorlist.14=$(color.fore.red)
+# Essential Lahey Fortran 90 error
+style.errorlist.15=$(color.fore.red)
+# Intel Fortran Compiler error
+style.errorlist.16=$(color.fore.red)
+
+# done in pragma.properties:
+
+# # Editor: filters
+#
+# open.filter=\
+# All Files (*.*)|*.*|\
+# $(filter.context)\
+# $(filter.metafun)\
+# $(filter.example)\
+# $(filter.lua)\
+# $(filter.ruby)\
+# $(filter.perl)\
+# $(filter.text)
+#
+# # Editor: menus
+#
+# menu.language=\
+# TeX|tex||\
+# Metapost|metapost||\
+# XML|xml||\
+# Lua|lua||\
+# Ruby|ruby||\
+# Perl|perl||\
+# Text|txt||
+
+# Context: end of file
+
+# Metapost: patterns
+
+file.patterns.metapost=
+file.patterns.metafun=
+
+file.patterns.metapost=*.mp;*.mpx;
+file.patterns.metafun=*.mp;*.mpx;*.mpy;*.mpii;*.mpiv
+
+filter.metapost=MetaPost|$(file.patterns.metapost)|
+filter.metafun=MetaFun|$(file.patterns.metafun)|
+
+lexer.$(file.patterns.metapost)=metapost
+lexer.$(file.patterns.metafun)=metapost
+
+# Metapost: commands (check process view)
+
+command.compile.$(file.patterns.metapost)=
+command.build.$(file.patterns.metapost)=mpost $(FileNameExt)
+command.go.$(file.patterns.metapost)=gv $(FileName).1
+
+command.compile.$(file.patterns.metafun)=
+command.build.$(file.patterns.metafun)=texexec --mptex $(FileNameExt)
+command.go.$(file.patterns.metafun)=gv $(FileName).1
+
+command.0.$(file.patterns.metapost)=
+command.1.$(file.patterns.metapost)=
+command.2.$(file.patterns.metapost)=
+command.3.$(file.patterns.metapost)=
+command.4.$(file.patterns.metapost)=
+command.5.$(file.patterns.metapost)=
+command.6.$(file.patterns.metapost)=
+command.7.$(file.patterns.metapost)=
+command.8.$(file.patterns.metapost)=
+command.9.$(file.patterns.metapost)=
+
+command.0.$(file.patterns.metafun)=
+command.1.$(file.patterns.metafun)=
+command.2.$(file.patterns.metafun)=
+command.3.$(file.patterns.metafun)=
+command.4.$(file.patterns.metafun)=
+command.5.$(file.patterns.metafun)=
+command.6.$(file.patterns.metafun)=
+command.7.$(file.patterns.metafun)=
+command.8.$(file.patterns.metafun)=
+command.9.$(file.patterns.metafun)=
+
+# Metapost: highlighting
+
+# Default
+style.metapost.0=fore:#3F3F3F
+# Special
+style.metapost.1=fore:#007F7F
+# Group
+style.metapost.2=fore:#7F0000
+# Symbol
+style.metapost.3=fore:#7F7F00
+# Command
+style.metapost.4=fore:#007F00
+# Text
+style.metapost.5=fore:#000000
+# Extra
+style.metapost.6=fore:#007F00,italics
+
+style.metapost.34=fore:#00007F
+style.metapost.35=fore:#7F007F
+
+# Metapost: comments
+
+comment.block.metapost=%
+comment.block.at.line.start.metapost=1
+
+# lpeg lexers
+
+import $(SciteDefaultHome)/lexers/lpeg
+
+lexer.lpeg.home=$(SciteDefaultHome)/lexers
+lexer.lpeg.script=$(lexer.lpeg.home)/scite-context-lexer.lua
+lexer.lpeg.color.theme=$(lexer.lpeg.home)/themes/scite-context-theme.lua
+
+fold.by.indentation=0
+
+if PLAT_WIN
+ lexerpath.*.lpeg=$(lexer.lpeg.home)/LexLPeg.dll
+
+if PLAT_GTK
+ lexerpath.*.lpeg=$(lexer.lpeg.home)/liblexlpeg.so
+
+lexer.*.lpeg=lpeg
+
+lexer.$(file.patterns.metapost)=lpeg_metafun
+lexer.$(file.patterns.metafun)=lpeg_metafun
+lexer.$(file.patterns.context)=lpeg_context
+lexer.$(file.patterns.tex)=lpeg_context
+lexer.$(file.patterns.lua)=lpeg_lua
+lexer.$(file.patterns.xml)=lpeg_xml
+
+comment.block.lpeg_context=%
+comment.block.at.line.start.lpeg_context=1
+
+comment.block.lpeg_metafun=%
+comment.block.at.line.start.lpeg_metafun=1
+
+comment.block.lpeg_lua=--
+comment.block.at.line.start.lpeg_lua=1
+
+comment.block.lpeg_props=#
+comment.block.at.line.start.lpeg_props=1