Update kate syntax highlight files

(cherry picked from commit bf4e405e03)
v3.5.13-sru
Michele Calgaro 10 jaren geleden gecommit door Slávek Banko
bovenliggende a929e576b2
commit 5529b46d24

@ -2,8 +2,6 @@
The Kate Part supports the majority of KTextEditor interfaces and it is
highly approciated to use them (the Kate::View/Document interfaces allow are more
tight integration with the kate part, but makes you more depend on the kate part!)
Homepage: http://kate.kde.org
Licensing:
The Kate Part and its interfaces are licensed under the LGPL version 2,

@ -24,45 +24,39 @@ install( FILES
DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES
language.dtd syntax.template cpp.xml c.xml html.xml
kbasic.xml objectivec.xml changelog.xml ada.xml
css.xml perl.xml php.xml xml.xml java.xml rpmspec.xml
sql.xml sql-mysql.xml sql-postgresql.xml vhdl.xml
diff.xml bash.xml latex.xml postscript.xml ruby.xml
rhtml.xml desktop.xml eiffel.xml pascal.xml sather.xml
python.xml makefile.xml ferite.xml scheme.xml matlab.xml
tcl.xml ilerpg.xml verilog.xml javascript.xml sml.xml
winehq.xml cs.xml sgml.xml idconsole.xml xmldebug.xml
fortran.xml haskell.xml literate-haskell.xml r.xml
gnuassembler.xml mab.xml mason.xml idl.xml prolog.xml
rsiidl.xml coldfusion.xml picsrc.xml uscript.xml lpc.xml
velocity.xml sci.xml ldif.xml inform.xml xharbour.xml
yacas.xml component-pascal.xml asm6502.xml gdl.xml
bibtex.xml d.xml vrml.xml rexx.xml cue.xml progress.xml
e.xml sieve.xml modula-2.xml awk.xml cisco.xml doxygen.xml
lua.xml pike.xml debianchangelog.xml debiancontrol.xml
fgl-4gl.xml fgl-per.xml alert.xml gettext.xml commonlisp.xml
clipper.xml povray.xml euphoria.xml mup.xml jsp.xml
ocaml.xml lex.xml yacc.xml cg.xml ahdl.xml ansic89.xml
tibasic.xml purebasic.xml mips.xml logtalk.xml txt2tags.xml
xslt.xml stata.xml glsl.xml lilypond.xml abc.xml asp.xml
asm-avr.xml rib.xml cmake.xml octave.xml javadoc.xml
cgis.xml spice.xml nasm.xml mediawiki.xml apache.xml
m3u.xml ini.xml fstab.xml actionscript.xml abap.xml
ansys.xml asn1.xml asterisk.xml bmethod.xml ddoc.xml
djangotemplate.xml doxygenlua.xml dtd.xml email.xml
erlang.xml freebasic.xml gap.xml json.xml maxima.xml
mergetagtext.xml modelica.xml monobasic.xml nemerle.xml
noweb.xml objectivecpp.xml opal.xml pgn.xml rapidq.xml
scala.xml sisu.xml systemc.xml texinfo.xml xorg.xml
xul.xml yaml.xml zonnon.xml
alert_indent.xml ample.xml asm-dsp56k.xml asm-m68k.xml
clojure.xml coffee.xml crk.xml dosbat.xml fsharp.xml
gdb.xml glosstex.xml go.xml grammar.xml jam.xml m4.xml
mel.xml oors.xml pango.xml qmake.xml qml.xml relaxng.xml
relaxngcompact.xml rest.xml sed.xml systemverilog.xml
tads3.xml tcsh.xml valgrind-suppression.xml vera.xml
wml.xml zsh.xml
language.dtd syntax.template
abap.xml abc.xml actionscript.xml ada.xml ahdl.xml ahk.xml alert_indent.xml
alert.xml ample.xml ansic89.xml ansys.xml apache.xml asm6502.xml asm-avr.xml
asm-dsp56k.xml asm-m68k.xml asn1.xml asp.xml asterisk.xml awk.xml bash.xml
bibtex.xml bmethod.xml ccss.xml cgis.xml cg.xml changelog.xml chicken.xml
cisco.xml clipper.xml clojure.xml cmake.xml coffee.xml coldfusion.xml
commonlisp.xml component-pascal.xml context.xml cpp11.xml cpp.xml crk.xml
css.xml cs.xml cue.xml curry.xml c.xml ddoc.xml debianchangelog.xml
debiancontrol.xml desktop.xml diff.xml djangotemplate.xml dosbat.xml dot.xml
doxygenlua.xml doxygen.xml dtd.xml d.xml eiffel.xml email.xml erlang.xml
euphoria.xml e.xml ferite.xml fgl-4gl.xml fgl-per.xml fortran.xml freebasic.xml
fsharp.xml fstab.xml gap.xml gcc.xml gdb.xml gdl.xml gettext.xml git-rebase.xml
glosstex.xml glsl.xml gnuassembler.xml gnuplot.xml go.xml grammar.xml haml.xml
haskell.xml html.xml idconsole.xml idl.xml ilerpg.xml inform.xml
ini.xml jam.xml javadoc.xml javascript.xml java.xml json.xml
jsp.xml julia.xml kbasic.xml latex.xml ldif.xml less.xml lex.xml lilypond.xml
literate-curry.xml literate-haskell.xml logtalk.xml lpc.xml lua.xml m3u.xml
m4.xml mab.xml makefile.xml mako.xml mason.xml matlab.xml maxima.xml
mediawiki.xml mel.xml mergetagtext.xml mips.xml modelica.xml modelines.xml
modula-2.xml monobasic.xml mup.xml nasm.xml nemerle.xml nesc.xml noweb.xml
objectivecpp.xml objectivec.xml ocaml.xml octave.xml oors.xml opal.xml opencl.xml
pango.xml pascal.xml perl.xml pgn.xml php.xml picsrc.xml pig.xml pike.xml
postscript.xml povray.xml ppd.xml progress.xml prolog.xml protobuf.xml
purebasic.xml python.xml qmake.xml qml.xml qt4.xml rapidq.xml relaxngcompact.xml
relaxng.xml restructuredtext.xml rest.xml rexx.xml rhtml.xml rib.xml rpmspec.xml
rsiidl.xml ruby.xml r.xml sather.xml scala.xml scheme.xml sci.xml scss.xml
sed.xml sgml.xml sieve.xml sisu.xml sml.xml spice.xml sql-mysql.xml
sql-postgresql.xml sql.xml stata.xml systemc.xml systemverilog.xml tads3.xml
tcl.xml tcsh.xml template-toolkit.xml texinfo.xml textile.xml tibasic.xml
txt2tags.xml update-files.xml uscript.xml valgrind-suppression.xml
varnishtest.xml varnish.xml vcard.xml velocity.xml vera.xml verilog.xml vhdl.xml
vrml.xml winehq.xml wml.xml xharbour.xml xmldebug.xml xml.xml xorg.xml xslt.xml
xul.xml yacas.xml yacc.xml yaml.xml zonnon.xml zsh.xml
${CMAKE_CURRENT_BINARY_DIR}/html-php.xml
${CMAKE_CURRENT_BINARY_DIR}/css-php.xml
${CMAKE_CURRENT_BINARY_DIR}/javascript-php.xml

@ -4,26 +4,39 @@ rckatedir = $(kde_datadir)/katepart
rckate_DATA = katepartui.rc katepartreadonlyui.rc
syntaxkatedir = $(kde_datadir)/katepart/syntax
syntaxkate_DATA = language.dtd syntax.template cpp.xml c.xml html.xml kbasic.xml objectivec.xml \
changelog.xml ada.xml css.xml perl.xml php.xml xml.xml java.xml rpmspec.xml \
sql.xml sql-mysql.xml sql-postgresql.xml vhdl.xml diff.xml bash.xml latex.xml postscript.xml ruby.xml rhtml.xml \
desktop.xml eiffel.xml pascal.xml sather.xml python.xml makefile.xml \
ferite.xml scheme.xml matlab.xml tcl.xml ilerpg.xml verilog.xml javascript.xml \
sml.xml winehq.xml cs.xml sgml.xml idconsole.xml xmldebug.xml fortran.xml haskell.xml \
literate-haskell.xml r.xml gnuassembler.xml mab.xml mason.xml idl.xml prolog.xml \
rsiidl.xml coldfusion.xml picsrc.xml uscript.xml lpc.xml velocity.xml sci.xml ldif.xml \
inform.xml xharbour.xml yacas.xml component-pascal.xml asm6502.xml gdl.xml bibtex.xml d.xml \
vrml.xml rexx.xml cue.xml progress.xml e.xml sieve.xml modula-2.xml awk.xml cisco.xml \
doxygen.xml lua.xml pike.xml debianchangelog.xml debiancontrol.xml fgl-4gl.xml fgl-per.xml alert.xml \
gettext.xml commonlisp.xml clipper.xml povray.xml euphoria.xml mup.xml jsp.xml ocaml.xml lex.xml yacc.xml \
cg.xml html-php.xml css-php.xml javascript-php.xml ahdl.xml ansic89.xml tibasic.xml \
purebasic.xml mips.xml logtalk.xml txt2tags.xml xslt.xml stata.xml glsl.xml \
lilypond.xml abc.xml asp.xml asm-avr.xml rib.xml cmake.xml octave.xml javadoc.xml cgis.xml \
spice.xml nasm.xml mediawiki.xml apache.xml m3u.xml ini.xml fstab.xml actionscript.xml \
abap.xml ansys.xml asn1.xml asterisk.xml bmethod.xml ddoc.xml djangotemplate.xml \
doxygenlua.xml dtd.xml email.xml erlang.xml freebasic.xml gap.xml json.xml maxima.xml \
mergetagtext.xml modelica.xml monobasic.xml nemerle.xml noweb.xml objectivecpp.xml opal.xml \
pgn.xml rapidq.xml scala.xml sisu.xml systemc.xml texinfo.xml xorg.xml xul.xml yaml.xml zonnon.xml
syntaxkate_DATA = language.dtd syntax.template \
abap.xml abc.xml actionscript.xml ada.xml ahdl.xml ahk.xml alert_indent.xml \
alert.xml ample.xml ansic89.xml ansys.xml apache.xml asm6502.xml asm-avr.xml \
asm-dsp56k.xml asm-m68k.xml asn1.xml asp.xml asterisk.xml awk.xml bash.xml \
bibtex.xml bmethod.xml ccss.xml cgis.xml cg.xml changelog.xml chicken.xml \
cisco.xml clipper.xml clojure.xml cmake.xml coffee.xml coldfusion.xml \
commonlisp.xml component-pascal.xml context.xml cpp11.xml cpp.xml crk.xml \
css.xml css-php.xml cs.xml cue.xml curry.xml c.xml ddoc.xml debianchangelog.xml \
debiancontrol.xml desktop.xml diff.xml djangotemplate.xml dosbat.xml dot.xml \
doxygenlua.xml doxygen.xml dtd.xml d.xml eiffel.xml email.xml erlang.xml \
euphoria.xml e.xml ferite.xml fgl-4gl.xml fgl-per.xml fortran.xml freebasic.xml \
fsharp.xml fstab.xml gap.xml gcc.xml gdb.xml gdl.xml gettext.xml git-rebase.xml \
glosstex.xml glsl.xml gnuassembler.xml gnuplot.xml go.xml grammar.xml haml.xml \
haskell.xml html.xml html-php.xml idconsole.xml idl.xml ilerpg.xml inform.xml \
ini.xml jam.xml javadoc.xml javascript.xml javascript-php.xml java.xml json.xml \
jsp.xml julia.xml kbasic.xml latex.xml ldif.xml less.xml lex.xml lilypond.xml \
literate-curry.xml literate-haskell.xml logtalk.xml lpc.xml lua.xml m3u.xml \
m4.xml mab.xml makefile.xml mako.xml mason.xml matlab.xml maxima.xml \
mediawiki.xml mel.xml mergetagtext.xml mips.xml modelica.xml modelines.xml \
modula-2.xml monobasic.xml mup.xml nasm.xml nemerle.xml nesc.xml noweb.xml \
objectivecpp.xml objectivec.xml ocaml.xml octave.xml oors.xml opal.xml opencl.xml \
pango.xml pascal.xml perl.xml pgn.xml php.xml picsrc.xml pig.xml pike.xml \
postscript.xml povray.xml ppd.xml progress.xml prolog.xml protobuf.xml \
purebasic.xml python.xml qmake.xml qml.xml qt4.xml rapidq.xml relaxngcompact.xml \
relaxng.xml restructuredtext.xml rest.xml rexx.xml rhtml.xml rib.xml rpmspec.xml \
rsiidl.xml ruby.xml r.xml sather.xml scala.xml scheme.xml sci.xml scss.xml \
sed.xml sgml.xml sieve.xml sisu.xml sml.xml spice.xml sql-mysql.xml \
sql-postgresql.xml sql.xml stata.xml systemc.xml systemverilog.xml tads3.xml \
tcl.xml tcsh.xml template-toolkit.xml texinfo.xml textile.xml tibasic.xml \
txt2tags.xml update-files.xml uscript.xml valgrind-suppression.xml \
varnishtest.xml varnish.xml vcard.xml velocity.xml vera.xml verilog.xml vhdl.xml \
vrml.xml winehq.xml wml.xml xharbour.xml xmldebug.xml xml.xml xorg.xml xslt.xml \
xul.xml yacas.xml yacc.xml yaml.xml zonnon.xml zsh.xml
partrcdir = $(kde_confdir)
partrc_DATA = katesyntaxhighlightingrc katefiletyperc

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ABAP" version="1.00" kateversion="2.4" section="Sources" extensions="*.abap;*.ABAP" mimetype="text/x-abap-src" priority="5" author="Marcos Antonio Alvarez Costales (busgosin@hotmail.com)" license="GPL">
<language name="ABAP" version="1.01" kateversion="2.5" section="Sources" extensions="*.abap;*.ABAP" mimetype="text/x-abap-src" priority="5" author="Marcos Antonio Alvarez Costales (busgosin@hotmail.com)" license="GPL">
<highlighting>
<list name="keywords">

@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Andrea Primiani - primiani at dag dot it
version1.10 - 12 december 2005 -->
<language name="ABC" version="1.10" kateversion="2.4" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" casesensitive="1" author="Andrea Primiani (primiani@dag.it)" license="LGPL">
<language name="ABC" version="1.11" kateversion="2.5" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" casesensitive="1" author="Andrea Primiani (primiani@dag.it)" license="LGPL">
<highlighting>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ActionScript 2.0" version="1.0" kateversion="2.4" section="Sources" extensions="*.as" mimetype="text/x-actionscript" license="LGPL" author="Aaron Miller (armantic101@gmail.com)">
<language name="ActionScript 2.0" version="1.01" kateversion="2.5" section="Sources" extensions="*.as" mimetype="text/x-actionscript" license="LGPL" author="Aaron Miller (armantic101@gmail.com)">
<highlighting>
<list name="properties">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Ada" version="1.07" kateversion="2.4" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc">
<language name="Ada" version="1.08" kateversion="2.5" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc">
<highlighting>
<list name="keywords">
<item> abort </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="AHDL" version="1.04" kateversion="2.4" section="Hardware" extensions="*.ahdl;*.tdf" mimetype="text/x-ahdl" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<language name="AHDL" version="1.05" kateversion="2.5" section="Hardware" extensions="*.ahdl;*.tdf" mimetype="text/x-ahdl" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<highlighting>
<list name="keywords">
<item> assert </item>

Diff onderdrukt omdat het te groot bestand Laad Diff

@ -26,7 +26,7 @@
This file is included in every file that highlights the "alerts" keywords.
That's why extensions and mimetype are empty.
-->
<language version="1.08" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
<language version="1.09" kateversion="2.5" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
<highlighting>
<list name="alerts">
<item> ### </item>

@ -26,37 +26,15 @@
This file is included in every file that highlights the "alerts" keywords.
That's why extensions and mimetype are empty.
-->
<language version="1.08" kateversion="2.3" name="Alerts_indent" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
<language version="1.10" kateversion="2.5" name="Alerts_indent" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
<highlighting>
<list name="alerts">
<item> ### </item>
<item> ALERT </item>
<item> BUG </item>
<item> DANGER </item>
<item> DEPRECATED </item>
<item> FIXME </item>
<item> HACK </item>
<item> NOTE </item>
<item> NOTICE </item>
<item> SECURITY </item>
<item> TASK </item>
<item> TEST </item>
<item> TESTING </item>
<item> TODO </item>
<item> WARNING </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<keyword attribute="Alert" context="#stay" String="alerts" />
<IncludeRules context="##Alerts" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Alert" defStyleNum="dsAlert"/>
</itemDatas>
</highlighting>
<general>
<folding indentationsensitive="1" />
<keywords casesensitive="1"/>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="AMPLE" version="0.2" kateversion="2.4" section="Scripts" extensions="*.ample;*.menu;*.startup" mimetype="text/x-amplesrc" priority="5" author="Christian Parg (cparg@gmx.de)" license="Apache &amp; LGPL" >
<language name="AMPLE" version="0.3" kateversion="2.5" section="Scripts" extensions="*.ample;*.menu;*.startup" mimetype="text/x-amplesrc" priority="5" author="Christian Parg (cparg@gmx.de)" license="Apache &amp; LGPL" >
<!--
#################################################################################################
## AMPLE Highlight file by Christian Parg (cparg_(at)_gmx_de)

@ -25,7 +25,7 @@
-->
<language name="ANSI C89" section="Sources"
version="1.10" kateversion="2.4"
version="1.11" kateversion="2.5"
indenter="cstyle"
extensions="*.c;*.C;*.h"
mimetype="text/x-csrc;text/x-c++src;text/x-chdr"

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Ansys" version="1.1" section="Scientific" extensions="*.ans" author="Giovanni Bacci (giovanni@castellodilari.it)" license="LGPL" >
<language name="Ansys" version="1.3" kateversion="2.5" section="Scientific" extensions="*.ans" author="Giovanni Bacci (giovanni@castellodilari.it)" license="LGPL" >
<highlighting>
<list name="session_cmds">
<item>/BATCH</item>
@ -851,7 +851,7 @@
<item>FSSTAT</item>
<item>FSTI</item>
<item>FSTR</item>
</list>
</list>
<list name="solution_commands">
<item>ABEXTRACT</item>
<item>ADAMS</item>
@ -1218,7 +1218,7 @@
<item>MFTIME</item>
<item>MFTOL</item>
<item>MFVOLUME</item>
</list>
</list>
<list name="POST1_commands">
<item>APPEND</item>
<item>DETAB</item>
@ -1967,14 +1967,14 @@
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<StringDetect attribute="comment" context="comment" String="C***" insensitive="true" firstNonSpace="true" />
<DetectChar attribute ="comment" context="comment" char="!" />
<keyword attribute="MatProp" context="#stay" String="various_labels" />
<RangeDetect attribute="Normal Text" context="#stay" char="(" char1=")" />
<DetectChar attribute="error" context="open_parentesis" char="(" />
<!-- the next one highlight variable assignements as normal text, to avoid F,,FY,1 been highlighted as F=10 -->
<RegExpr attribute="Normal Text" context="#stay" String="^[A-Za-Z0-9]+\=" />
<RegExpr attribute="Normal Text" context="#stay" String="^[A-Za-z0-9]+\=" />
<keyword attribute="Keyword" context="#stay" String="elements" />
<keyword attribute="MatProp" context="#stay" String="material_properties" />
<keyword attribute="Labels" context="#stay" String="force-displacement-labels" />

@ -13,7 +13,7 @@ v1.0:
-->
<language name="Apache Configuration" section="Configuration"
version="1.11" kateversion="2.0"
version="1.12" kateversion="2.5"
extensions="httpd.conf;httpd2.conf;apache.conf;apache2.conf;.htaccess*;.htpasswd*"
mimetype=""
author="Jan Janssen (medhefgo@googlemail.com)" license="LGPL">

@ -14,7 +14,7 @@ Date: 18th May, 2004
Version: 1.0
This file contains the XML syntax highlighting description for the AVR
Assembler, for KATE, the KDE Advanced Editor. Keywords have been taken
Assembler, for KATE, the TDE Advanced Editor. Keywords have been taken
directly from the AVR Assembler source code.
This program, including associated files, is free software. You may
@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-->
<language name="AVR Assembler" version="1.04" kateversion="2.4" section="Assembler" extensions="*.asm;*.ASM;*.asm-avr" mimetype="text/x-asm;text/x-asm-avr" author="Roland Nagy" license="GPL">
<language name="AVR Assembler" version="1.05" kateversion="2.5" section="Assembler" extensions="*.asm;*.ASM;*.asm-avr" mimetype="text/x-asm;text/x-asm-avr" author="Roland Nagy" license="GPL">
<highlighting>
<list name="keywords">
<item> adc</item>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Motorola DSP56k" section="Assembler" version="1.00" kateversion="2.4" extensions="*.asm;*.inc;*.ASM;*.INC" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL">
<language name="Motorola DSP56k" section="Assembler" version="1.02" kateversion="2.5" extensions="*.asm;*.inc;*.ASM;*.INC" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL">
<highlighting>
<list name="Data Registers">
@ -219,18 +219,18 @@
<contexts>
<!-- name = name of context, attribute = name of item data -->
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<RegExpr attribute="Memory" context="#pop" String="[xylpXYLP]:"/>
<keyword attribute="Data Registers" context="#pop" String="Data Registers"/>
<keyword attribute="Address Registers" context="#pop" String="Address Registers"/>
<keyword attribute="Offset Registers" context="#pop" String="Offset Registers"/>
<keyword attribute="Modifier Registers" context="#pop" String="Modifier Registers"/>
<keyword attribute="Control Registers" context="#pop" String="Control Registers"/>
<keyword attribute="Instructions" context="#pop" String="Instructions"/>
<keyword attribute="Directives" context="#pop" String="Directives"/>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<RegExpr attribute="Memory" context="#stay" String="[xylpXYLP]:"/>
<keyword attribute="Data Registers" context="#stay" String="Data Registers"/>
<keyword attribute="Address Registers" context="#stay" String="Address Registers"/>
<keyword attribute="Offset Registers" context="#stay" String="Offset Registers"/>
<keyword attribute="Modifier Registers" context="#stay" String="Modifier Registers"/>
<keyword attribute="Control Registers" context="#stay" String="Control Registers"/>
<keyword attribute="Instructions" context="#stay" String="Instructions"/>
<keyword attribute="Directives" context="#stay" String="Directives"/>
<RegExpr attribute="Label" context="#pop" String="^[A-Za-z][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Local label" context="#pop" String="^_[A-Za-z_][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Label" context="#stay" String="^[A-Za-z][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Local label" context="#stay" String="^_[A-Za-z_][A-Za-z_.0-9]*:?"/>
<DetectChar attribute="Comment" context="Comment" char=";"/>
<DetectChar attribute="Comment" context="Comment" char="*" firstNonSpace="true"/>
@ -238,9 +238,9 @@
<DetectChar attribute="BaseN" context="Number16" char="$"/>
<DetectChar attribute="BaseN" context="Number2" char="%"/>
<DetectChar attribute="BaseN" context="Number8" char="@"/>
<Float attribute="Float" context="#pop"/>
<Int attribute="Number" context="#pop"/>
<RangeDetect attribute="Char" context="#pop" char="'" char1="'"/>
<Float attribute="Float" context="#stay"/>
<Int attribute="Number" context="#stay"/>
<RangeDetect attribute="Char" context="#stay" char="'" char1="'"/>
<AnyChar attribute="String" context="String" String="&quot;'"/>
</context>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Motorola 68k (VASM/Devpac)" section="Assembler" version="1.00" kateversion="2.4" extensions="*.s;*.i;*.S;*.I" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL">
<language name="Motorola 68k (VASM/Devpac)" section="Assembler" version="1.02" kateversion="2.5" extensions="*.s;*.i;*.S;*.I" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL">
<highlighting>
<list name="Data Registers">
@ -530,27 +530,27 @@
<contexts>
<!-- name = name of context, attribute = name of item data -->
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<keyword attribute="Data Registers" context="#pop" String="Data Registers"/>
<keyword attribute="Address Registers" context="#pop" String="Address Registers"/>
<keyword attribute="Control Registers" context="#pop" String="Control Registers"/>
<keyword attribute="FPU Registers" context="#pop" String="FPU Registers"/>
<keyword attribute="Instructions (CPU)" context="#pop" String="Instructions (CPU)"/>
<keyword attribute="Instructions (FPU)" context="#pop" String="Instructions (FPU)"/>
<keyword attribute="Directives" context="#pop" String="Directives"/>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<keyword attribute="Data Registers" context="#stay" String="Data Registers"/>
<keyword attribute="Address Registers" context="#stay" String="Address Registers"/>
<keyword attribute="Control Registers" context="#stay" String="Control Registers"/>
<keyword attribute="FPU Registers" context="#stay" String="FPU Registers"/>
<keyword attribute="Instructions (CPU)" context="#stay" String="Instructions (CPU)"/>
<keyword attribute="Instructions (FPU)" context="#stay" String="Instructions (FPU)"/>
<keyword attribute="Directives" context="#stay" String="Directives"/>
<!-- precedes ".[bwlsdqpx]" match -->
<RegExpr attribute="Label" context="#pop" String="^[A-Za-z_][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Local label" context="#pop" String="^\.[A-Za-z_][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Label" context="#stay" String="^[A-Za-z_][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Local label" context="#stay" String="^\.[A-Za-z_][A-Za-z_.0-9]*:?"/>
<RegExpr attribute="Operand sizes (CPU)" context="#pop" insensitive="true" String="\.b[\s,]"/>
<RegExpr attribute="Operand sizes (CPU)" context="#pop" insensitive="true" String="\.w[\s,]"/>
<RegExpr attribute="Operand sizes (CPU)" context="#pop" insensitive="true" String="\.l[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#pop" insensitive="true" String="\.s[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#pop" insensitive="true" String="\.d[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#pop" insensitive="true" String="\.p[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#pop" insensitive="true" String="\.q[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#pop" insensitive="true" String="\.x[\s,]"/>
<RegExpr attribute="Operand sizes (CPU)" context="#stay" insensitive="true" String="\.b[\s,]"/>
<RegExpr attribute="Operand sizes (CPU)" context="#stay" insensitive="true" String="\.w[\s,]"/>
<RegExpr attribute="Operand sizes (CPU)" context="#stay" insensitive="true" String="\.l[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#stay" insensitive="true" String="\.s[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#stay" insensitive="true" String="\.d[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#stay" insensitive="true" String="\.p[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#stay" insensitive="true" String="\.q[\s,]"/>
<RegExpr attribute="Operand sizes (FPU)" context="#stay" insensitive="true" String="\.x[\s,]"/>
<DetectChar attribute="Comment" context="Comment" char=";"/>
<DetectChar attribute="Comment" context="Comment" char="*" firstNonSpace="true"/>
@ -558,9 +558,9 @@
<DetectChar attribute="BaseN" context="Number16" char="$"/>
<DetectChar attribute="BaseN" context="Number2" char="%"/>
<DetectChar attribute="BaseN" context="Number8" char="@"/>
<Float attribute="Float" context="#pop"/>
<Int attribute="Number" context="#pop"/>
<RangeDetect attribute="Char" context="#pop" char="'" char1="'"/>
<Float attribute="Float" context="#stay"/>
<Int attribute="Number" context="#stay"/>
<RangeDetect attribute="Char" context="#stay" char="'" char1="'"/>
<AnyChar attribute="String" context="String" String="&quot;'"/>
</context>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Asm6502" version="1.04" kateversion="2.1" section="Assembler" extensions="*.asm" mimetype="text/x-asm6502">
<language name="Asm6502" version="1.05" kateversion="2.5" section="Assembler" extensions="*.asm" mimetype="text/x-asm6502">
<highlighting>
<contexts>

@ -1,19 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
This is a template for the XML format used for syntax highlight descriptions
for the Kate text editor (http://kate.kde.org), which is part of the KDE
desktop environment (http://www.kde.org).
for the Kate text editor, which is part of the Trinity Desktop Environment.
Use it as the base for your own syntax files.
Look at language.dtd for some documentation of the allowed elements and their attributes.
There is also a description of how to validate your syntax file.
You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
-->
<language name="ASN.1" section="Markup" version="1.00" kateversion="2.3" extensions="*.asn*.asn1" mimetype="" author="Philippe Rigault" license="GPL">
<language name="ASN.1" section="Markup" version="1.02" kateversion="2.5" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL">
<highlighting>
<list name="keywords">
<item> DEFINITIONS </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ASP" version="1.04" kateversion="2.1" section="Markup" extensions="*.asp;" mimetype="text/x-asp-src;text/x-asp-src" author="Antonio Salazar (savedfastcool@gmail.com)" license="LGPL">
<language name="ASP" version="1.05" kateversion="2.5" section="Markup" extensions="*.asp;" mimetype="text/x-asp-src;text/x-asp-src" author="Antonio Salazar (savedfastcool@gmail.com)" license="LGPL">
<highlighting>
<list name="control structures">
<item>select</item>

@ -16,7 +16,7 @@ Version: 1.0
-->
<language name="Asterisk" version="1.00" kateversion="2.4" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL">
<language name="Asterisk" version="1.01" kateversion="2.5" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL">
<highlighting>
<list name="keywords">
<item>AGI</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="AWK" version="0.91" kateversion="2.3" section="Scripts" extensions="*.awk" mimetype="text/x-awk">
<language name="AWK" version="0.93" kateversion="2.5" section="Scripts" extensions="*.awk" mimetype="text/x-awk">
<highlighting>
<list name="keywords">
<item>if</item>
@ -77,6 +77,7 @@
<Float attribute="Float" context="#stay"/>
<Int attribute="Decimal" context="#stay"/>
<RegExpr String="\$[A-Za-z0-9_]+" attribute="Field" context="#stay"/>
<HlCStringChar attribute="Base" context="#stay"/>
</context>
<context name="String" attribute="String" lineEndContext="#stay">

@ -8,11 +8,12 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
<language name="Bash" version="2.14" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<language name="Bash" version="2.18" kateversion="2.5" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
Changes by Sebastian Pipping (webmaster@hartwork.org)
Changes by Luiz Angelo Daros de Luca (luizluca@gmail.com)
Released under the LGPL, part of kdelibs/kate -->
<highlighting>
@ -479,6 +480,7 @@
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
<!-- FindCommentsParen consumes shell comments till EOL or a closing parenthese -->
@ -504,6 +506,10 @@
<!-- FindCommands matches many items that can be expected outside strings, substitutions etc. -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindCommands">
<IncludeRules context="FindSpecialCommands" />
<IncludeRules context="FindNormalCommands" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="FindSpecialCommands">
<!-- start expression in double parentheses -->
<Detect2Chars attribute="Keyword" context="ExprDblParen" char="(" char1="(" beginRegion="expression" />
<!-- start expression in double brackets -->
@ -523,20 +529,17 @@
<RegExpr attribute="Keyword" context="#stay" String="\bfi&noword;" endRegion="if" />
<!-- handle case as a special case -->
<RegExpr attribute="Keyword" context="Case" String="\bcase&noword;" beginRegion="case" />
<!-- handle command line options -->
<RegExpr attribute="Option" context="#stay" String="-[A-Za-z0-9][A-Za-z0-9_]*" />
<RegExpr attribute="Option" context="#stay" String="--[a-z][A-Za-z0-9_-]*" />
<!-- handle variable assignments -->
<RegExpr attribute="Variable" context="Assign" String="\b&varname;\+?=" />
<RegExpr attribute="Variable" context="AssignSubscr" String="\b&varname;(?=\[.+\]\+?=)" />
<!-- handle functions with function keyword before keywords -->
<StringDetect attribute="Function" context="#stay" String=":()" />
<RegExpr attribute="Keyword" context="FunctionDef" String="\bfunction\b" />
<!-- mark function definitions without function keyword -->
<RegExpr attribute="Function" context="#stay" String="&funcname;\s*\(\)" />
<!-- handle keywords -->
<keyword attribute="Keyword" context="#stay" String="keywords" />
<RegExpr attribute="Builtin" context="#stay" String="\.(?=\s)" />
<keyword attribute="Builtin" context="#stay" String="builtins" />
<keyword attribute="Command" context="#stay" String="unixcommands" />
<!-- handle commands that have variable names as argument -->
<keyword attribute="Builtin" context="VarName" String="builtins_var" />
<!-- handle here-string -->
@ -549,8 +552,58 @@
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, | and || -->
<RegExpr attribute="Control" context="#stay" String="([|&amp;])\1?" />
<!-- mark function definitions without function keyword -->
<RegExpr attribute="Function" context="#stay" String="&funcname;\s*\(\)" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="FindNormalCommands">
<keyword attribute="Builtin" context="CommandArgs" String="builtins" />
<keyword attribute="Command" context="CommandArgs" String="unixcommands" />
<RegExpr attribute="OtherCommand" context="#stay" String="&pathpart;*(?=/)" />
<RegExpr attribute="OtherCommand" context="#stay" String="~\w*" />
<RegExpr attribute="OtherCommand" context="#stay" String="/&pathpart;*(?=([/);$`'&quot;]|$))" />
<RegExpr attribute="OtherCommand" context="CommandArgs" String="/&pathpart;*(?=([\s);$`'&quot;]|$))" />
<!-- This list is not complete. ie, ":" is missing but as it is in bash completition. -->
<RegExpr attribute="OtherCommand" context="CommandArgs" String="&pathpart;*" />
</context>
<!-- CommandArgs matches the items after a command -->
<context attribute="Normal Text" lineEndContext="#pop" name="CommandArgs">
<LineContinue />
<IncludeRules context="FindMost" />
<RegExpr attribute="Keyword" context="#stay" String="\\$" />
<!-- handle keywords -->
<RegExpr attribute="Option" context="#stay" String="\.(?=\s)" />
<!-- handle here-string -->
<RegExpr attribute="Redirection" context="#stay" String="\d*&lt;&lt;&lt;" />
<!-- handle here document -->
<StringDetect attribute="Redirection" context="HereDoc" String="&lt;&lt;" lookAhead="true" />
<!-- handle process subst -->
<RegExpr attribute="Redirection" context="ProcessSubst" String="[&lt;&gt;]\(" />
<!-- handle redirection -->
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, | and || -->
<RegExpr attribute="Control" context="#pop" String="([|&amp;;])\1?" />
<RegExpr attribute="Option" context="#stay" String="-?-[a-z][A-Za-z0-9_-]*" />
<keyword attribute="Option" context="#stay" String="keywords" />
<AnyChar String=")}" context="#pop" lookAhead="true"/>
</context>
<!-- FindCommands matches many items that can be expected outside strings, substitutions etc, when inside a Backquote -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindCommandsBackq">
<IncludeRules context="FindSpecialCommands" />
<IncludeRules context="FindNormalCommandsBackq" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="FindNormalCommandsBackq">
<keyword attribute="Builtin" context="CommandArgsBackq" String="builtins" />
<keyword attribute="Command" context="CommandArgsBackq" String="unixcommands" />
<RegExpr attribute="OtherCommand" context="#stay" String="&pathpart;*(?=/)" />
<RegExpr attribute="OtherCommand" context="#stay" String="~\w*" />
<RegExpr attribute="OtherCommand" context="#stay" String="/&pathpart;*(?=([/);$`'&quot;]|$))" />
<RegExpr attribute="OtherCommand" context="CommandArgsBackq" String="/&pathpart;*(?=([\s);$`'&quot;]|$))" />
<RegExpr attribute="OtherCommand" context="CommandArgsBackq" String="&pathpart;*" />
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="CommandArgsBackq">
<LineContinue />
<DetectChar attribute="Keyword" context="#pop" char="`" lookAhead="true"/>
<IncludeRules context="CommandArgs" />
</context>
<!-- FindOthers contains various rules to mark different shell input -->
@ -803,7 +856,7 @@
<context attribute="Normal Text" lineEndContext="#stay" name="SubstBackq">
<DetectChar attribute="Backquote" context="#pop" char="`" />
<IncludeRules context="FindCommentsBackq" />
<IncludeRules context="FindCommands" />
<IncludeRules context="FindCommandsBackq" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindSubstitutions" />
<IncludeRules context="FindOthers" />
@ -875,23 +928,24 @@
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Control" defStyleNum="dsKeyword" />
<itemData name="Builtin" defStyleNum="dsKeyword" color="#808" />
<itemData name="Command" defStyleNum="dsKeyword" color="#c0c" />
<itemData name="Redirection" defStyleNum="dsKeyword" color="#238" />
<itemData name="Escape" defStyleNum="dsDataType" />
<itemData name="String SingleQ" defStyleNum="dsString" />
<itemData name="String DoubleQ" defStyleNum="dsString" />
<itemData name="Backquote" defStyleNum="dsKeyword" />
<itemData name="String Transl." defStyleNum="dsString" />
<itemData name="String Escape" defStyleNum="dsDataType" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Control" defStyleNum="dsKeyword" />
<itemData name="Builtin" defStyleNum="dsKeyword" color="#808" />
<itemData name="Command" defStyleNum="dsKeyword" color="#c0c" />
<itemData name="OtherCommand" defStyleNum="dsKeyword" color="#303" />
<itemData name="Redirection" defStyleNum="dsKeyword" color="#238" />
<itemData name="Escape" defStyleNum="dsDataType" />
<itemData name="String SingleQ" defStyleNum="dsString" />
<itemData name="String DoubleQ" defStyleNum="dsString" />
<itemData name="Backquote" defStyleNum="dsKeyword" />
<itemData name="String Transl." defStyleNum="dsString" />
<itemData name="String Escape" defStyleNum="dsDataType" />
<itemData name="Variable" defStyleNum="dsOthers" />
<itemData name="Expression" defStyleNum="dsOthers" />
<itemData name="Expression" defStyleNum="dsOthers" />
<itemData name="Function" defStyleNum="dsFunction" />
<itemData name="Path" defStyleNum="dsNormal" />
<itemData name="Option" defStyleNum="dsNormal" />
<itemData name="Error" defStyleNum="dsError" />
<itemData name="Path" defStyleNum="dsNormal" />
<itemData name="Option" defStyleNum="dsNormal" />
<itemData name="Error" defStyleNum="dsError" />
</itemDatas>
</highlighting>
<general>

@ -6,7 +6,7 @@
<!ENTITY latexCmd "\\([a-zA-Z@]+|[^ ])">
<!ENTITY refKeyFormat "[a-zA-Z0-9_@\\-\\:]+"> <!--taken from kile 2.0.3-->
]>
<language name="BibTeX" version="1.17" kateversion="2.3" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL">
<language name="BibTeX" version="1.18" kateversion="2.5" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL">
<highlighting>
<list name="kw_entry">
<item>@article</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="B-Method" version="0.1" kateversion="2.4" section="Scientific" extensions="*.mch;*.imp;*.ref" author="Ivo Anjo (knuckles@gmail.com)" license="LGPL">
<language name="B-Method" version="0.3" kateversion="2.5" section="Scientific" extensions="*.mch;*.imp;*.ref" author="Ivo Anjo (knuckles@gmail.com)" license="LGPL">
<highlighting>
<list name="sections">
@ -59,7 +59,7 @@
<item> NAT1 </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text">
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text">
<keyword attribute="SectionKeyword" context="#stay" String="sections" column="0"/>
<keyword attribute="SectionKeyword" context="#stay" String="sectionsBlockStart" column="0" beginRegion="sectionsBlock"/>
<keyword attribute="SectionKeyword" context="#stay" String="sectionsBlockEnd" column="0" endRegion="sectionsBlock"/>
@ -93,4 +93,4 @@
<keywords casesensitive="1"/>
</general>
</language>
</language>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="C" section="Sources"
version="1.44" kateversion="2.4"
version="1.46" kateversion="2.5"
indenter="cstyle"
extensions="*.c;*.C;*.h"
mimetype="text/x-csrc;text/x-c++src;text/x-chdr"
@ -123,6 +123,11 @@
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*if(?:def|ndef)?(?=\s+\S)" insensitive="true" beginRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*endif" insensitive="true" endRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Define" String="#\s*define.*((?=\\))" insensitive="true" firstNonSpace="true" />
<!-- folding for apple style #pragma mark - label -->
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*pragma\s+mark\s+-\s*$" insensitive="true" firstNonSpace="true" endRegion="pragma_mark" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*pragma\s+mark" insensitive="true" firstNonSpace="true" endRegion="pragma_mark" beginRegion="pragma_mark" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*(?:el(?:se|if)|include(?:_next)?|define|undef|line|error|warning|pragma)" insensitive="true" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s+[0-9]+" insensitive="true" firstNonSpace="true" />
</context>
@ -133,6 +138,7 @@
<RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/" />
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Define">

@ -0,0 +1,653 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="CleanCSS" version="1.01" kateversion="2.5" section="Markup" extensions="*.ccss" author="Massimiliano Torromeo" license="BSD">
<highlighting>
<list name="properties">
<!-- CSS2 -->
<item> azimuth </item>
<item> background </item>
<item> background-attachment </item>
<item> background-color </item>
<item> background-image </item>
<item> background-position </item>
<item> background-repeat </item>
<item> border </item>
<item> border-bottom </item>
<item> border-bottom-color </item>
<item> border-bottom-style </item>
<item> border-bottom-width </item>
<item> border-collapse </item>
<item> border-color </item>
<item> border-left </item>
<item> border-left-color </item>
<item> border-left-style </item>
<item> border-left-width </item>
<item> border-right </item>
<item> border-right-color </item>
<item> border-right-style </item>
<item> border-right-width </item>
<item> border-spacing </item>
<item> border-style </item>
<item> border-top </item>
<item> border-top-color </item>
<item> border-top-style </item>
<item> border-top-width </item>
<item> border-width </item>
<item> bottom </item>
<item> caption-side </item>
<item> clear </item>
<item> clip </item>
<item> color </item>
<item> content </item>
<item> counter-increment </item>
<item> counter-reset </item>
<item> cue </item>
<item> cue-after </item>
<item> cue-before </item>
<item> cursor </item>
<item> direction </item>
<item> display </item>
<item> elevation </item>
<item> empty-cells </item>
<item> float </item>
<item> font </item>
<item> font-family </item>
<item> font-size </item>
<item> font-size-adjust </item>
<item> font-stretch </item>
<item> font-style </item>
<item> font-variant </item>
<item> font-weight </item>
<item> height </item>
<item> left </item>
<item> letter-spacing </item>
<item> line-height </item>
<item> list-style </item>
<item> list-style-image </item>
<item> list-style-keyword </item>
<item> list-style-position </item>
<item> list-style-type </item>
<item> margin </item>
<item> margin-bottom </item>
<item> margin-left </item>
<item> margin-right </item>
<item> margin-top </item>
<item> marker-offset </item>
<item> max-height </item>
<item> max-width </item>
<item> min-height </item>
<item> min-width </item>
<item> orphans </item>
<item> outline </item>
<item> outline-color </item>
<item> outline-style </item>
<item> outline-width </item>
<item> overflow </item>
<item> padding </item>
<item> padding-bottom </item>
<item> padding-left </item>
<item> padding-right </item>
<item> padding-top </item>
<item> page </item>
<item> page-break-after </item>
<item> page-break-before </item>
<item> page-break-inside </item>
<item> pause </item>
<item> pause-after </item>
<item> pause-before </item>
<item> pitch </item>
<item> pitch-range </item>
<item> play-during </item>
<item> position </item>
<item> quotes </item>
<item> richness </item>
<item> right </item>
<item> size </item>
<item> speak </item>
<item> speak-header </item>
<item> speak-numeral </item>
<item> speak-punctuation </item>
<item> speech-rate </item>
<item> stress </item>
<item> table-layout </item>
<item> text-align </item>
<item> text-decoration </item>
<item> text-decoration-color </item>
<item> text-indent </item>
<item> text-shadow </item>
<item> text-transform </item>
<item> top </item>
<item> unicode-bidi </item>
<item> vertical-align </item>
<item> visibility </item>
<item> voice-family </item>
<item> volume </item>
<item> white-space </item>
<item> widows </item>
<item> width </item>
<item> word-spacing </item>
<item> z-index </item>
<!-- CSS3 -->
<item> border-bottom-image </item>
<item> border-bottom-left-image </item>
<item> border-bottom-left-radius </item>
<item> border-bottom-right-image </item>
<item> border-bottom-right-radius </item>
<item> border-corner-image </item>
<item> border-image </item>
<item> border-left-image </item>
<item> border-radius </item>
<item> border-right-image </item>
<item> border-top-image </item>
<item> border-top-left-image </item>
<item> border-top-left-radius </item>
<item> border-top-right-image </item>
<item> border-top-right-radius </item>
<item> box-align </item>
<item> box-shadow </item>
<item> box-sizing </item>
<item> box-orient </item>
<item> box-pack </item>
<item> opacity </item>
<item> outline-offset </item>
<item> overflow-x </item>
<item> overflow-y </item>
<item> text-overflow </item>
<item> text-shadow </item>
<!-- Gecko rendering engine CSS property extensions -->
<item> -moz-border-bottom-colors </item>
<item> -moz-border-left-colors </item>
<item> -moz-border-radius </item>
<item> -moz-border-right-colors </item>
<item> -moz-border-top-colors </item>
<item> -moz-box-flex </item>
<!-- Opera rendering engine CSS property extensions -->
<item> -o-background-size </item>
<item> -o-text-overflow </item>
<!-- konq specific -->
<item> -khtml-background-size </item>
<item> konq_bgpos_x </item>
<item> konq_bgpos_y </item>
<!-- Webkit rendering engine CSS property extensions -->
<item> -webkit-background-size </item>
<item> -webkit-border-radius </item>
<!-- MS rendering engine CSS properties -->
<item> filter </item>
<item> -ms-filter </item>
<!-- font properties in @font-face -->
<item> font-family </item>
<item> font-size </item>
<item> font-stretch </item>
<item> font-style </item>
<item> font-variant </item>
<item> font-weight </item>
<item> unicode-range </item>
<item> units-per-em </item>
<item> src </item>
<item> panose-1 </item>
<item> stemv </item>
<item> stemh </item>
<item> slope </item>
<item> cap-height </item>
<item> x-height </item>
<item> ascent </item>
<item> descent </item>
<item> widths </item>
<item> bbox </item>
<item> definition-src </item>
<item> baseline </item>
<item> centerline </item>
<item> mathline </item>
<item> topline </item>
</list>
<list name="types">
<item> inherit </item>
<item> none </item>
<item> hidden </item>
<item> dotted </item>
<item> dashed </item>
<item> solid </item>
<item> double </item>
<item> groove </item>
<item> ridge </item>
<item> inset </item>
<item> outset </item>
<item> xx-small </item>
<item> x-small </item>
<item> small </item>
<item> medium </item>
<item> large </item>
<item> x-large </item>
<item> xx-large </item>
<item> smaller </item>
<item> larger </item>
<item> italic </item>
<item> oblique </item>
<item> small-caps </item>
<item> normal </item>
<item> bold </item>
<item> bolder </item>
<item> lighter </item>
<item> light </item>
<item> 100 </item>
<item> 200 </item>
<item> 300 </item>
<item> 400 </item>
<item> 500 </item>
<item> 600 </item>
<item> 700 </item>
<item> 800 </item>
<item> 900 </item>
<item> transparent </item>
<item> repeat </item>
<item> repeat-x </item>
<item> repeat-y </item>
<item> no-repeat </item>
<item> baseline </item>
<item> sub </item>
<item> super </item>
<item> top </item>
<item> text-top </item>
<item> middle </item>
<item> bottom </item>
<item> text-bottom </item>
<item> left </item>
<item> right </item>
<item> center </item>
<item> justify </item>
<item> konq-center </item>
<item> disc </item>
<item> circle </item>
<item> square </item>
<item> box </item>
<item> decimal </item>
<item> decimal-leading-zero </item>
<item> lower-roman </item>
<item> upper-roman </item>
<item> lower-greek </item>
<item> lower-alpha </item>
<item> lower-latin </item>
<item> upper-alpha </item>
<item> upper-latin </item>
<item> hebrew </item>
<item> armenian </item>
<item> georgian </item>
<item> cjk-ideographic </item>
<item> hiragana </item>
<item> katakana </item>
<item> hiragana-iroha </item>
<item> katakana-iroha </item>
<item> inline </item>
<item> inline-block </item>
<item> block </item>
<item> list-item </item>
<item> run-in </item>
<item> compact </item>
<item> marker </item>
<item> table </item>
<item> inline-table </item>
<item> table-row-group </item>
<item> table-header-group </item>
<item> table-footer-group </item>
<item> table-row </item>
<item> table-column-group </item>
<item> table-column </item>
<item> table-cell </item>
<item> table-caption </item>
<item> auto </item>
<item> crosshair </item>
<item> default </item>
<item> pointer </item>
<item> move </item>
<item> e-resize </item>
<item> ne-resize </item>
<item> nw-resize </item>
<item> n-resize </item>
<item> se-resize </item>
<item> sw-resize </item>
<item> s-resize </item>
<item> w-resize </item>
<item> text </item>
<item> wait </item>
<item> help </item>
<item> above </item>
<item> absolute </item>
<item> always </item>
<item> avoid </item>
<item> below </item>
<item> bidi-override </item>
<item> blink </item>
<item> both </item>
<item> capitalize </item>
<item> caption </item>
<item> clip </item>
<item> close-quote </item>
<item> collapse </item>
<item> condensed </item>
<item> crop </item>
<item> cross </item>
<item> ellipsis </item>
<item> ellipsis-word </item>
<item> embed </item>
<item> expanded </item>
<item> extra-condensed </item>
<item> extra-expanded </item>
<item> fixed </item>
<item> hand </item>
<item> hide </item>
<item> higher </item>
<item> icon </item>
<item> inside </item>
<item> invert </item>
<item> landscape </item>
<item> level </item>
<item> line-through </item>
<item> loud </item>
<item> lower </item>
<item> lowercase </item>
<item> ltr </item>
<item> menu </item>
<item> message-box </item>
<item> mix </item>
<item> narrower </item>
<item> no-close-quote </item>
<item> no-open-quote </item>
<item> nowrap </item>
<item> open-quote </item>
<item> outside </item>
<item> overline </item>
<item> portrait </item>
<item> pre </item>
<item> pre-line </item>
<item> pre-wrap </item>
<item> relative </item>
<item> rtl </item>
<item> scroll </item>
<item> semi-condensed </item>
<item> semi-expanded </item>
<item> separate </item>
<item> show </item>
<item> small-caption </item>
<item> static </item>
<item> static-position </item>
<item> status-bar </item>
<item> thick </item>
<item> thin </item>
<item> ultra-condensed </item>
<item> ultra-expanded </item>
<item> underline </item>
<item> uppercase </item>
<item> visible </item>
<item> wider </item>
<item> break </item>
<item> serif </item>
<item> sans-serif </item>
<item> cursive </item>
<item> fantasy </item>
<item> monospace </item>
<item> border-box </item>
<item> content-box </item>
<item> horizontal </item>
<!-- Gecko rendering engine CSS value extensions -->
<item> -moz-box </item>
<!-- Webkit rendering engine CSS value extensions -->
<item> linear </item>
<item> radial </item>
</list>
<list name="colors">
<item> aqua </item>
<item> black </item>
<item> blue </item>
<item> fuchsia </item>
<item> gray </item>
<item> green </item>
<item> lime </item>
<item> maroon </item>
<item> navy </item>
<item> olive </item>
<item> purple </item>
<item> red </item>
<item> silver </item>
<item> teal </item>
<item> white </item>
<item> yellow </item>
<item> ActiveBorder </item>
<item> ActiveCaption </item>
<item> AppWorkspace </item>
<item> Background </item>
<item> ButtonFace </item>
<item> ButtonHighlight </item>
<item> ButtonShadow </item>
<item> ButtonText </item>
<item> CaptionText </item>
<item> GrayText </item>
<item> Highlight </item>
<item> HighlightText </item>
<item> InactiveBorder </item>
<item> InactiveCaption </item>
<item> InactiveCaptionText </item>
<item> InfoBackground </item>
<item> InfoText </item>
<item> Menu </item>
<item> MenuText </item>
<item> Scrollbar </item>
<item> ThreeDDarkShadow </item>
<item> ThreeDFace </item>
<item> ThreeDHighlight </item>
<item> ThreeDLightShadow </item>
<item> ThreeDShadow </item>
<item> Window </item>
<item> WindowFrame </item>
<item> WindowText </item>
</list>
<list name="paren">
<item> url </item>
<item> attr </item>
<item> rect </item>
<item> rgb </item>
<item> rgba </item>
<item> hsl </item>
<item> hsla </item>
<item> counter </item>
<item> counters </item>
<!-- in @font-face -->
<item> local </item>
<item> format </item>
<!-- Webkit rendering engine CSS value extensions -->
<item> -webkit-gradient </item>
<item> color-stop </item>
<!-- Gecko rendering engine CSS value extensions -->
<item> -moz-linear-gradient </item>
<item> -moz-radial-gradient </item>
<!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->
<item> expression </item>
<item> progid:DXImageTransform.Microsoft.gradient </item>
</list>
<list name="mediatypes">
<item> all </item>
<item> aural </item>
<item> braille </item>
<item> embossed </item>
<item> handheld </item>
<item> print </item>
<item> projection </item>
<item> screen </item>
<item> tty </item>
<item> tv </item>
</list>
<list name="pseudoclasses">
<item> hover </item>
<item> link </item>
<item> visited </item>
<item> active </item>
<item> focus </item>
<item> first-child </item>
<item> last-child </item>
<item> only-child </item>
<item> first-of-type </item>
<item> last-of-type </item>
<item> only-of-type </item>
<item> first-letter </item>
<item> first-line </item>
<item> before </item>
<item> after </item>
<item> selection </item>
<item> root </item>
<item> empty </item>
<item> target </item>
<item> enabled </item>
<item> disabled </item>
<item> checked </item>
<item> indeterminate </item>
<item> nth-child </item>
<item> nth-last-child </item>
<item> nth-of-type </item>
<item> nth-last-of-type </item>
<item> not </item>
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Comment" char="/" char1="/" context="Comment" />
<RegExpr attribute="Normal Text" String=".*\S.*:\s*$" context="Selector" lookAhead="true" />
<RegExpr attribute="Normal Text" String=".*\S.*:.*\S.*$" context="RuleSet" lookAhead="true" />
<RegExpr attribute="Property" String="[a-z\-]+-&gt;\s*$" context="#stay" />
<RegExpr attribute="Error" context="#stay" String="\S" />
<!--<keyword attribute="Property" context="Rule" String="properties" />
<keyword attribute="Property" context="Rule" String="properties" />-->
<!--<keyword attribute="Value" context="#stay" String="types" />
<keyword attribute="Value" context="#stay" String="colors" />-->
<!--<keyword attribute="Value" context="PropParen" String="paren" />-->
</context>
<context name="Comment" attribute="Comment" lineEndContext="#pop" />
<context name="Selector" attribute="Normal Text" lineEndContext="#pop">
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
<RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />
<keyword attribute="Media" context="#stay" String="mediatypes" />
</context>
<context name="SelAttr" attribute="Selector Attr" lineEndContext="#pop">
<DetectChar attribute="Selector Attr" context="#pop" char="]" />
<IncludeRules context="FindStrings" />
</context>
<context name="SelPseudo" attribute="Selector Pseudo" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />
</context>
<context name="RuleSet" attribute="Normal Text" lineEndContext="#pop">
<keyword attribute="Property" context="Rule" String="properties" />
<RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="Rule" attribute="Normal Text" lineEndContext="#pop">
<DetectChar attribute="Property" context="Rule2" char=":" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="Rule2" attribute="Normal Text" lineEndContext="#pop">
<keyword attribute="Value" context="#stay" String="types" />
<keyword attribute="Value" context="#stay" String="colors" />
<RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />
<keyword attribute="Value" context="PropParen" String="paren" />
<RegExpr attribute="Important" context="#stay" String="!important\b" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
</context>
<context name="PropParen" attribute="Normal Text" lineEndContext="#pop">
<DetectChar attribute="Value" context="PropParen2" char="(" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="PropParen2" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="Rule2" />
<DetectChar attribute="Value" context="#pop#pop" char=")" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="FindValues">
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|px|in|cm|mm|pt|pc|deg|rad|grad|ms|s|Hz|kHz)\b" />
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />
<RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />
</context>
<context name="FindStrings" attribute="Normal Text" lineEndContext="#pop">
<DetectChar attribute="String" context="StringDQ" char="&quot;" />
<DetectChar attribute="String" context="StringSQ" char="'" />
</context>
<!-- string contexts -->
<context name="StringDQ" attribute="String" lineEndContext="#pop">
<DetectChar attribute="String" context="#pop" char="&quot;" />
<IncludeRules context="InsideString" />
</context>
<context name="StringSQ" attribute="String" lineEndContext="#pop">
<DetectChar attribute="String" context="#pop" char="'" />
<IncludeRules context="InsideString" />
</context>
<context name="InsideString" attribute="String" lineEndContext="#pop">
<RegExpr attribute="String" context="#stay" String="\\[&quot;']" />
<DetectIdentifier/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Property" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1" spellChecking="false"/>
<itemData name="Media" defStyleNum="dsDecVal" bold="1" spellChecking="false"/>
<itemData name="At Rule" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Value" defStyleNum="dsDataType" spellChecking="false"/>
<itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="Selector Id" defStyleNum="dsFloat" bold="1" spellChecking="false"/>
<itemData name="Selector Class" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
<itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>
<folding indentationsensitive="1" />
<keywords casesensitive="0" weakDeliminator="-%"/>
<comments>
<comment name="singleLine" start="#" position="afterwhitespace"/>
<comment name="singleLine" start="//" position="afterwhitespace"/>
</comments>
</general>
</language>

@ -20,7 +20,7 @@
* Added FACE sementic for the new fp40 profile
-->
<language name="Cg" section="Sources" extensions="*.cg" mimetype="text/x-cgsrc" version="1.11" kateversion="2.4" author="Florian Schanda (florian.schanda@schanda.de)" license="LGPL">
<language name="Cg" section="Sources" extensions="*.cg" mimetype="text/x-cgsrc" version="1.12" kateversion="2.5" author="Florian Schanda (florian.schanda@schanda.de)" license="LGPL">
<highlighting>
<list name="binding">
<item>POSITION</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="CGiS" version="1.02" kateversion="2.4" section="Sources" extensions="*.cgis" mimetype="">
<language name="CGiS" version="1.03" kateversion="2.5" section="Sources" extensions="*.cgis" mimetype="">
<highlighting>
<list name="keywords">
<item> 1D </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ChangeLog" version="1.04" kateversion="2.4" section="Other" extensions="ChangeLog" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<language name="ChangeLog" version="1.05" kateversion="2.5" section="Other" extensions="ChangeLog" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<highlighting>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">

@ -0,0 +1,437 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
This file is part of TDE's kate project.
copyright : (C) 2004-2005 by Dominik Haumann
email : dhdev at gmx dot de
copyright : (C) 2004 by Goffart Olivier
email : ogoffart @ kde.org
(brackets coloration)
**********************************************************************
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; if not, write to the *
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *
* Boston, MA 02110-1301, USA. *
**********************************************************************
NOTE:
This file defines highlighting rules for both Scheme AND Guile.
Scheme usually has no block comments. Guile has block comments: #! !#
I support these block comments: "Good design means good compromises" :)
Singleline comments are introduced through ';'. In reality EVERY
scheme/guile developer use ';;'. It is indented in emacs in a special way.
That's why I set <comment singleLine=";;">.
As a guile guru tole me it would not make sense to highlight all scheme and
guile procedures (cause then almost everything would be highlighted) I
removed some to have a rather small but "senseful" list of highlighted words.
-->
<language version="1.13" kateversion="2.5"
name="Chicken" section="Scripts"
extensions="*.chicken;*.scm;*.ss;*.scheme;*.meta"
indenter="lisp"
mimetype="text/x-scheme"
author="Dominik Haumann (dhdev@gmx.de) [modified for Chicken by Nick Zarczynski (jacktradespublic@gmail.com)]"
license="LGPL">
<highlighting>
<list name="operators">
<item> &lt;= </item>
<item> &lt; </item>
<item> = </item>
<item> =&gt; </item>
<item> &gt;= </item>
<item> &gt; </item>
<item> - </item>
<item> / </item>
<item> *,* </item>
<item> *) </item>
<item> + </item>
</list>
<list name="characters">
<item> #\nul </item>
<item> #\soh </item>
<item> #\stx </item>
<item> #\etx </item>
<item> #\eot </item>
<item> #\enq </item>
<item> #\ack </item>
<item> #\bel </item>
<item> #\bs </item>
<item> #\ht </item>
<item> #\nl </item>
<item> #\vt </item>
<item> #\np </item>
<item> #\cr </item>
<item> #\so </item>
<item> #\si </item>
<item> #\dle </item>
<item> #\dc1 </item>
<item> #\dc2 </item>
<item> #\dc3 </item>
<item> #\dc4 </item>
<item> #\nak </item>
<item> #\syn </item>
<item> #\etb </item>
<item> #\can </item>
<item> #\em </item>
<item> #\sub </item>
<item> #\esc </item>
<item> #\fs </item>
<item> #\gs </item>
<item> #\rs </item>
<item> #\us </item>
<item> #\space </item>
<item> #\sp </item>
<item> #\newline </item>
<item> #\nl </item>
<item> #\tab </item>
<item> #\ht </item>
<item> #\backspace </item>
<item> #\bs </item>
<item> #\return </item>
<item> #\cr </item>
<item> #\page </item>
<item> #\np </item>
<item> #\null </item>
<item> #\nul </item>
</list>
<list name="defines">
<item> define </item>
<item> define* </item>
<item> define-accessor </item>
<item> define-class </item>
<item> defined? </item>
<item> define-generic </item>
<item> define-macro </item>
<item> define-method </item>
<item> define-module </item>
<item> define-private </item>
<item> define-public </item>
<item> define*-public </item>
<item> define-reader-ctor </item>
<item> define-syntax </item>
<item> define-syntax-macro </item>
<item> defmacro </item>
<item> defmacro* </item>
<item> defmacro*-public </item>
</list>
<list name="keywords">
<item> abs </item>
<item> acos </item>
<item> and </item>
<item> angle </item>
<item> append </item>
<item> applymap </item>
<item> asin </item>
<item> assoc </item>
<item> assq </item>
<item> assv </item>
<item> atan </item>
<item> begin </item>
<item> boolean? </item>
<item> break </item>
<item> caaaar </item>
<item> caaadr </item>
<item> caaar </item>
<item> caadar </item>
<item> caaddr </item>
<item> caadr </item>
<item> caar </item>
<item> cadaar </item>
<item> cadadr </item>
<item> cadar </item>
<item> caddar </item>
<item> cadddr </item>
<item> caddr </item>
<item> cadr </item>
<item> call/cc </item>
<item> call-with-current-continuation </item>
<item> call-with-input-file </item>
<item> call-with-output-file </item>
<item> call-with-values </item>
<item> car </item>
<item> case </item>
<item> catch </item>
<item> cdaaar </item>
<item> cdaadr </item>
<item> cdaar </item>
<item> cdadar </item>
<item> cdaddr </item>
<item> cdadr </item>
<item> cdar </item>
<item> cddaar </item>
<item> cddadr </item>
<item> cddar </item>
<item> cdddar </item>
<item> cddddr </item>
<item> cdddr </item>
<item> cddr </item>
<item> cdr </item>
<item> ceiling </item>
<item> char-alphabetic? </item>
<item> char-ci&gt;=? </item>
<item> char-ci&gt;? </item>
<item> char-ci=? </item>
<item> char-ci&lt;=? </item>
<item> char-downcase </item>
<item> char-&gt;integer </item>
<item> char&gt;=? </item>
<item> char&gt;? </item>
<item> char=? </item>
<item> char? </item>
<item> char-lower-case? </item>
<item> char&lt;?c </item>
<item> char&lt;=? </item>
<item> char-numeric? </item>
<item> char-ready? </item>
<item> char-upcase </item>
<item> char-upper-case? </item>
<item> char-whitespace? </item>
<item> close-input-port </item>
<item> close-output-port </item>
<item> complex? </item>
<item> cond </item>
<item> cons </item>
<item> continue </item>
<item> cos </item>
<item> current-input-port </item>
<item> current-output-port </item>
<item> denominator </item>
<item> display </item>
<item> do </item>
<item> dynamic-wind </item>
<item> else </item>
<item> eof-object? </item>
<item> eq? </item>
<item> equal? </item>
<item> eqv? </item>
<item> eval </item>
<item> even? </item>
<item> exact->inexact </item>
<item> exact? </item>
<item> exp </item>
<item> expt </item>
<item> floor </item>
<item> force </item>
<item> for-each </item>
<item> gcd </item>
<item> har-ci&lt;? </item>
<item> if </item>
<item> imag-part </item>
<item> inexact-&gt;exact </item>
<item> inexact? </item>
<item> input-port? </item>
<item> integer-&gt;char </item>
<item> integer? </item>
<item> interaction-environment </item>
<item> lambda </item>
<item> lcm </item>
<item> length </item>
<item> let </item>
<item> let* </item>
<item> letrec </item>
<item> letrec-syntax </item>
<item> let-syntax </item>
<item> list-&gt;string </item>
<item> list </item>
<item> list? </item>
<item> list-ref </item>
<item> list-tail </item>
<item> load </item>
<item> log </item>
<item> magnitude </item>
<item> make-polar </item>
<item> make-rectangular </item>
<item> make-string </item>
<item> make-vector </item>
<item> max </item>
<item> member </item>
<item> memq </item>
<item> memv </item>
<item> min </item>
<item> modulo </item>
<item> negative? </item>
<item> newline </item>
<item> not </item>
<item> null-environment </item>
<item> null? </item>
<item> number? </item>
<item> number->string </item>
<item> numerator </item>
<item> odd? </item>
<item> open-input-file </item>
<item> open-output-file </item>
<item> or </item>
<item> output-port? </item>
<item> pair? </item>
<item> peek-char </item>
<item> port? </item>
<item> positive? </item>
<item> procedure? </item>
<item> quotient </item>
<item> rational? </item>
<item> rationalize </item>
<item> read-char </item>
<item> read </item>
<item> real? </item>
<item> real-part </item>
<item> remainder </item>
<item> reverse </item>
<item> round </item>
<item> scheme-report-environment </item>
<item> set-car! </item>
<item> set-cdr! </item>
<item> sin </item>
<item> sqrt </item>
<item> string-append </item>
<item> string-ci&gt;=? </item>
<item> string-ci&gt;? </item>
<item> string-ci=? </item>
<item> string-ci&lt;=? </item>
<item> string-ci&lt;? </item>
<item> string-copy </item>
<item> string-fill! </item>
<item> string&gt;=? </item>
<item> string&gt;? </item>
<item> string-&gt;list </item>
<item> string-&gt;number </item>
<item> string-&gt;symbol </item>
<item> string=? </item>
<item> string </item>
<item> string? </item>
<item> string-length </item>
<item> string&lt;=? </item>
<item> string&lt;? </item>
<item> string-ref </item>
<item> string-set! </item>
<item> substring </item>
<item> symbol-&gt;string </item>
<item> symbol? </item>
<item> syntax-rules </item>
<item> tan </item>
<item> transcript-off </item>
<item> transcript-on </item>
<item> truncate </item>
<item> values </item>
<item> vector-fill! </item>
<item> vector-&gt;listlist->vector </item>
<item> vector </item>
<item> vector? </item>
<item> vector-length </item>
<item> vector-ref </item>
<item> vector-set! </item>
<item> while </item>
<item> with-input-from-file </item>
<item> with-output-to-file </item>
<item> write-char </item>
<item> write </item>
<item> zero? </item>
</list>
<contexts>
<context name="Level0" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets1" context="Level1" char="("/>
<IncludeRules context="Default" />
</context>
<context name="Default" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="Region Marker" context="#stay" String=";+\s*BEGIN.*$" beginRegion="region"/>
<RegExpr attribute="Region Marker" context="#stay" String=";+\s*END.*$" endRegion="region"/>
<RegExpr attribute="Comment" context="#stay" String=";.*$"/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Operator" context="#stay" String="operators"/>
<keyword attribute="Definition" context="function_decl" String="defines"/>
<keyword attribute="Char" context="#stay" String="characters"/>
<RegExpr attribute="Char" context="#stay" String="#\\."/>
<DetectChar attribute="String" context="String" char="&quot;"/>
<RegExpr attribute="Char" context="SpecialNumber" String="#[bodxei]"/>
<RegExpr attribute="Decimal" context="#stay" String="#[tf]"/>
<Float attribute="Float" context="#stay"/>
<Int attribute="Decimal" context="#stay"/>
<DetectChar attribute="Brackets1" context="Level1" char="("/>
</context>
<context name="SpecialNumber" attribute="Normal" fallthrough="true" lineEndContext="#pop">
<RegExpr attribute="Decimal" context="#pop" String="\d*(\.\d+)?"/>
</context>
<context name="String" attribute="String" lineEndContext="#stay">
<keyword attribute="Char" context="#stay" String="characters"/>
<RegExpr attribute="Char" context="#stay" String="#\\."/>
<Detect2Chars attribute="Char" context="#stay" char="\" char1="&quot;"/>
<Detect2Chars attribute="Char" context="#stay" char="\" char1="\"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
</context>
<context name="function_decl" attribute="Function" lineEndContext="#stay">
<RegExpr attribute="Function" context="#pop" String="\s*[A-Za-z0-9-+\&lt;\&gt;//\*]*\s*" />
</context>
<context name="Level1" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets2" context="Level2" char="("/>
<DetectChar attribute="Brackets1" context="#pop" char=")" />
<IncludeRules context="Default" />
</context>
<context name="Level2" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets3" context="Level3" char="("/>
<DetectChar attribute="Brackets2" context="#pop" char=")" />
<IncludeRules context="Default" />
</context>
<context name="Level3" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets4" context="Level4" char="("/>
<DetectChar attribute="Brackets3" context="#pop" char=")" />
<IncludeRules context="Default" />
</context>
<context name="Level4" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets5" context="Level5" char="("/>
<DetectChar attribute="Brackets4" context="#pop" char=")" />
<IncludeRules context="Default" />
</context>
<context name="Level5" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets6" context="Level6" char="("/>
<DetectChar attribute="Brackets5" context="#pop" char=")" />
<IncludeRules context="Default" />
</context>
<context name="Level6" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="Brackets1" context="Level1" char="("/>
<DetectChar attribute="Brackets6" context="#pop" char=")" />
<IncludeRules context="Default" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Definition" defStyleNum="dsKeyword" color="#d22811"/>
<itemData name="Operator" defStyleNum="dsKeyword" color="#d22811"/>
<itemData name="Function" defStyleNum="dsFunction"/>
<itemData name="Data" defStyleNum="dsDataType"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="BaseN" defStyleNum="dsBaseN"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Region Marker" defStyleNum="dsRegionMarker"/>
<itemData name="Brackets1" defStyleNum="dsNormal" color="#ff0000" selColor="#000000" bold="1" italic="0"/>
<itemData name="Brackets2" defStyleNum="dsNormal" color="#ff8800" selColor="#000000" bold="1" italic="0"/>
<itemData name="Brackets3" defStyleNum="dsNormal" color="#888800" selColor="#000000" bold="1" italic="0"/>
<itemData name="Brackets4" defStyleNum="dsNormal" color="#008800" selColor="#000000" bold="1" italic="0"/>
<itemData name="Brackets5" defStyleNum="dsNormal" color="#000088" selColor="#000000" bold="1" italic="0"/>
<itemData name="Brackets6" defStyleNum="dsNormal" color="#880088" selColor="#000000" bold="1" italic="0"/>
</itemDatas>
</highlighting>
<general>
<keywords casesensitive="1" weakDeliminator="-+*?!&lt;&gt;=/:#\"/>
<comments>
<comment name="singleLine" start=";;" />
</comments>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Cisco" version="1.10" kateversion="2.4" section="Configuration" extensions="*.cis" mimetype="text/cisco" author="Raphaël GRAPINET" license="LGPL">
<language name="Cisco" version="1.11" kateversion="2.5" section="Configuration" extensions="*.cis" mimetype="text/cisco" author="Raphaël GRAPINET" license="LGPL">
<highlighting>
<list name = "commands">
<item> aaa </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Clipper" version="1.05" kateversion="2.3" section="Sources" extensions="*.prg;*.PRG;*.ch" mimetype="text/x-clipper-src" priority="2" author="Andrey Cherepanov (sibskull@mail.ru)" license="GPL">
<language name="Clipper" version="1.06" kateversion="2.5" section="Sources" extensions="*.prg;*.PRG;*.ch" mimetype="text/x-clipper-src" priority="2" author="Andrey Cherepanov (sibskull@mail.ru)" license="GPL">
<highlighting>
<list name="keywords">

@ -22,7 +22,7 @@
* Boston, MA 02110-1301, USA. *
**********************************************************************
-->
<language version="2" kateversion="2.3" name="Clojure" section="Sources" extensions="*.clj" mimetype="" author="Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever" license="LGPL">
<language version="2.01" kateversion="2.5" name="Clojure" section="Sources" extensions="*.clj" mimetype="" author="Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever" license="LGPL">
<highlighting>
<list name="definitions">
<item> def </item>

@ -6,6 +6,7 @@
Copyright 2004 Alexander Neundorf (neundorf@kde.org)
Copyright 2005 Dominik Haumann (dhdev@gmx.de)
Copyright 2007,2008 Matthew Woehlke (mw_triad@users.sourceforge.net)
Copyright 2013 Alex Turbov (i.zaufi@gmail.com)
**********************************************************************
* This library is free software; you can redistribute it and/or *
@ -24,10 +25,11 @@
* Boston, MA 02110-1301, USA. *
**********************************************************************
-->
<!-- generated for "cmake version 2.8.1" -->
<language name="CMake" version="1.13" kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL">
<!-- generated for "cmake version 2.8.11.1" -->
<language name="CMake" version="1.24" kateversion="2.5" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL">
<highlighting>
<!-- ATTENTION Do not change the list name! Or change a generation script accordingly -->
<list name = "commands">
<!-- generated list -->
<item> add_custom_command </item>
@ -115,6 +117,8 @@
<item> string </item>
<item> subdir_depends </item>
<item> subdirs </item>
<item> target_compile_definitions </item>
<item> target_include_directories </item>
<item> target_link_libraries </item>
<item> try_compile </item>
<item> try_run </item>
@ -135,24 +139,24 @@
<item> vtk_wrap_tcl </item>
</list>
<!-- ATTENTION Do not change the list name! Or change a generation script accordingly -->
<list name="special_args">
<!-- generated list -->
<item> A </item>
<item> ABSOLUTE </item>
<item> AFTER </item>
<item> ALL </item>
<item> ALPHABET </item>
<item> AND </item>
<item> APPEND </item>
<item> APPEND_STRING </item>
<item> ARCHIVE </item>
<item> ARGS </item>
<item> ASCII </item>
<item> AUTHOR_WARNING </item>
<item> B </item>
<item> BEFORE </item>
<item> BRIEF_DOCS </item>
<item> BUNDLE </item>
<item> CACHE </item>
<item> CACHED_VARIABLE </item>
<item> CLEAR </item>
<item> CMAKE_FIND_ROOT_PATH_BOTH </item>
<item> CMAKE_FLAGS </item>
@ -166,12 +170,15 @@
<item> COMPILE_RESULT_VAR </item>
<item> COMPONENT </item>
<item> COMPONENTS </item>
<item> CONFIG </item>
<item> CONFIGS </item>
<item> CONFIGURATION </item>
<item> CONFIGURATIONS </item>
<item> CONFIGURE </item>
<item> COPY </item>
<item> COPYONLY </item>
<item> COPY_FILE </item>
<item> CRLF </item>
<item> DEFINED </item>
<item> DEFINITION </item>
<item> DEPENDS </item>
@ -179,6 +186,7 @@
<item> DIRECTORY </item>
<item> DIRECTORY_PERMISSIONS </item>
<item> DOC </item>
<item> DOS </item>
<item> DOWNLOAD </item>
<item> ENV </item>
<item> EQUAL </item>
@ -191,9 +199,10 @@
<item> EXCLUDE </item>
<item> EXCLUDE_FROM_ALL </item>
<item> EXISTS </item>
<item> EXPECTED_HASH </item>
<item> EXPECTED_MD5 </item>
<item> EXPORT </item>
<item> EXPR </item>
<item> EXT </item>
<item> EXTRA_INCLUDE </item>
<item> FATAL_ERROR </item>
<item> FILE </item>
@ -208,19 +217,24 @@
<item> FUNCTION </item>
<item> GET </item>
<item> GLOB </item>
<item> GLOBAL </item>
<item> GLOB_RECURSE </item>
<item> GREATER </item>
<item> GROUP_EXECUTE </item>
<item> GROUP_READ </item>
<item> GUID </item>
<item> HEX </item>
<item> HINTS </item>
<item> IMPLICIT_DEPENDS </item>
<item> IMPORTED </item>
<item> IN </item>
<item> INACTIVITY_TIMEOUT </item>
<item> INCLUDE_INTERNALS </item>
<item> INHERITED </item>
<item> INPUT_FILE </item>
<item> INSERT </item>
<item> INSTALL </item>
<item> INTERFACE </item>
<item> IS_ABSOLUTE </item>
<item> IS_DIRECTORY </item>
<item> IS_NEWER_THAN </item>
@ -230,12 +244,16 @@
<item> LENGTH_MAXIMUM </item>
<item> LENGTH_MINIMUM </item>
<item> LESS </item>
<item> LF </item>
<item> LIBRARY </item>
<item> LIMIT </item>
<item> LIMIT_COUNT </item>
<item> LIMIT_INPUT </item>
<item> LIMIT_OUTPUT </item>
<item> LINK_INTERFACE_LIBRARIES </item>
<item> LINK_LIBRARIES </item>
<item> LINK_PRIVATE </item>
<item> LINK_PUBLIC </item>
<item> LISTS </item>
<item> LOG </item>
<item> MACOSX_BUNDLE </item>
@ -244,15 +262,17 @@
<item> MATCH </item>
<item> MATCHALL </item>
<item> MATCHES </item>
<item> MD5 </item>
<item> MODULE </item>
<item> NAME </item>
<item> NAMELINK_ONLY </item>
<item> NAMELINK_SKIP </item>
<item> NAMES </item>
<item> NAMESPACE </item>
<item> NAME_WE </item>
<item> NAMES_PER_DIR </item>
<item> NEW </item>
<item> NEWLINE_CONSUME </item>
<item> NEWLINE_STYLE </item>
<item> NOT </item>
<item> NOTEQUAL </item>
<item> NO_CMAKE_BUILDS_PATH </item>
@ -260,6 +280,7 @@
<item> NO_CMAKE_FIND_ROOT_PATH </item>
<item> NO_CMAKE_PACKAGE_REGISTRY </item>
<item> NO_CMAKE_PATH </item>
<item> NO_CMAKE_SYSTEM_PACKAGE_REGISTRY </item>
<item> NO_CMAKE_SYSTEM_PATH </item>
<item> NO_DEFAULT_PATH </item>
<item> NO_HEX_CONVERSION </item>
@ -267,10 +288,12 @@
<item> NO_POLICY_SCOPE </item>
<item> NO_SOURCE_PERMISSIONS </item>
<item> NO_SYSTEM_ENVIRONMENT_PATH </item>
<item> OBJECT </item>
<item> OFFSET </item>
<item> OLD </item>
<item> ONLY_CMAKE_FIND_ROOT_PATH </item>
<item> OPTIONAL </item>
<item> OPTIONAL_COMPONENTS </item>
<item> OR </item>
<item> OUTPUT </item>
<item> OUTPUT_DIRECTORY </item>
@ -283,18 +306,19 @@
<item> OWNER_WRITE </item>
<item> PACKAGE </item>
<item> PARENT_SCOPE </item>
<item> PATH </item>
<item> PATHS </item>
<item> PATH_SUFFIXES </item>
<item> PATH_TO_MESA </item>
<item> PATTERN </item>
<item> PERMISSIONS </item>
<item> PLATFORM </item>
<item> POLICY </item>
<item> POP </item>
<item> POST_BUILD </item>
<item> PREORDER </item>
<item> PRE_BUILD </item>
<item> PRE_LINK </item>
<item> PRIVATE </item>
<item> PRIVATE_HEADER </item>
<item> PROGRAM </item>
<item> PROGRAMS </item>
@ -302,6 +326,7 @@
<item> PROJECT_NAME </item>
<item> PROPERTIES </item>
<item> PROPERTY </item>
<item> PUBLIC </item>
<item> PUBLIC_HEADER </item>
<item> PUSH </item>
<item> QUIET </item>
@ -310,7 +335,6 @@
<item> RANGE </item>
<item> READ </item>
<item> READ_WITH_PREFIX </item>
<item> REALPATH </item>
<item> REGEX </item>
<item> REGULAR_EXPRESSION </item>
<item> RELATIVE </item>
@ -337,7 +361,13 @@
<item> SCRIPT </item>
<item> SEND_ERROR </item>
<item> SET </item>
<item> SHA1 </item>
<item> SHA224 </item>
<item> SHA256 </item>
<item> SHA384 </item>
<item> SHA512 </item>
<item> SHARED </item>
<item> SHOW_PROGRESS </item>
<item> SORT </item>
<item> SOURCE </item>
<item> SOURCES </item>
@ -355,14 +385,21 @@
<item> TEST </item>
<item> TEST_VARIABLE </item>
<item> TIMEOUT </item>
<item> TIMESTAMP </item>
<item> TLS_CAINFO </item>
<item> TLS_VERIFY </item>
<item> TOLOWER </item>
<item> TOUPPER </item>
<item> TO_CMAKE_PATH </item>
<item> TO_NATIVE_PATH </item>
<item> TYPE </item>
<item> UNIX </item>
<item> UNIX_COMMAND </item>
<item> UNKNOWN </item>
<item> UPLOAD </item>
<item> USE_SOURCE_PERMISSIONS </item>
<item> UTC </item>
<item> VALUE </item>
<item> VAR </item>
<item> VAR2 </item>
<item> VARIABLE </item>
<item> VERBATIM </item>
<item> VERSION </item>
@ -371,16 +408,29 @@
<item> VERSION_LESS </item>
<item> WARNING </item>
<item> WIN32 </item>
<item> WINDOWS_COMMAND </item>
<item> WORKING_DIRECTORY </item>
<item> WRITE </item>
</list>
<!-- these are "special" and don't show up in the generated lists -->
<list name="extra_special_args">
<item> GLOBAL </item>
<!-- get_filename_component() has <COMP> placeholder for the following special args -->
<item> PATH </item>
<item> NAME </item>
<item> EXT </item>
<item> NAME_WE </item>
<item> ABSOLUTE </item>
<item> REALPATH </item>
<!-- set() has <type> placeholder for the following special args -->
<item> FILEPATH </item>
<!-- PATH already present above -->
<item> STRING </item>
<item> BOOL </item>
<item> INTERNAL </item>
</list>
<!-- ATTENTION Do not change the list name! Or change a generation script accordingly -->
<list name="properties">
<!-- generated list -->
<item> ABSTRACT </item>
@ -391,9 +441,15 @@
<item> ARCHIVE_OUTPUT_NAME </item>
<item> ATTACHED_FILES </item>
<item> ATTACHED_FILES_ON_FAIL </item>
<item> AUTOMOC </item>
<item> AUTOMOC_MOC_OPTIONS </item>
<item> BUILD_WITH_INSTALL_RPATH </item>
<item> BUNDLE </item>
<item> BUNDLE_EXTENSION </item>
<item> CACHE_VARIABLES </item>
<item> CLEAN_NO_CUSTOM </item>
<item> COMPATIBLE_INTERFACE_BOOL </item>
<item> COMPATIBLE_INTERFACE_STRING </item>
<item> COMPILE_DEFINITIONS </item>
<item> COMPILE_FLAGS </item>
<item> COST </item>
@ -408,17 +464,21 @@
<item> ENABLE_EXPORTS </item>
<item> ENVIRONMENT </item>
<item> EXCLUDE_FROM_ALL </item>
<item> EXCLUDE_FROM_DEFAULT_BUILD </item>
<item> EXTERNAL_OBJECT </item>
<item> EchoString </item>
<item> FAIL_REGULAR_EXPRESSION </item>
<item> FIND_LIBRARY_USE_LIB64_PATHS </item>
<item> FIND_LIBRARY_USE_OPENBSD_VERSIONING </item>
<item> FOLDER </item>
<item> FRAMEWORK </item>
<item> Fortran_FORMAT </item>
<item> Fortran_MODULE_DIRECTORY </item>
<item> GENERATED </item>
<item> GENERATOR_FILE_NAME </item>
<item> GLOBAL_DEPENDS_DEBUG_MODE </item>
<item> GLOBAL_DEPENDS_NO_CYCLES </item>
<item> GNUtoMS </item>
<item> HAS_CXX </item>
<item> HEADER_FILE_ONLY </item>
<item> HELPSTRING </item>
@ -431,6 +491,7 @@
<item> IMPORTED_LINK_INTERFACE_LIBRARIES </item>
<item> IMPORTED_LINK_INTERFACE_MULTIPLICITY </item>
<item> IMPORTED_LOCATION </item>
<item> IMPORTED_NO_SONAME </item>
<item> IMPORTED_SONAME </item>
<item> IMPORT_PREFIX </item>
<item> IMPORT_SUFFIX </item>
@ -439,6 +500,9 @@
<item> INSTALL_NAME_DIR </item>
<item> INSTALL_RPATH </item>
<item> INSTALL_RPATH_USE_LINK_PATH </item>
<item> INTERFACE_COMPILE_DEFINITIONS </item>
<item> INTERFACE_INCLUDE_DIRECTORIES </item>
<item> INTERFACE_POSITION_INDEPENDENT_CODE </item>
<item> INTERPROCEDURAL_OPTIMIZATION </item>
<item> IN_TRY_COMPILE </item>
<item> KEEP_EXTENSION </item>
@ -447,11 +511,15 @@
<item> LIBRARY_OUTPUT_DIRECTORY </item>
<item> LIBRARY_OUTPUT_NAME </item>
<item> LINKER_LANGUAGE </item>
<item> LINK_DEPENDS </item>
<item> LINK_DEPENDS_NO_SHARED </item>
<item> LINK_DIRECTORIES </item>
<item> LINK_FLAGS </item>
<item> LINK_INTERFACE_LIBRARIES </item>
<item> LINK_INTERFACE_MULTIPLICITY </item>
<item> LINK_LIBRARIES </item>
<item> LINK_SEARCH_END_STATIC </item>
<item> LINK_SEARCH_START_STATIC </item>
<item> LISTFILE_STACK </item>
<item> LOCATION </item>
<item> MACOSX_BUNDLE </item>
@ -461,6 +529,7 @@
<item> MACROS </item>
<item> MEASUREMENT </item>
<item> MODIFIED </item>
<item> NO_SONAME </item>
<item> OBJECT_DEPENDS </item>
<item> OBJECT_OUTPUTS </item>
<item> OSX_ARCHITECTURES </item>
@ -469,7 +538,11 @@
<item> PACKAGES_NOT_FOUND </item>
<item> PARENT_DIRECTORY </item>
<item> PASS_REGULAR_EXPRESSION </item>
<item> PDB_NAME </item>
<item> PDB_OUTPUT_DIRECTORY </item>
<item> POSITION_INDEPENDENT_CODE </item>
<item> POST_INSTALL_SCRIPT </item>
<item> PREDEFINED_TARGETS_FOLDER </item>
<item> PREFIX </item>
<item> PRE_INSTALL_SCRIPT </item>
<item> PRIVATE_HEADER </item>
@ -479,6 +552,7 @@
<item> REPORT_UNDEFINED_PROPERTIES </item>
<item> REQUIRED_FILES </item>
<item> RESOURCE </item>
<item> RESOURCE_LOCK </item>
<item> RULE_LAUNCH_COMPILE </item>
<item> RULE_LAUNCH_CUSTOM </item>
<item> RULE_LAUNCH_LINK </item>
@ -498,15 +572,23 @@
<item> TEST_INCLUDE_FILE </item>
<item> TIMEOUT </item>
<item> TYPE </item>
<item> USE_FOLDERS </item>
<item> VALUE </item>
<item> VARIABLES </item>
<item> VERSION </item>
<item> VS_DOTNET_REFERENCES </item>
<item> VS_GLOBAL_KEYWORD </item>
<item> VS_GLOBAL_PROJECT_TYPES </item>
<item> VS_KEYWORD </item>
<item> VS_SCC_AUXPATH </item>
<item> VS_SCC_LOCALPATH </item>
<item> VS_SCC_PROJECTNAME </item>
<item> VS_SCC_PROVIDER </item>
<item> VS_WINRT_EXTENSIONS </item>
<item> VS_WINRT_REFERENCES </item>
<item> WILL_FAIL </item>
<item> WIN32_EXECUTABLE </item>
<item> WORKING_DIRECTORY </item>
<item> WRAP_EXCLUDE </item>
<item> __CMAKE_DELETE_CACHE_CHANGE_VARS_ </item>
</list>
@ -517,9 +599,218 @@
<item> DEFINITION </item>
</list>
<!-- ATTENTION Do not change the list name! Or change a generation script accordingly -->
<list name="cmake_vars">
<!-- generated list -->
<item> APPLE </item>
<item> BORLAND </item>
<item> BUILD_SHARED_LIBS </item>
<item> CMAKE_ABSOLUTE_DESTINATION_FILES </item>
<item> CMAKE_AR </item>
<item> CMAKE_ARCHIVE_OUTPUT_DIRECTORY </item>
<item> CMAKE_ARGC </item>
<item> CMAKE_ARGV0 </item>
<item> CMAKE_AUTOMOC </item>
<item> CMAKE_AUTOMOC_MOC_OPTIONS </item>
<item> CMAKE_AUTOMOC_RELAXED_MODE </item>
<item> CMAKE_BACKWARDS_COMPATIBILITY </item>
<item> CMAKE_BINARY_DIR </item>
<item> CMAKE_BUILD_TOOL </item>
<item> CMAKE_BUILD_TYPE </item>
<item> CMAKE_BUILD_WITH_INSTALL_RPATH </item>
<item> CMAKE_CACHEFILE_DIR </item>
<item> CMAKE_CACHE_MAJOR_VERSION </item>
<item> CMAKE_CACHE_MINOR_VERSION </item>
<item> CMAKE_CACHE_PATCH_VERSION </item>
<item> CMAKE_CFG_INTDIR </item>
<item> CMAKE_CL_64 </item>
<item> CMAKE_COLOR_MAKEFILE </item>
<item> CMAKE_COMMAND </item>
<item> CMAKE_COMPILER_2005 </item>
<item> CMAKE_CONFIGURATION_TYPES </item>
<item> CMAKE_CROSSCOMPILING </item>
<item> CMAKE_CTEST_COMMAND </item>
<item> CMAKE_CURRENT_BINARY_DIR </item>
<item> CMAKE_CURRENT_LIST_DIR </item>
<item> CMAKE_CURRENT_LIST_FILE </item>
<item> CMAKE_CURRENT_LIST_LINE </item>
<item> CMAKE_CURRENT_SOURCE_DIR </item>
<item> CMAKE_DEBUG_POSTFIX </item>
<item> CMAKE_DEBUG_TARGET_PROPERTIES </item>
<item> CMAKE_DL_LIBS </item>
<item> CMAKE_EDIT_COMMAND </item>
<item> CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION </item>
<item> CMAKE_EXECUTABLE_SUFFIX </item>
<item> CMAKE_EXE_LINKER_FLAGS </item>
<item> CMAKE_EXTRA_GENERATOR </item>
<item> CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES </item>
<item> CMAKE_FIND_LIBRARY_PREFIXES </item>
<item> CMAKE_FIND_LIBRARY_SUFFIXES </item>
<item> CMAKE_FIND_PACKAGE_WARN_NO_MODULE </item>
<item> CMAKE_Fortran_FORMAT </item>
<item> CMAKE_Fortran_MODDIR_DEFAULT </item>
<item> CMAKE_Fortran_MODDIR_FLAG </item>
<item> CMAKE_Fortran_MODOUT_FLAG </item>
<item> CMAKE_Fortran_MODULE_DIRECTORY </item>
<item> CMAKE_GENERATOR </item>
<item> CMAKE_GENERATOR_TOOLSET </item>
<item> CMAKE_GNUtoMS </item>
<item> CMAKE_HOME_DIRECTORY </item>
<item> CMAKE_HOST_APPLE </item>
<item> CMAKE_HOST_SYSTEM </item>
<item> CMAKE_HOST_SYSTEM_NAME </item>
<item> CMAKE_HOST_SYSTEM_PROCESSOR </item>
<item> CMAKE_HOST_SYSTEM_VERSION </item>
<item> CMAKE_HOST_UNIX </item>
<item> CMAKE_HOST_WIN32 </item>
<item> CMAKE_IGNORE_PATH </item>
<item> CMAKE_IMPORT_LIBRARY_PREFIX </item>
<item> CMAKE_IMPORT_LIBRARY_SUFFIX </item>
<item> CMAKE_INCLUDE_CURRENT_DIR </item>
<item> CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE </item>
<item> CMAKE_INCLUDE_PATH </item>
<item> CMAKE_INSTALL_DEFAULT_COMPONENT_NAME </item>
<item> CMAKE_INSTALL_NAME_DIR </item>
<item> CMAKE_INSTALL_PREFIX </item>
<item> CMAKE_INSTALL_RPATH </item>
<item> CMAKE_INSTALL_RPATH_USE_LINK_PATH </item>
<item> CMAKE_INTERNAL_PLATFORM_ABI </item>
<item> CMAKE_LIBRARY_ARCHITECTURE </item>
<item> CMAKE_LIBRARY_ARCHITECTURE_REGEX </item>
<item> CMAKE_LIBRARY_OUTPUT_DIRECTORY </item>
<item> CMAKE_LIBRARY_PATH </item>
<item> CMAKE_LIBRARY_PATH_FLAG </item>
<item> CMAKE_LINK_DEF_FILE_FLAG </item>
<item> CMAKE_LINK_DEPENDS_NO_SHARED </item>
<item> CMAKE_LINK_INTERFACE_LIBRARIES </item>
<item> CMAKE_LINK_LIBRARY_FILE_FLAG </item>
<item> CMAKE_LINK_LIBRARY_FLAG </item>
<item> CMAKE_LINK_LIBRARY_SUFFIX </item>
<item> CMAKE_MACOSX_BUNDLE </item>
<item> CMAKE_MAJOR_VERSION </item>
<item> CMAKE_MAKE_PROGRAM </item>
<item> CMAKE_MFC_FLAG </item>
<item> CMAKE_MINOR_VERSION </item>
<item> CMAKE_MODULE_PATH </item>
<item> CMAKE_NOT_USING_CONFIG_FLAGS </item>
<item> CMAKE_NO_BUILTIN_CHRPATH </item>
<item> CMAKE_OBJECT_PATH_MAX </item>
<item> CMAKE_PARENT_LIST_FILE </item>
<item> CMAKE_PATCH_VERSION </item>
<item> CMAKE_PDB_OUTPUT_DIRECTORY </item>
<item> CMAKE_POSITION_INDEPENDENT_CODE </item>
<item> CMAKE_PREFIX_PATH </item>
<item> CMAKE_PROGRAM_PATH </item>
<item> CMAKE_PROJECT_NAME </item>
<item> CMAKE_RANLIB </item>
<item> CMAKE_ROOT </item>
<item> CMAKE_RUNTIME_OUTPUT_DIRECTORY </item>
<item> CMAKE_SCRIPT_MODE_FILE </item>
<item> CMAKE_SHARED_LIBRARY_PREFIX </item>
<item> CMAKE_SHARED_LIBRARY_SUFFIX </item>
<item> CMAKE_SHARED_MODULE_PREFIX </item>
<item> CMAKE_SHARED_MODULE_SUFFIX </item>
<item> CMAKE_SIZEOF_VOID_P </item>
<item> CMAKE_SKIP_BUILD_RPATH </item>
<item> CMAKE_SKIP_INSTALL_ALL_DEPENDENCY </item>
<item> CMAKE_SKIP_INSTALL_RPATH </item>
<item> CMAKE_SKIP_RPATH </item>
<item> CMAKE_SOURCE_DIR </item>
<item> CMAKE_STANDARD_LIBRARIES </item>
<item> CMAKE_STATIC_LIBRARY_PREFIX </item>
<item> CMAKE_STATIC_LIBRARY_SUFFIX </item>
<item> CMAKE_SYSTEM </item>
<item> CMAKE_SYSTEM_IGNORE_PATH </item>
<item> CMAKE_SYSTEM_INCLUDE_PATH </item>
<item> CMAKE_SYSTEM_LIBRARY_PATH </item>
<item> CMAKE_SYSTEM_NAME </item>
<item> CMAKE_SYSTEM_PREFIX_PATH </item>
<item> CMAKE_SYSTEM_PROCESSOR </item>
<item> CMAKE_SYSTEM_PROGRAM_PATH </item>
<item> CMAKE_SYSTEM_VERSION </item>
<item> CMAKE_TRY_COMPILE_CONFIGURATION </item>
<item> CMAKE_TWEAK_VERSION </item>
<item> CMAKE_USER_MAKE_RULES_OVERRIDE </item>
<item> CMAKE_USE_RELATIVE_PATHS </item>
<item> CMAKE_VERBOSE_MAKEFILE </item>
<item> CMAKE_VERSION </item>
<item> CMAKE_VS_PLATFORM_TOOLSET </item>
<item> CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION </item>
<item> CMAKE_WIN32_EXECUTABLE </item>
<item> CMAKE_XCODE_PLATFORM_TOOLSET </item>
<item> CYGWIN </item>
<item> EXECUTABLE_OUTPUT_PATH </item>
<item> LIBRARY_OUTPUT_PATH </item>
<item> MSVC </item>
<item> MSVC10 </item>
<item> MSVC11 </item>
<item> MSVC60 </item>
<item> MSVC70 </item>
<item> MSVC71 </item>
<item> MSVC80 </item>
<item> MSVC90 </item>
<item> MSVC_IDE </item>
<item> MSVC_VERSION </item>
<item> PROJECT_BINARY_DIR </item>
<item> PROJECT_NAME </item>
<item> PROJECT_SOURCE_DIR </item>
<item> UNIX </item>
<item> WIN32 </item>
<item> XCODE_VERSION </item>
</list>
<list name="simple_generator_expr">
<item> CONFIGURATION </item>
<item> ANGLE-R </item>
<item> COMMA </item>
<item> SEMICOLON </item>
<item> INSTALL_PREFIX </item>
</list>
<list name="generator_expr">
<item> 0 </item>
<item> 1 </item>
<item> CONFIG </item>
<item> BOOL </item>
<item> STREQUAL </item>
<item> TARGET_NAME </item>
<item> INSTALL_INTERFACE </item>
<item> BUILD_INTERFACE </item>
<item> TARGET_FILE </item>
<item> TARGET_LINKER_FILE </item>
<item> TARGET_SONAME_FILE </item>
<item> TARGET_DIR </item>
<item> TARGET_LINKER_DIR </item>
<item> TARGET_SONAME_DIR </item>
<item> TARGET_PROPERTY </item>
<item> TARGET_POLICY </item>
<item> AND </item>
<item> OR </item>
<item> NOT </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text">
<DetectSpaces/>
<!-- handle folding for if else elseif endif blocks -->
<RegExpr String="\bif\b" attribute="Commands" context="Command Args" beginRegion="ifthenelse" insensitive="true" />
<RegExpr String="\belse\b" attribute="Commands" context="Command Args" endRegion="ifthenelse" beginRegion="ifthenelse" insensitive="true" />
<RegExpr String="\belseif\b" attribute="Commands" context="Command Args" endRegion="ifthenelse" beginRegion="ifthenelse" insensitive="true" />
<RegExpr String="\bendif\b" attribute="Commands" context="Command Args" endRegion="ifthenelse" insensitive="true" />
<!-- handle folding for macro endmacro blocks -->
<RegExpr String="\bmacro\b" attribute="Commands" context="Command Args" beginRegion="macro" insensitive="true" />
<RegExpr String="\bendmacro\b" attribute="Commands" context="Command Args" endRegion="macro" insensitive="true" />
<!-- handle folding for foreach endforeach blocks -->
<RegExpr String="\bforeach\b" attribute="Commands" context="Command Args" beginRegion="foreach" insensitive="true" />
<RegExpr String="\bendforeach\b" attribute="Commands" context="Command Args" endRegion="foreach" insensitive="true" />
<!-- handle folding for while endwhile blocks -->
<RegExpr String="\bwhile\b" attribute="Commands" context="Command Args" beginRegion="while" insensitive="true" />
<RegExpr String="\bendwhile\b" attribute="Commands" context="Command Args" endRegion="while" insensitive="true" />
<keyword attribute="Commands" context="Command Args" String="commands" insensitive="true"/>
<keyword attribute="Third-Party Commands" context="#stay" String="itkvtk_commands" insensitive="true"/>
<RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="block" firstNonSpace="true"/>
@ -528,47 +819,122 @@
<IncludeRules context="Detect Variables"/>
<RegExpr attribute="Macros" context="Macro Args" String="\w+\s*(?=\()"/>
</context>
<!-- ATTENTION Do not change the context name! Or change a generation script accordingly -->
<context attribute="Normal Text" lineEndContext="#stay" name="Detect More Builtin Variables">
<!-- generated rules -->
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_COMPILER_IS_GNU[A-Za-z_][A-Za-z_0-9]*\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_DISABLE_FIND_PACKAGE_[A-Za-z_][A-Za-z_0-9]*\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_EXE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_POLICY_DEFAULT_CMP[0-9]+\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_USER_MAKE_RULES_OVERRIDE_[A-Za-z_][A-Za-z_0-9]*\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_APPEND\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_CREATE\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_FINISH\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ABI\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ID\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_LOADED\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_VERSION\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILE_OBJECT\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_SHARED_LIBRARY\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_SHARED_MODULE\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_STATIC_LIBRARY\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_DEBUG\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_MINSIZEREL\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELEASE\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELWITHDEBINFO\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IGNORE_EXTENSIONS\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_INCLUDE_DIRECTORIES\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_DIRECTORIES\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_LIBRARIES\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LIBRARY_ARCHITECTURE\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE_PROPAGATES\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINK_EXECUTABLE \b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_OUTPUT_EXTENSION\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_PLATFORM_ID\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_POSTFIX\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIZEOF_DATA_PTR\b" />
<RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SOURCE_FILE_EXTENSIONS\b" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Detect Builtin Variables">
<keyword attribute="Builtin CMake Variable" context="#stay" String="cmake_vars" insensitive="false"/>
<IncludeRules context="Detect More Builtin Variables" />
</context>
<context attribute="CMake Variable" lineEndContext="#pop" name="VarSubst">
<IncludeRules context="Detect Builtin Variables"/>
<DetectIdentifier />
<DetectChar attribute="CMake Variable" context="#pop" char="}"/>
<IncludeRules context="Detect Variables"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Detect Variables">
<RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*\w+\s*\}"/>
<RegExpr attribute="CMake Variable" context="#stay" String="\$\{\s*\w+\s*\}"/>
<RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*[\w-]+\s*\}"/>
<Detect2Chars attribute="CMake Variable" context="VarSubst" char="$" char1="{" />
</context>
<context attribute="Generator Expression" lineEndContext="#pop#pop" name="DetectSimpleGEEnd">
<DetectChar attribute="Generator Expression" context="#pop#pop" char="&gt;"/>
</context>
<context attribute="Generator Expression" lineEndContext="#pop" name="Generator Expression">
<IncludeRules context="Detect Generator Expressions"/>
<DetectChar attribute="Generator Expression" context="#pop" char="&gt;"/>
<keyword attribute="Generator Expression Keyword" context="DetectSimpleGEEnd" String="simple_generator_expr" insensitive="false"/>
<keyword attribute="Generator Expression Keyword" context="#stay" String="generator_expr" insensitive="false"/>
<IncludeRules context="Detect Variables"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Detect Generator Expressions">
<Detect2Chars attribute="Generator Expression" context="Generator Expression" char="$" char1="&lt;" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Command Args">
<keyword attribute="Special Args" context="#stay" String="special_args"/>
<keyword attribute="Special Args" context="#stay" String="extra_special_args"/>
<!-- NOTE Handle CMP<NNN> as a special arg -->
<RegExpr attribute="Special Args" context="#stay" String="\bCMP[0-9]+\b" />
<keyword attribute="Properties" context="#stay" String="properties"/>
<keyword attribute="Properties" context="#stay" String="extra_properties"/>
<IncludeRules context="Detect Builtin Variables"/>
<IncludeRules context="Macro Args"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Macro Args">
<DetectChar attribute="Normal Text" context="#pop" char=")"/>
<!-- TODO Hmm... this rule looks strange... being in the Normal context -->
<StringDetect attribute="Escapes" context="#stay" String="\&quot;"/>
<DetectChar attribute="Strings" context="String" char="&quot;"/>
<RegExpr attribute="Comment" context="#stay" String="#.*$"/>
<DetectChar attribute="Comment" context="Comment" char="#"/>
<IncludeRules context="Detect Builtin Variables"/>
<IncludeRules context="Detect Variables"/>
<IncludeRules context="Detect Generator Expressions"/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
<context attribute="Strings" lineEndContext="#stay" name="String">
<RegExpr attribute="Strings" context="#pop" String="&quot;(?=[ );]|$)" />
<RegExpr attribute="Escapes" context="#stay" String="\\[&quot;$n\\]" />
<IncludeRules context="Detect Variables"/>
<IncludeRules context="Detect Generator Expressions"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Special Args" defStyleNum="dsOthers"/>
<itemData name="Properties" defStyleNum="dsOthers"/>
<itemData name="Commands" defStyleNum="dsKeyword"/>
<itemData name="Third-Party Commands" defStyleNum="dsFunction"/>
<itemData name="Macros" defStyleNum="dsFunction"/>
<itemData name="Strings" defStyleNum="dsString"/>
<itemData name="Escapes" defStyleNum="dsChar"/>
<itemData name="CMake Variable" defStyleNum="dsDecVal"/>
<itemData name="Environment Variable" defStyleNum="dsFloat"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Region Marker" defStyleNum="dsRegionMarker"/>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Special Args" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Properties" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Commands" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Third-Party Commands" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Macros" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Strings" defStyleNum="dsString" spellChecking="true" />
<itemData name="Escapes" defStyleNum="dsChar" spellChecking="false" />
<itemData name="Builtin CMake Variable" defStyleNum="dsDecVal" color="#c09050" selColor="#c09050" spellChecking="false" />
<!-- TODO Rename to "Variable Substitution" -->
<itemData name="CMake Variable" defStyleNum="dsDecVal" spellChecking="false" />
<!-- TODO Rename to "Environment Variable Substitution" -->
<itemData name="Environment Variable" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Generator Expression Keyword" defStyleNum="dsKeyword" color="#b84040" selColor="#b84040" spellChecking="false" />
<itemData name="Generator Expression" defStyleNum="dsOthers" color="#b86050" selColor="#b86050" spellChecking="false" />
<itemData name="Comment" defStyleNum="dsComment" spellChecking="true" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />
</itemDatas>
</highlighting>

@ -2,8 +2,8 @@
<!DOCTYPE language SYSTEM "language.dtd">
<language name="CoffeeScript"
version="1.3"
kateversion="2.4"
version="1.5"
kateversion="2.5"
section="Scripts"
extensions="Cakefile;*.coffee;*.coco"
mimetype="text/x-coffeescript;application/x-coffeescript"
@ -44,6 +44,7 @@
<item>and</item>
<item>or</item>
<item>in</item>
<item>do</item>
<item>of</item>
<item>by</item>
<item>is</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ColdFusion" version="1.04" kateversion="2.3" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion">
<language name="ColdFusion" version="1.05" kateversion="2.5" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion">
<highlighting>

@ -23,7 +23,7 @@
* Boston, MA 02110-1301, USA. *
**********************************************************************
-->
<language version="1.05" kateversion="2.3" name="Common Lisp" section="Sources" extensions="*.lisp;*.cl;*.lsp" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<language version="1.06" kateversion="2.5" name="Common Lisp" section="Sources" extensions="*.lisp;*.cl;*.lsp" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<highlighting>
<list name="symbols">
<item> &lt; </item>

@ -10,7 +10,7 @@
<!-- 19.04.2003 wb Some more Enhancements -->
<!-- 18.04.2003 wb Enhancenment for Maior / Minor Comments and Full / ReadOnly Exports, Folds for Procedures, Records, Comments -->
<!-- 17.04.2003 wb Enhancements for Relation and Operators -->
<language name="Component-Pascal" version="1.05" kateversion="2.1" section="Sources" extensions="*.cp;*.bro" mimetype="text/x-component-pascal" author="Werner Braun (wb@o3-software.de)" license="">
<language name="Component-Pascal" version="1.06" kateversion="2.5" section="Sources" extensions="*.cp;*.bro" mimetype="text/x-component-pascal" author="Werner Braun (wb@o3-software.de)" license="">
<highlighting>
<list name="keywords">
<item> BEGIN </item>

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ConTeXt" version="1.2" section="Markup" kateversion="2.5" priority="8" extensions="*.ctx" mimetype="text/x-tex" casesensitive="1" author="Philipp A. (flying-sheep@web.de)" license="GPL" >
<highlighting>
<list name="titles">
<item>\part</item>
<item>\chapter</item>
<item>\section</item>
<item>\subsection</item>
<item>\subsubsection</item>
<item>\title</item>
<item>\subject</item>
<item>\subsubject</item>
<item>\subsubsubject</item>
</list>
<contexts>
<!-- Normal text -->
<context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="$" attribute="Block" context="MathMode"/>
<Detect2Chars char="$" char1="$" attribute="Block" context="MathModeDisplay"/>
<RegExpr String="\\math(ematics)?" attribute="Block" context="MathModeMacroFind"/>
<StringDetect String="\startformula" attribute="Block" context="MathModeFormula"/>
<StringDetect String="\starttyping" attribute="Block" context="Verbatim"/>
<keyword String="titles" attribute="Section" context="#stay"/>
<IncludeRules context="Common"/>
</context>
<!-- Macro -->
<context name="Macro" attribute="Macro" lineEndContext="#stay">
<RegExpr String="[a-zA-Z_]+[a-zA-Z@_]*" attribute="Macro" context="#pop"/>
<RegExpr String="[^a-zA-Z_]" attribute="Macro" context="#pop"/>
</context>
<!-- Comment -->
<context name="Comment" attribute="Comment" lineEndContext="#pop">
<RegExpr String="(FIXME|TODO):?" attribute="Alert" context="#stay"/>
</context>
<!-- Math Modes -->
<context name="MathMode" attribute="Math" lineEndContext="#pop">
<DetectChar char="$" attribute="Block" context="#pop"/>
<Detect2Chars char="$" char1="$" attribute="Error" context="#stay"/>
<StringDetect String="\stopformula" attribute="Error" context="#stay"/>
<IncludeRules context="MathModeCommon"/>
</context>
<context name="MathModeMacroFind" attribute="Math" lineEndContext="#stay">
<DetectChar char="{" attribute="Brace" context="#popMathModeMacro"/>
</context>
<context name="MathModeMacro" attribute="Math" lineEndContext="#stay">
<DetectChar char="{" attribute="Brace" context="MathModeMacro"/>
<DetectChar char="}" attribute="Brace" context="#pop"/>
<DetectChar char="$" attribute="Error" context="#stay"/>
<Detect2Chars char="$" char1="$" attribute="Error" context="#stay"/>
<StringDetect String="\stopformula" attribute="Error" context="#stay"/>
<IncludeRules context="MathModeCommon"/>
</context>
<context name="MathModeDisplay" attribute="Math" lineEndContext="#stay">
<DetectChar char="$" attribute="Error" context="#stay"/>
<Detect2Chars char="$" char1="$" attribute="Block" context="#pop"/>
<StringDetect String="\stopformula" attribute="Error" context="#stay"/>
<IncludeRules context="MathModeCommon"/>
</context>
<context name="MathModeFormula" attribute="Math" lineEndContext="#stay">
<DetectChar char="$" attribute="Error" context="#stay"/>
<Detect2Chars char="$" char1="$" attribute="Error" context="#stay"/>
<StringDetect String="\stopformula" attribute="Block" context="#pop"/>
<IncludeRules context="MathModeCommon"/>
</context>
<context name="MathModeCommon" attribute="Error" lineEndContext="#stay">
<DetectChar char="^" attribute="Brace" context="#stay"/>
<DetectChar char="_" attribute="Brace" context="#stay"/>
<StringDetect String="\startformula" attribute="Error" context="#stay"/>
<StringDetect String="\text" attribute="Block" context="MathModeTextFind"/>
<IncludeRules context="Common"/>
</context>
<!--Math text-->
<context name="MathModeTextFind" attribute="Normal Text" lineEndContext="#stay" >
<DetectChar char="{" attribute="Brace" context="#popMathModeText"/>
</context>
<context name="MathModeText" attribute="Normal Text" lineEndContext="#stay" >
<DetectChar char="{" attribute="Brace" context="MathModeText"/>
<DetectChar char="}" attribute="Brace" context="#pop"/>
<IncludeRules context="Normal Text"/>
</context>
<!--Verbatim TODO: \startC support-->
<context name="Verbatim" attribute="Verbatim" lineEndContext="#stay">
<StringDetect String="\stoptyping" attribute="Block" context="#pop"/>
</context>
<!--Common-->
<context name="Common" attribute="Error" lineEndContext="#stay">
<DetectChar char="%" attribute="Comment" context="Comment"/>
<RegExpr String="\\start([a-zA-Z_]+)" attribute="Block" context="#stay" beginRegion="block"/>
<RegExpr String="\\stop([a-zA-Z_]+)" attribute="Block" context="#stay" endRegion="block"/>
<DetectChar char="\" attribute="Macro" context="Macro"/>
<DetectChar char="{" attribute="Brace" context="#stay" beginRegion="block"/>
<DetectChar char="}" attribute="Brace" context="#stay" endRegion="block"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" /><!--(Hi, Im text)-->
<itemData name="Comment" defStyleNum="dsComment" /><!--(%Comment)-->
<itemData name="Section" defStyleNum="dsKeyword" /><!--\section{(Fancy!)}-->
<itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/><!--%(TODO):do sth.!-->
<itemData name="Brace" defStyleNum="dsChar" spellChecking="false"/><!--({})-->
<itemData name="Math" defStyleNum="dsOthers" spellChecking="false"/><!--($5$)-->
<itemData name="Macro" defStyleNum="dsFunction" spellChecking="false"/><!--(\foo)-->
<itemData name="Label Ref" defStyleNum="dsRegionMarker" spellChecking="false"/><!--\placeWUTEVA[(spam)], \ref[(spam)]-->
<itemData name="Block" defStyleNum="dsRegionMarker" spellChecking="false"/><!--\start(bar), \stop(bar)-->
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/><!--$($$)-->
<itemData name="Verbatim" defStyleNum="dsString" spellChecking="false"/><!--\starttyping(eggs)\stoptyping, \definetyping[C] \startC(umm…)\stopC-->
</itemDatas>
</highlighting>
<general>
<keywords weakDeliminator="\" wordWrapDeliminator=",{}[]"/>
<comments>
<comment name="singleLine" start="%" />
</comments>
</general>
<spellchecking>
<configuration encodingReplacementPolicy="EncodeWhenPresent"/>
<encodings>
<encoding string="''" ignored="true" />
</encodings>
</spellchecking>
</language>
<!-- kate: space-indent off; indent-width 4; mixedindent off; -->

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="C++" section="Sources"
version="1.55" kateversion="2.4"
version="1.52" kateversion="2.5"
indenter="cstyle"
mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr"
extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc"
@ -85,6 +85,8 @@
<item> xor </item>
<item> xor_eq </item>
</list>
<!-- QT/TQT extensions -->
<list name="extensions">
<item> K_DCOP </item>
<item> Q_ARG </item>
@ -95,7 +97,6 @@
<item> Q_CLEANUP_RESOURCE </item>
<item> Q_D </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_DECLARE_INTERFACE </item>
<item> Q_DECLARE_METATYPE </item>
<item> Q_DECLARE_OPERATORS_FOR_FLAGS </item>
@ -184,7 +185,6 @@
<item> slots </item>
<item> foreach </item>
<item> forever </item>
<item> qint8 </item>
<item> qint16 </item>
<item> qint32 </item>
@ -199,6 +199,7 @@
<item> quintptr </item>
<item> qulonglong </item>
</list>
<list name="types">
<item> auto </item>
<item> bool </item>
@ -291,7 +292,7 @@
<context attribute="Error" lineEndContext="#pop" name="AfterHash">
<!-- define, elif, else, endif, error, if, ifdef, ifndef, include, include_next, line, pragma, undef, warning -->
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*if(?:def|ndef)?(?=\s+\S)" insensitive="true" beginRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*if(?:def|ndef)?(?=(?:\(|\s+)\S)" insensitive="true" beginRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*endif" insensitive="true" endRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Define" String="#\s*define.*((?=\\))" insensitive="true" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*(?:el(?:se|if)|include(?:_next)?|define|undef|line|error|warning|pragma)" insensitive="true" firstNonSpace="true" />

@ -0,0 +1,603 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY space " ">
<!ENTITY separators ",&#59;">
<!ENTITY ns_punctuators "!&#37;&space;&amp;()+-/.*&lt;=&gt;?[]{|}~^&separators;">
<!ENTITY punctuators ":&ns_punctuators;">
<!-- printf-like format strings conversion specifiers -->
<!ENTITY convspec "diouxXeEfFgGaAcsP&#37;">
]>
<language
name="C++11"
section="Sources"
version="1.63"
kateversion="2.5"
indenter="cppstyle"
mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr"
extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc"
author="Alex Turbov (i.zaufi@gmail.com)"
license="LGPL"
priority="7"
>
<!--
Complete list of changes by Alex Turbov (I.zaufi@gmail.com)
can be found at:
http://kde-files.org/content/show.php?content=90660
-->
<highlighting>
<list name="keywords">
<item> alignof </item>
<item> alignas </item>
<item> asm </item>
<item> auto </item>
<item> break </item>
<item> case </item>
<item> catch </item>
<item> class </item>
<item> constexpr </item>
<item> const_cast </item>
<item> continue </item>
<item> decltype </item>
<item> default </item>
<item> delete </item>
<item> do </item>
<item> dynamic_cast</item>
<item> else </item>
<item> enum </item>
<item> explicit </item>
<item> export </item> <!-- Unused but reserved for future use -->
<item> false </item>
<item> final </item> <!-- According N3272 -->
<item> friend </item>
<item> for </item>
<item> goto </item>
<item> if </item>
<item> inline </item>
<item> namespace </item>
<item> new </item>
<item> noexcept </item>
<item> nullptr </item>
<item> operator </item>
<item> override </item> <!-- According N3272 -->
<item> private </item>
<item> protected </item>
<item> public </item>
<item> reinterpret_cast </item>
<item> return </item>
<item> sizeof </item>
<item> static_assert </item>
<item> static_cast </item>
<item> struct </item>
<item> switch </item>
<item> template </item>
<item> this </item>
<item> throw </item>
<item> true </item>
<item> try </item>
<item> typedef </item>
<item> typeid </item>
<item> typename </item>
<item> union </item>
<item> using </item>
<item> virtual </item>
<item> while </item>
<!-- Alternative operators (see 2.12) -->
<item> and </item>
<item> and_eq </item>
<item> bitand </item>
<item> bitor </item>
<item> compl </item>
<item> not </item>
<item> not_eq </item>
<item> or </item>
<item> or_eq </item>
<item> xor </item>
<item> xor_eq </item>
</list>
<!-- This keyword may appear in InternalsNS context. For example in code:
details::some_class::template some_templated_static();
and it should be displayed as keyword, not like part of details namespace...
-->
<list name="template">
<item> template </item>
</list>
<!-- 7.6 Attributes -->
<list name="attributes">
<item> noreturn </item>
<item> carries_dependency </item>
</list>
<!-- QT/TQT extensions -->
<list name="extensions">
<item> K_DCOP </item>
<item> Q_ARG </item>
<item> Q_ASSERT </item>
<item> Q_ASSERT_X </item>
<item> Q_CHECK_PTR </item>
<item> Q_CLASSINFO </item>
<item> Q_CLEANUP_RESOURCE </item>
<item> Q_D </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_DECLARE_INTERFACE </item>
<item> Q_DECLARE_METATYPE </item>
<item> Q_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> Q_DECLARE_PRIVATE </item>
<item> Q_DECLARE_PUBLIC </item>
<item> Q_DECLARE_SHARED </item>
<item> Q_DECLARE_TYPEINFO </item>
<item> Q_DISABLE_COPY </item>
<item> Q_EMIT </item>
<item> Q_ENUMS </item>
<item> Q_EXPORT </item>
<item> Q_FLAGS </item>
<item> Q_FOREACH </item>
<item> Q_FOREVER </item>
<item> Q_GADGET </item>
<item> Q_GLOBAL_STATIC </item>
<item> Q_GLOBAL_STATIC_WITH_ARGS </item>
<item> Q_INIT_RESOURCE </item>
<item> Q_INTERFACES </item>
<item> Q_INVOKABLE </item>
<item> Q_NOREPLY </item>
<item> Q_OBJECT </item>
<item> Q_OVERRIDE </item>
<item> Q_PRIVATE_SLOT </item>
<item> Q_PROPERTY </item>
<item> Q_Q </item>
<item> Q_RETURN_ARG </item>
<item> Q_SCRIPTABLE </item>
<item> Q_SETS </item>
<item> Q_SIGNALS </item>
<item> Q_SLOTS </item>
<item> Q_UNUSED </item>
<item> SIGNAL </item>
<item> SLOT </item>
<item> TRUE </item>
<item> FALSE </item>
<item> TQ_ARG </item>
<item> TQ_ASSERT </item>
<item> TQ_ASSERT_X </item>
<item> TQ_CHECK_PTR </item>
<item> TQ_CLASSINFO </item>
<item> TQ_CLEANUP_RESOURCE </item>
<item> TQ_D </item>
<item> TQ_DECLARE_FLAGS </item>
<item> TQ_DECLARE_INTERFACE </item>
<item> TQ_DECLARE_METATYPE </item>
<item> TQ_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> TQ_DECLARE_PRIVATE </item>
<item> TQ_DECLARE_PUBLIC </item>
<item> TQ_DECLARE_SHARED </item>
<item> TQ_DECLARE_TYPEINFO </item>
<item> TQ_DISABLE_COPY </item>
<item> TQ_EMIT </item>
<item> TQ_ENUMS </item>
<item> TQ_EXPORT </item>
<item> TQ_FLAGS </item>
<item> TQ_FOREACH </item>
<item> TQ_FOREVER </item>
<item> TQ_GADGET </item>
<item> TQ_GLOBAL_STATIC </item>
<item> TQ_GLOBAL_STATIC_WITH_ARGS </item>
<item> TQ_INIT_RESOURCE </item>
<item> TQ_INTERFACES </item>
<item> TQ_INVOKABLE </item>
<item> TQ_NOREPLY </item>
<item> TQ_OBJECT </item>
<item> TQ_OVERRIDE </item>
<item> TQ_PRIVATE_SLOT </item>
<item> TQ_PROPERTY </item>
<item> TQ_Q </item>
<item> TQ_RETURN_ARG </item>
<item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item>
<item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item>
<item> TQT_SIGNAL </item>
<item> TQT_SLOT </item>
<item> TQT_TQOBJECT </item>
<item> connect </item>
<item> disconnect </item>
<item> emit </item>
<item> signals </item>
<item> slots </item>
<item> foreach </item>
<item> forever </item>
<item> qint8 </item>
<item> qint16 </item>
<item> qint32 </item>
<item> qint64 </item>
<item> qlonglong </item>
<item> qptrdiff </item>
<item> qreal </item>
<item> quint8 </item>
<item> quint16 </item>
<item> quint32 </item>
<item> quint64 </item>
<item> quintptr </item>
<item> qulonglong </item>
</list>
<list name="types">
<item> bool </item>
<item> char </item>
<item> char16_t </item>
<item> char32_t </item>
<item> double </item>
<item> float </item>
<item> int </item>
<item> long </item>
<item> short </item>
<item> signed </item>
<item> unsigned </item>
<item> void </item>
<item> int8_t </item>
<item> int16_t </item>
<item> int32_t </item>
<item> int64_t </item>
<item> uint8_t </item>
<item> uint16_t </item>
<item> uint32_t </item>
<item> uint64_t </item>
<item> wchar_t </item>
</list>
<list name="modifiers">
<item> const </item>
<item> extern </item>
<item> mutable </item>
<item> register </item>
<item> static </item>
<item> thread_local </item>
<item> volatile </item>
</list>
<list name="StdMacros">
<item> __FILE__ </item>
<item> __LINE__ </item>
<item> __DATE__ </item>
<item> __TIME__ </item>
<item> __STDC__ </item>
<item> __STDC_VERSION__ </item>
<item> __STDC_HOSTED__ </item>
<item> __STDC_ISO_10646__ </item>
<item> __STDC_MB_MIGHT_NEQ_WC__ </item>
<item> __cplusplus </item>
<item> __func__ </item>
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<RegExpr attribute="Preprocessor" context="Outscoped" String="(#|%\:|\?\?=)\s*if\s+(0|false)\s*" beginRegion="PP" firstNonSpace="true" insensitive="false" />
<RegExpr attribute="Preprocessor" context="Inscoped" String="(#|%\:|\?\?=)\s*if\s+(1|true)\s*" beginRegion="PP" firstNonSpace="true" insensitive="false" />
<IncludeRules context="Main" />
</context>
<context name="Main" attribute="Normal Text" lineEndContext="#stay">
<!-- Match preprocessor directives -->
<DetectChar context="AfterHash" char="#" firstNonSpace="true" lookAhead="true" />
<Detect2Chars context="AfterHash" char="%" char1=":" firstNonSpace="true" lookAhead="true" />
<StringDetect context="AfterHash" String="??=" firstNonSpace="true" lookAhead="true" />
<Detect2Chars attribute="Error" context="#stay" char="%" char1=":" />
<StringDetect attribute="Error" String="??=" context="#stay" />
<!-- Match special comments for region markers -->
<StringDetect attribute="Region Marker" context="Region Marker" String="//BEGIN" beginRegion="Region1" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//END" endRegion="Region1" firstNonSpace="true" />
<!-- ATTENTION Special case `operator""` cuz Kate doesn't recognize
`operator` joined w/ quotes as a keyword here. BUG??
-->
<RegExpr attribute="Normal Text" context="UDLOperator" String="operator\s*&quot;&quot; _[_0-9A-Za-z]*\b" lookAhead="true" />
<RegExpr attribute="Error" context="#stay" String="operator\s*&quot;&quot; [_0-9A-Za-z]*\b" />
<!-- Match keywords -->
<keyword attribute="Keyword" context="#stay" String="keywords" />
<!-- Detect attributes -->
<Detect2Chars attribute="Normal Text" context="Attribute" char="[" char1="[" />
<!-- Match GCC extensions -->
<IncludeRules context="DetectGccExtensions##GCCExtensions" />
<!-- Match numbers -->
<!-- ATTENTION Builtin number detectors have strange behaviour and definitely lack of required features
-->
<!-- NOTE Order is important! -->
<RegExpr attribute="Hex" context="#stay" String="[\+\-]?0x[0-9A-Fa-f]+([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />
<RegExpr attribute="Float" context="#stay" String="[\+\-]?([0-9]+[Ee][\+\-]?[0-9]+|([0-9]+\.|\.[0-9]+|[0-9]+\.[0-9]+)([Ee][\+\-]?[0-9]+)?)[FfLl]?" />
<RegExpr attribute="Octal" context="#stay" String="[\+\-]?0[0-7]+([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />
<RegExpr attribute="Decimal" context="#stay" String="[\+\-]?(0|[1-9][0-9]*)([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />
<RegExpr attribute="Error" context="#stay" String="[\+\-]?(0|[1-9][0-9]*)[0-9A-Za-z][_0-9A-Za-z]*\b" />
<!-- Match string literals -->
<DetectChar attribute="String" context="String" char="&quot;" />
<Detect2Chars attribute="String" context="String" char="U" char1="&quot;" />
<Detect2Chars attribute="String" context="String" char="u" char1="&quot;" />
<Detect2Chars attribute="String" context="String" char="L" char1="&quot;" />
<StringDetect attribute="String" context="String" String="u8&quot;" />
<RegExpr attribute="String" context="RawString" String="(u|u8|U|L)?R&quot;([^\(]{0,16})\(" lookAhead="true" />
<RegExpr attribute="Error" context="#stay" String="(u|u8|U|L)?R&quot;([^\(]{16,})\(" />
<DetectChar attribute="String" context="Char Literal" char="'" />
<Detect2Chars attribute="String" context="Char Literal" char="L" char1="'" />
<Detect2Chars attribute="String" context="U-Char Literal" char="u" char1="'" />
<Detect2Chars attribute="String" context="U-Char Literal" char="U" char1="'" />
<!-- Match most used namespaces and styles -->
<StringDetect attribute="Standard Classes" context="Standard Classes" String="std::" />
<StringDetect attribute="Boost Stuff" context="Boost Stuff" String="boost::" />
<StringDetect attribute="Boost Stuff" context="Boost Stuff" String="BOOST_" />
<StringDetect attribute="Internals" context="InternalsNS" String="detail::" />
<StringDetect attribute="Internals" context="InternalsNS" String="details::" />
<StringDetect attribute="Internals" context="InternalsNS" String="aux::" />
<StringDetect attribute="Internals" context="InternalsNS" String="internals::" />
<keyword attribute="Data Type" context="#stay" String="types" />
<keyword attribute="Type Modifiers" context="#stay" String="modifiers" />
<keyword attribute="Standard Macros" context="#stay" String="StdMacros" />
<RegExpr attribute="Internals" context="#stay" String="_[a-zA-Z0-9_]+" />
<RegExpr attribute="Internals" context="#stay" String="[a-zA-Z][a-zA-Z0-9_]*__\b" />
<RegExpr attribute="Data Members (m_*)" context="#stay" String="[a-z][a-zA-Z0-9_]*_\b" />
<RegExpr attribute="Data Members (m_*)" context="#stay" String="m_[a-zA-Z0-9_]+" />
<RegExpr attribute="Globals (g_*)" context="#stay" String="g_[a-zA-Z0-9_]+" />
<RegExpr attribute="Statics (s_*)" context="#stay" String="s_[a-zA-Z0-9_]+" />
<RegExpr attribute="CONSTS/MACROS" context="#stay" String="[A-Z][A-Z0-9_]{2,}\b" />
<RegExpr attribute="Types (*_t/*_type)" context="#stay" String="[a-zA-Z][a-zA-Z0-9_]*_t(ype)?\b" />
<DetectIdentifier />
<!-- Match comments -->
<IncludeRules context="##Doxygen" />
<IncludeRules context="AlignedComments" />
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment" />
<!-- Match scope regions -->
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<!-- Match punctuators -->
<AnyChar attribute="Separator Symbol" context="#stay" String="&separators;" />
<AnyChar attribute="Symbol" context="#stay" String="&punctuators;" />
<!-- Match invalid symbols -->
<DetectChar attribute="Error" context="#stay" char="#" />
<DetectChar attribute="Error" context="#stay" char="$" />
<DetectChar attribute="Error" context="#stay" char="@" />
<DetectChar attribute="Error" context="#stay" char="`" />
</context>
<context name="UDLOperator" attribute="Normal Text" lineEndContext="#pop">
<StringDetect attribute="Keyword" context="#stay" String="operator" />
<StringDetect attribute="String" context="#stay" String="&quot;&quot;" />
<DetectIdentifier context="#pop" />
</context>
<context name="Char Literal" attribute="String" lineEndContext="#pop">
<IncludeRules context="Universal Char" />
<DetectChar attribute="String Char" context="Simple Esc" char="\" />
<DetectChar attribute="String" context="#pop" char="'" />
</context>
<context name="U-Char Literal" attribute="String" lineEndContext="#pop">
<IncludeRules context="Universal Char" />
<DetectChar attribute="String Char" context="Simple Esc" char="\" />
<DetectChar attribute="String" context="#pop" char="'" />
<RegExpr attribute="Error" context="#stay" String="[^']{2,}" />
<RegExpr attribute="String" context="#stay" String=".{1}" />
</context>
<context name="Simple Esc" attribute="String Char" lineEndContext="#pop">
<AnyChar attribute="String Char" context="#pop" String="tnvbrfa'&quot;\" />
<RegExpr attribute="String Char" context="#pop" String="[0-7]{1,3}" />
<RegExpr attribute="String Char" context="#pop" String="x[0-9A-Fa-f]{1,}" />
<RegExpr attribute="String" context="#pop" String="." />
</context>
<context name="Universal Char" attribute="String Char" lineEndContext="#pop">
<RegExpr attribute="String Char" context="#stay" String="\\u[0-9A-Fa-f]{4}" />
<RegExpr attribute="Error" context="#stay" String="\\u.{0,3}" />
<RegExpr attribute="String Char" context="#stay" String="\\U[0-9A-Fa-f]{8}" />
<RegExpr attribute="Error" context="#stay" String="\\U.{0,7}" />
</context>
<context name="String" attribute="String" lineEndContext="#pop">
<LineContinue attribute="String" context="#stay" />
<HlCStringChar attribute="String Char" context="#stay" />
<IncludeRules context="Universal Char" />
<RegExpr attribute="String Char" context="#stay" String="%[^&quot;&convspec;]*[&convspec;]" />
<DetectChar attribute="String" context="UDLStringSuffix" char="&quot;" />
</context>
<context name="UDLStringSuffix" attribute="String" lineEndContext="#pop#pop">
<RegExpr attribute="String" context="#pop#pop" String="_[_0-9A-Z-a-z]*\b" />
<!-- TODO Is there any better way to quit the current context ?? -->
<RegExpr context="#pop#pop" String=".*" lookAhead="true" />
</context>
<context name="Attribute" attribute="Attribute" lineEndContext="#stay">
<keyword attribute="Attribute" context="#stay" String="attributes" />
<Detect2Chars attribute="Normal Text" context="#pop" char="]" char1="]" />
<DetectIdentifier context="#stay" attribute="Error" />
</context>
<context name="RawString" attribute="String" lineEndContext="#stay" dynamic="true">
<LineContinue attribute="String" context="#stay" />
<RegExpr attribute="String Char" context="#stay" String="%[^&quot;&convspec;]*[&convspec;]" />
<RegExpr attribute="String" context="#pop" String="\)%2&quot;" dynamic="true"/>
</context>
<context name="DetectIdentifierEnd" attribute="Normal Text" lineEndContext="#pop">
<AnyChar context="#pop" String="&punctuators;" attribute="Symbol" />
</context>
<context name="Region Marker" attribute="Region Marker" lineEndContext="#pop" />
<context name="DetectNSEnd" attribute="Normal Text" lineEndContext="#pop">
<keyword attribute="Keyword" context="#stay" String="template" />
<DetectIdentifier context="#stay" />
<AnyChar context="#pop" String="&separators;" attribute="Separator Symbol" />
<AnyChar context="#pop" String="&ns_punctuators;" attribute="Symbol" />
<AnyChar context="#stay" String="&space;" attribute="Normal Text" />
</context>
<context name="Standard Classes" attribute="Standard Classes" lineEndContext="#pop">
<IncludeRules context="DetectNSEnd" />
</context>
<context name="Boost Stuff" attribute="Boost Stuff" lineEndContext="#pop">
<IncludeRules context="DetectNSEnd" />
</context>
<context name="InternalsNS" attribute="Internals" lineEndContext="#pop">
<IncludeRules context="DetectNSEnd" />
</context>
<context name="Commentar 1" attribute="Comment" lineEndContext="#pop">
<LineContinue attribute="Comment" context="#stay" />
<DetectSpaces />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
<DetectIdentifier />
</context>
<context name="Commentar 2" attribute="Comment" lineEndContext="#stay">
<DetectSpaces />
<LineContinue attribute="Comment" context="#stay" />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
<DetectIdentifier />
</context>
<context name="AfterHash" attribute="Error" lineEndContext="#pop">
<!-- define, elif, else, endif, error, if, ifdef, ifndef, include, include_next, line, pragma, undef, warning -->
<RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*if(?:def|ndef)?(?=(?:\(|\s+)\S)" beginRegion="PP" firstNonSpace="true" insensitive="false" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*endif" endRegion="PP" firstNonSpace="true" insensitive="false" />
<!-- Switch to seperate context for multiline #defines -->
<RegExpr attribute="Preprocessor" context="Define" String="(#|%\:|\?\?=)\s*(cmake)?define.*((?=\\))" firstNonSpace="true" lookAhead="true" insensitive="false" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*(?:el(?:se|if)|include(?:_next)?|(cmake)?define|undef|line|error|warning|pragma)" insensitive="false" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s+[0-9]+" firstNonSpace="true" insensitive="false" />
</context>
<context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop">
<LineContinue attribute="Preprocessor" context="#stay" />
<keyword attribute="Standard Macros" context="#stay" String="StdMacros" />
<IncludeRules context="GNUMacros##GCCExtensions" />
<RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;" />
<RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;" />
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2" />
<IncludeRules context="AlignedComments" />
</context>
<context name="Define" attribute="Preprocessor" lineEndContext="#pop">
<LineContinue attribute="Separator Symbol" context="#stay" />
<DetectChar attribute="Error" context="#stay" char="\\" />
<keyword attribute="Standard Macros" context="#stay" String="StdMacros" />
<IncludeRules context="GNUMacros##GCCExtensions" />
</context>
<context name="Commentar/Preprocessor" attribute="Comment" lineEndContext="#stay">
<DetectSpaces />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" />
<DetectIdentifier />
</context>
<context name="Outscoped Common" attribute="Comment" lineEndContext="#stay">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
<DetectIdentifier />
<IncludeRules context="##Doxygen" />
<IncludeRules context="AlignedComments" />
<!-- Do not try to detect "C" style comments inside outscoped text
to prevent incorrect highlighting in case of overlapped (or not closed properly)
comment block...
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment" />
-->
<RegExpr attribute="Comment" context="Outscoped intern" String="(#|%\:|\?\?=)\s*if" beginRegion="PP" firstNonSpace="true" insensitive="false" />
<LineContinue context="#stay" />
</context>
<context name="Outscoped" attribute="Comment" lineEndContext="#stay">
<IncludeRules context="Outscoped Common" />
<RegExpr attribute="Preprocessor" context="#pop" String="(#|%\:|\?\?=)\s*el(?:se|if)" firstNonSpace="true" insensitive="false" />
<RegExpr attribute="Preprocessor" context="#pop" String="(#|%\:|\?\?=)\s*endif" endRegion="PP" firstNonSpace="true" insensitive="false" />
</context>
<context name="Outscoped 2" attribute="Comment" lineEndContext="#stay">
<IncludeRules context="Outscoped Common" />
<RegExpr attribute="Preprocessor" context="#pop#pop" String="(#|%\:|\?\?=)\s*endif" endRegion="PP" firstNonSpace="true" insensitive="false" />
</context>
<context name="Inscoped" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<RegExpr attribute="Preprocessor" context="Outscoped" String="(#|%\:|\?\?=)\s*if\s+(0|false)\s*" beginRegion="PP" firstNonSpace="true" insensitive="false" />
<RegExpr attribute="Preprocessor" context="Outscoped 2" String="(#|%\:|\?\?=)\s*el(?:se|if)" firstNonSpace="true" insensitive="false" />
<IncludeRules context="Main" />
</context>
<context name="Outscoped intern" attribute="Comment" lineEndContext="#stay">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
<DetectIdentifier />
<IncludeRules context="##Doxygen" />
<IncludeRules context="AlignedComments" />
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment" />
<RegExpr attribute="Comment" context="Outscoped intern" String="(#|%\:|\?\?=)\s*if" beginRegion="PP" firstNonSpace="true" insensitive="false" />
<RegExpr attribute="Comment" context="#pop" String="(#|%\:|\?\?=)\s*endif" endRegion="PP" firstNonSpace="true" insensitive="false" />
</context>
<context name="AlignedComments" lineEndContext="#stay" attribute="Comment">
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="0" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="4" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="8" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="12" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="16" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="20" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="24" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="28" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="32" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="36" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="40" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="44" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="48" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="52" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="56" char="/" char1="/" />
<Detect2Chars attribute="Region Marker" context="Commentar 1" column="60" char="/" char1="/" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Data Type" defStyleNum="dsDataType" spellChecking="false" />
<itemData name="Type Modifiers" defStyleNum="dsDataType" spellChecking="false" />
<itemData name="Attribute" defStyleNum="dsKeyword" spellChecking="false" bold="false" italic="true" />
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Char" defStyleNum="dsChar" spellChecking="false" />
<itemData name="String" defStyleNum="dsString" spellChecking="true" />
<itemData name="String Char" defStyleNum="dsChar" spellChecking="false" />
<itemData name="Comment" defStyleNum="dsComment" spellChecking="true" />
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Separator Symbol" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Data Members (m_*)" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Globals (g_*)" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Statics (s_*)" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Types (*_t/*_type)" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="CONSTS/MACROS" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Preprocessor" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Prep. Lib" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Standard Macros" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Standard Classes" defStyleNum="dsNormal" spellChecking="false" color="#59ff00" selColor="#59ff00" />
<itemData name="Boost Stuff" defStyleNum="dsNormal" spellChecking="false" color="#23a45b" selColor="#23a45b" />
<itemData name="Internals" defStyleNum="dsNormal" spellChecking="false" color="#808080" selColor="#808080" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />
<itemData name="Error" defStyleNum="dsError" spellChecking="false" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" region="Comment" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
<!-- kate: indent-width 2; tab-width 2; -->

@ -1,5 +1,5 @@
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Crack" version="1.1" kateversion="2.3" section="Sources" extensions="*.crk" mimetype="">
<language name="Crack" version="1.2" kateversion="2.5" section="Sources" extensions="*.crk" mimetype="">
<highlighting>
<list name="keywords">
<item> break</item>

@ -1,5 +1,5 @@
<!DOCTYPE language SYSTEM "language.dtd">
<language name="C#" version="1.15" kateversion="2.3" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde">
<language name="C#" version="1.16" kateversion="2.5" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde">
<highlighting>
<list name="keywords">
<item> abstract</item>

@ -0,0 +1,855 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
Kate CSS syntax highlighting definition
Changelog:
- Version 2.06, by Mte90:
- CSS3 tag
- Version 2.03, by Milian Wolff:
- Make it spelling aware
-->
<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->
<language name="CSS/PHP" hidden="true" version="2.07" kateversion="2.5" section="Other" extensions="" indenter="cstyle" mimetype="" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>
<list name="properties">
<!-- CSS2 -->
<item> azimuth </item>
<item> background </item>
<item> background-attachment </item>
<item> background-break </item>
<item> background-clip </item>
<item> background-color </item>
<item> background-image </item>
<item> background-position </item>
<item> background-origin </item>
<item> background-repeat </item>
<item> border </item>
<item> border-bottom </item>
<item> border-bottom-color </item>
<item> border-bottom-style </item>
<item> border-bottom-width </item>
<item> border-collapse </item>
<item> border-color </item>
<item> border-left </item>
<item> border-left-color </item>
<item> border-left-style </item>
<item> border-left-width </item>
<item> border-right </item>
<item> border-right-color </item>
<item> border-right-style </item>
<item> border-right-width </item>
<item> border-spacing </item>
<item> border-style </item>
<item> border-top </item>
<item> border-top-color </item>
<item> border-top-style </item>
<item> border-top-width </item>
<item> border-width </item>
<item> bottom </item>
<item> caption-side </item>
<item> clear </item>
<item> clip </item>
<item> color </item>
<item> content </item>
<item> counter-increment </item>
<item> counter-reset </item>
<item> cue </item>
<item> cue-after </item>
<item> cue-before </item>
<item> cursor </item>
<item> direction </item>
<item> display </item>
<item> elevation </item>
<item> empty-cells </item>
<item> float </item>
<item> font </item>
<item> font-family </item>
<item> font-size </item>
<item> font-size-adjust </item>
<item> font-stretch </item>
<item> font-style </item>
<item> font-variant </item>
<item> font-weight </item>
<item> font-stretch </item>
<item> height </item>
<item> left </item>
<item> letter-spacing </item>
<item> line-height </item>
<item> list-style </item>
<item> list-style-image </item>
<item> list-style-keyword </item>
<item> list-style-position </item>
<item> list-style-type </item>
<item> margin </item>
<item> margin-bottom </item>
<item> margin-left </item>
<item> margin-right </item>
<item> margin-top </item>
<item> marker-offset </item>
<item> max-height </item>
<item> max-width </item>
<item> min-height </item>
<item> min-width </item>
<item> orphans </item>
<item> outline </item>
<item> outline-color </item>
<item> outline-style </item>
<item> outline-width </item>
<item> overflow </item>
<item> padding </item>
<item> padding-bottom </item>
<item> padding-left </item>
<item> padding-right </item>
<item> padding-top </item>
<item> page </item>
<item> page-break-after </item>
<item> page-break-before </item>
<item> page-break-inside </item>
<item> pause </item>
<item> pause-after </item>
<item> pause-before </item>
<item> pitch </item>
<item> pitch-range </item>
<item> play-during </item>
<item> position </item>
<item> quotes </item>
<item> richness </item>
<item> right </item>
<item> size </item>
<item> speak </item>
<item> speak-header </item>
<item> speak-numeral </item>
<item> speak-punctuation </item>
<item> speech-rate </item>
<item> stress </item>
<item> table-layout </item>
<item> text-align </item>
<item> text-decoration </item>
<item> text-decoration-color </item>
<item> text-indent </item>
<item> text-shadow </item>
<item> text-transform </item>
<item> top </item>
<item> unicode-bidi </item>
<item> vertical-align </item>
<item> visibility </item>
<item> voice-family </item>
<item> volume </item>
<item> white-space </item>
<item> widows </item>
<item> width </item>
<item> word-spacing </item>
<item> z-index </item>
<!-- CSS3 -->
<item> animation-name </item>
<item> animation-duration </item>
<item> animation-iteration </item>
<item> animation-direction </item>
<item> animation-delay </item>
<item> animation-play-state </item>
<item> animation-fill-mode </item>
<item> animation-timing-function </item>
<item> background-size </item>
<item> border-bottom-image </item>
<item> border-bottom-left-image </item>
<item> border-bottom-left-radius </item>
<item> border-bottom-right-image </item>
<item> border-bottom-right-radius </item>
<item> border-collapse </item>
<item> border-corner-image </item>
<item> border-image </item>
<item> border-left-image </item>
<item> border-radius </item>
<item> border-right-image </item>
<item> border-top-image </item>
<item> border-top-left-image </item>
<item> border-top-left-radius </item>
<item> border-top-right-image </item>
<item> border-top-right-radius </item>
<item> box-align </item>
<item> box-direction </item>
<item> box-flex </item>
<item> box-shadow </item>
<item> box-sizing </item>
<item> column-count </item>
<item> column-fill </item>
<item> column-gap </item>
<item> column-rule-color </item>
<item> column-rule-style </item>
<item> column-rule-width </item>
<item> column-span </item>
<item> column-wisth </item>
<item> hyphens </item>
<item> linear-gradient </item>
<item> opacity </item>
<item> outline </item>
<item> outline-offset </item>
<item> overflow-x </item>
<item> overflow-y </item>
<item> pointer-events </item>
<item> resize </item>
<item> rotation </item>
<item> rotation-point </item>
<item> table-layout </item>
<item> text-overflow </item>
<item> text-shadow </item>
<item> text-wrap </item>
<item> transform-origin </item>
<item> transition </item>
<item> transition-property </item>
<item> transition-duration </item>
<item> word-wrap </item>
<!-- Gecko rendering engine CSS property extensions -->
<item> -moz-animation-name </item>
<item> -moz-animation-duration </item>
<item> -moz-animation-iteration </item>
<item> -moz-animation-direction </item>
<item> -moz-animation-delay </item>
<item> -moz-animation-play-state </item>
<item> -moz-animation-fill-mode </item>
<item> -moz-background-size </item>
<item> -moz-border-image </item>
<item> -moz-border-bottom-colors </item>
<item> -moz-border-left-colors </item>
<item> -moz-border-radius </item>
<item> -moz-border-radius-topleft </item>
<item> -moz-border-radius-topright </item>
<item> -moz-border-radius-bottomleft </item>
<item> -moz-border-radius-bottomright </item>
<item> -moz-border-right-colors </item>
<item> -moz-border-top-colors </item>
<item> -moz-box </item>
<item> -moz-box-flex </item>
<item> -moz-box-shadow </item>
<item> -moz-box-sizing </item>
<item> -moz-column-count </item>
<item> -moz-column-gap </item>
<item> -moz-hyphens </item>
<item> -moz-linear-gradient </item>
<item> -moz-opacity </item>
<item> -moz-outline-style </item>
<item> -moz-perspective </item>
<item> -moz-radial-gradient </item>
<item> -moz-resize </item>
<item> -moz-transform </item>
<item> -moz-transform-origin </item>
<item> -moz-transform-style </item>
<item> -moz-transition </item>
<item> -moz-transition-property </item>
<item> -moz-transition-duration </item>
<!-- Opera rendering engine CSS property extensions -->
<item> -o-background-size </item>
<item> -o-linear-gradient </item>
<item> -o-text-overflow </item>
<item> -o-transition </item>
<item> -o-transform-origin </item>
<!-- konq specific -->
<item> konq_bgpos_x </item>
<item> konq_bgpos_y </item>
<item> -khtml-background-size </item>
<item> -khtml-border-top-left-radius </item>
<item> -khtml-border-top-right-radius </item>
<item> -khtml-border-bottom-left-radius </item>
<item> -khtml-border-bottom-right-radius </item>
<item> -khtml-border-radius </item>
<item> -khtml-box-shadow </item>
<item> -khtml-opacity </item>
<!-- Webkit rendering engine CSS property extensions -->
<item> -webkit-appearance </item>
<item> -webkit-animation-name </item>
<item> -webkit-animation-duration </item>
<item> -webkit-animation-iteration </item>
<item> -webkit-animation-direction </item>
<item> -webkit-animation-delay </item>
<item> -webkit-animation-play-state </item>
<item> -webkit-animation-fill-mode </item>
<item> -webkit-background-size </item>
<item> -webkit-border-image </item>
<item> -webkit-border-bottom-colors </item>
<item> -webkit-border-left-colors </item>
<item> -webkit-border-radius </item>
<item> -webkit-border-right-colors </item>
<item> -webkit-border-top-colors </item>
<item> -webkit-border-top-left-radius </item>
<item> -webkit-border-top-right-radius </item>
<item> -webkit-border-bottom-left-radius </item>
<item> -webkit-border-bottom-right-radius </item>
<item> -webkit-border-radius-bottomleft </item>
<item> -webkit-border-radius-bottomright </item>
<item> -webkit-box-flex </item>
<item> -webkit-box-reflect</item>
<item> -webkit-box-shadow </item>
<item> -webkit-box-sizing </item>
<item> -webkit-column-count </item>
<item> -webkit-column-gap </item>
<item> -webkit-hyphens </item>
<item> -webkit-linear-gradient </item>
<item> -webkit-gradient </item>
<item> -webkit-perspective </item>
<item> -webkit-text-fill-color </item>
<item> -webkit-text-stroke-color </item>
<item> -webkit-text-stroke-width </item>
<item> -webkit-text-size-adjust </item>
<item> -webkit-transform </item>
<item> -webkit-transform-origin </item>
<item> -webkit-transform-style </item>
<item> -webkit-transition </item>
<item> -webkit-transition-property </item>
<item> -webkit-transition-duration </item>
<!-- Trident (a.k.a., MSHTML) CSS property extensions -->
<item> filter </item>
<item> zoom </item>
<item> -ms-animation-name </item>
<item> -ms-animation-duration </item>
<item> -ms-animation-iteration </item>
<item> -ms-animation-direction </item>
<item> -ms-animation-delay </item>
<item> -ms-animation-play-state </item>
<item> -ms-animation-fill-mode </item>
<item> -ms-box-sizing </item>
<item> -ms-filter </item>
<item> -ms-interpolation-mode </item>
<item> -ms-linear-gradient </item>
<item> -ms-text-size-adjust </item>
<item> -ms-transform </item>
<item> -ms-transition </item>
<!-- font properties in @font-face -->
<item> font-family </item>
<item> font-size </item>
<item> font-stretch </item>
<item> font-style </item>
<item> font-variant </item>
<item> font-weight </item>
<item> unicode-range </item>
<item> units-per-em </item>
<item> src </item>
<item> panose-1 </item>
<item> stemv </item>
<item> stemh </item>
<item> slope </item>
<item> cap-height </item>
<item> x-height </item>
<item> ascent </item>
<item> descent </item>
<item> widths </item>
<item> bbox </item>
<item> definition-src </item>
<item> baseline </item>
<item> centerline </item>
<item> mathline </item>
<item> topline </item>
</list>
<list name="types">
<item> inherit </item>
<item> none </item>
<item> hidden </item>
<item> dotted </item>
<item> dashed </item>
<item> solid </item>
<item> double </item>
<item> groove </item>
<item> ridge </item>
<item> inset </item>
<item> outset </item>
<item> xx-small </item>
<item> x-small </item>
<item> small </item>
<item> medium </item>
<item> large </item>
<item> x-large </item>
<item> xx-large </item>
<item> smaller </item>
<item> larger </item>
<item> italic </item>
<item> oblique </item>
<item> small-caps </item>
<item> normal </item>
<item> bold </item>
<item> bolder </item>
<item> lighter </item>
<item> light </item>
<item> 100 </item>
<item> 200 </item>
<item> 300 </item>
<item> 400 </item>
<item> 500 </item>
<item> 600 </item>
<item> 700 </item>
<item> 800 </item>
<item> 900 </item>
<item> transparent </item>
<item> repeat </item>
<item> repeat-x </item>
<item> repeat-y </item>
<item> no-repeat </item>
<item> baseline </item>
<item> sub </item>
<item> super </item>
<item> top </item>
<item> text-top </item>
<item> middle </item>
<item> bottom </item>
<item> text-bottom </item>
<item> left </item>
<item> right </item>
<item> center </item>
<item> justify </item>
<item> konq-center </item>
<item> disc </item>
<item> circle </item>
<item> square </item>
<item> box </item>
<item> decimal </item>
<item> decimal-leading-zero </item>
<item> lower-roman </item>
<item> upper-roman </item>
<item> lower-greek </item>
<item> lower-alpha </item>
<item> lower-latin </item>
<item> upper-alpha </item>
<item> upper-latin </item>
<item> hebrew </item>
<item> armenian </item>
<item> georgian </item>
<item> cjk-ideographic </item>
<item> hiragana </item>
<item> katakana </item>
<item> hiragana-iroha </item>
<item> katakana-iroha </item>
<item> inline </item>
<item> inline-block </item>
<item> block </item>
<item> list-item </item>
<item> run-in </item>
<item> compact </item>
<item> marker </item>
<item> table </item>
<item> inline-table </item>
<item> table-row-group </item>
<item> table-header-group </item>
<item> table-footer-group </item>
<item> table-row </item>
<item> table-column-group </item>
<item> table-column </item>
<item> table-cell </item>
<item> table-caption </item>
<item> auto </item>
<item> crosshair </item>
<item> default </item>
<item> pointer </item>
<item> move </item>
<item> e-resize </item>
<item> ne-resize </item>
<item> nw-resize </item>
<item> n-resize </item>
<item> se-resize </item>
<item> sw-resize </item>
<item> s-resize </item>
<item> w-resize </item>
<item> text </item>
<item> wait </item>
<item> help </item>
<item> above </item>
<item> absolute </item>
<item> always </item>
<item> avoid </item>
<item> below </item>
<item> bidi-override </item>
<item> blink </item>
<item> both </item>
<item> capitalize </item>
<item> caption </item>
<item> clip </item>
<item> close-quote </item>
<item> collapse </item>
<item> condensed </item>
<item> crop </item>
<item> cross </item>
<item> ellipsis </item>
<item> ellipsis-word </item>
<item> embed </item>
<item> expanded </item>
<item> extra-condensed </item>
<item> extra-expanded </item>
<item> fixed </item>
<item> hand </item>
<item> hide </item>
<item> higher </item>
<item> icon </item>
<item> inside </item>
<item> invert </item>
<item> landscape </item>
<item> level </item>
<item> line-through </item>
<item> loud </item>
<item> lower </item>
<item> lowercase </item>
<item> ltr </item>
<item> menu </item>
<item> message-box </item>
<item> mix </item>
<item> narrower </item>
<item> no-close-quote </item>
<item> no-open-quote </item>
<item> nowrap </item>
<item> open-quote </item>
<item> outside </item>
<item> overline </item>
<item> portrait </item>
<item> pre </item>
<item> pre-line </item>
<item> pre-wrap </item>
<item> relative </item>
<item> rtl </item>
<item> scroll </item>
<item> semi-condensed </item>
<item> semi-expanded </item>
<item> separate </item>
<item> show </item>
<item> small-caption </item>
<item> static </item>
<item> static-position </item>
<item> status-bar </item>
<item> thick </item>
<item> thin </item>
<item> ultra-condensed </item>
<item> ultra-expanded </item>
<item> underline </item>
<item> uppercase </item>
<item> visible </item>
<item> wider </item>
<item> break </item>
<item> serif </item>
<item> sans-serif </item>
<item> cursive </item>
<item> fantasy </item>
<item> monospace </item>
<item> border-box </item>
<item> content-box </item>
<item> -epub-hyphens </item>
</list>
<list name="colors">
<item> aqua </item>
<item> black </item>
<item> blue </item>
<item> cyan </item>
<item> fuchsia </item>
<item> gray </item>
<item> green </item>
<item> lime </item>
<item> maroon </item>
<item> navy </item>
<item> olive </item>
<item> purple </item>
<item> red </item>
<item> silver </item>
<item> teal </item>
<item> white </item>
<item> yellow </item>
<item> ActiveBorder </item>
<item> ActiveCaption </item>
<item> AppWorkspace </item>
<item> Background </item>
<item> ButtonFace </item>
<item> ButtonHighlight </item>
<item> ButtonShadow </item>
<item> ButtonText </item>
<item> CaptionText </item>
<item> GrayText </item>
<item> Highlight </item>
<item> HighlightText </item>
<item> InactiveBorder </item>
<item> InactiveCaption </item>
<item> InactiveCaptionText </item>
<item> InfoBackground </item>
<item> InfoText </item>
<item> Menu </item>
<item> MenuText </item>
<item> Scrollbar </item>
<item> ThreeDDarkShadow </item>
<item> ThreeDFace </item>
<item> ThreeDHighlight </item>
<item> ThreeDLightShadow </item>
<item> ThreeDShadow </item>
<item> Window </item>
<item> WindowFrame </item>
<item> WindowText </item>
</list>
<list name="paren">
<item> url </item>
<item> attr </item>
<item> rect </item>
<item> rgb </item>
<item> rgba </item>
<item> hsl </item>
<item> hsla </item>
<item> counter </item>
<item> counters </item>
<!-- in @font-face -->
<item> local </item>
<item> format </item>
<!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->
<item> expression </item>
</list>
<list name="mediatypes">
<item> all </item>
<item> aural </item>
<item> braille </item>
<item> embossed </item>
<item> handheld </item>
<item> print </item>
<item> projection </item>
<item> screen </item>
<item> tty </item>
<item> tv </item>
</list>
<list name="pseudoclasses">
<item> hover </item>
<item> link </item>
<item> visited </item>
<item> active </item>
<item> focus </item>
<item> first-child </item>
<item> last-child </item>
<item> only-child </item>
<item> first-of-type </item>
<item> last-of-type </item>
<item> only-of-type </item>
<item> first-letter </item>
<item> first-line </item>
<item> before </item>
<item> after </item>
<item> selection </item>
<item> root </item>
<item> empty </item>
<item> target </item>
<item> enabled </item>
<item> disabled </item>
<item> checked </item>
<item> indeterminate </item>
<item> nth-child </item>
<item> nth-last-child </item>
<item> nth-of-type </item>
<item> nth-last-of-type </item>
<item> not </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Base">
<IncludeRules context="FindPHP" />
<LineContinue/>
<DetectSpaces/>
<IncludeRules context="FindRuleSets" />
</context>
<!-- to be included -->
<!-- finds rules and detects nesting -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Media" context="Media" String="@media\b" />
<RegExpr attribute="At Rule" context="Import" String="@import\b" />
<RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />
<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
<!--parse selectors-->
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
<RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<!-- finds arguments to properties -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindValues">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\b" />
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />
<RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />
</context>
<!-- finds strings -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">
<IncludeRules context="FindPHP" />
<DetectChar attribute="String" context="StringDQ" char="&quot;" />
<DetectChar attribute="String" context="StringSQ" char="'" />
</context>
<!-- finds comments -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindComments">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />
<RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="comment" />
</context>
<!-- other contexts -->
<context attribute="Normal Text" lineEndContext="#stay" name="Media">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />
<keyword attribute="Media" context="#stay" String="mediatypes" />
<DetectChar attribute="Media" context="#stay" char="," />
<IncludeRules context="FindComments" />
<RegExpr attribute="Error" context="#stay" String="\S+" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Media2">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />
<IncludeRules context="FindRuleSets" />
</context>
<context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Selector Attr" context="#pop" char="]" />
<IncludeRules context="FindStrings" />
</context>
<context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo"
fallthrough="true" fallthroughContext="#pop">
<IncludeRules context="FindPHP" />
<keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Import">
<IncludeRules context="FindPHP" />
<DetectChar attribute="At Rule" context="#pop" char=";" />
<keyword attribute="Media" context="#stay" String="mediatypes" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Comment">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />
<keyword attribute="Property" context="Rule" String="properties" />
<RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />
<IncludeRules context="FindComments" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Rule">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Property" context="Rule2" char=":" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Rule2">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Property" context="#pop#pop" char=";" />
<DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />
<!-- parse property values -->
<keyword attribute="Value" context="#stay" String="types" />
<keyword attribute="Value" context="#stay" String="colors" />
<RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />
<keyword attribute="Value" context="PropParen" String="paren" />
<RegExpr attribute="Important" context="#stay" String="!important\b" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="PropParen">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="PropParen2" char="(" />
<IncludeRules context="FindComments" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="#pop#pop" char=")" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<!-- string contexts -->
<context attribute="String" lineEndContext="#stay" name="StringDQ">
<IncludeRules context="FindPHP" />
<DetectChar attribute="String" context="#pop" char="&quot;" />
<IncludeRules context="InsideString" />
</context>
<context attribute="String" lineEndContext="#stay" name="StringSQ">
<IncludeRules context="FindPHP" />
<DetectChar attribute="String" context="#pop" char="'" />
<IncludeRules context="InsideString" />
</context>
<context attribute="String" lineEndContext="#stay" name="InsideString">
<IncludeRules context="FindPHP" />
<RegExpr attribute="String" context="#stay" String="\\[&quot;']" />
<DetectIdentifier/>
</context>
<context name="FindPHP">
<RegExpr context="##PHP/PHP" String="&lt;\?(?:=|php)?" lookAhead="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Property" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1" spellChecking="false"/>
<itemData name="Media" defStyleNum="dsDecVal" bold="1" spellChecking="false"/>
<itemData name="At Rule" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Value" defStyleNum="dsDataType" spellChecking="false"/>
<itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="Selector Id" defStyleNum="dsFloat" bold="1" spellChecking="false"/>
<itemData name="Selector Class" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
<itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>
<keywords casesensitive="0" weakDeliminator="-%"/>
<comments>
<comment name="multiLine" start="/*" end="*/" />
</comments>
</general>
</language>
<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->

@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!DOCTYPE language SYSTEM "language.dtd"
[
<!-- http://www.w3.org/TR/CSS21/syndata.html#tokenization -->
<!ENTITY nmstart "[_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
<!ENTITY nmchar "[_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
]>
<!--
@ -28,7 +33,7 @@
-->
<language name="CSS" version="2.05" kateversion="2.4" section="Markup" extensions="*.css" indenter="cstyle"
<language name="CSS" version="2.07" kateversion="2.5" section="Markup" extensions="*.css" indenter="cstyle"
mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>
@ -552,7 +557,7 @@
<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
<!--parse selectors-->
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
<RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<RegExpr attribute="Selector Id" context="#stay" String="#(-)?(&nmstart;)(&nmchar;)*" />
<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="CUE Sheet" version="0.91" kateversion="2.1" section="Other" extensions="*.cue" mimetype="application/x-cue">
<language name="CUE Sheet" version="0.92" kateversion="2.5" section="Other" extensions="*.cue" mimetype="application/x-cue">
<highlighting>
<list name="keywords">
<item> CATALOG </item>

@ -0,0 +1,364 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!-- qualification of entities -->
<!ENTITY qualify "([A-Z][a-zA-Z0-9_']*\.)*">
<!-- identifier -->
<!ENTITY ident "[a-z][a-zA-Z0-9_']*">
<!-- Type -->
<!ENTITY type "[A-Z][a-zA-Z0-9_']*">
<!-- infix operator characters -->
<!ENTITY infixchar "~!@#\$&#37;\^&amp;\*\+\-=&lt;&gt;\?\./\|&backslash;:">
<!-- identifier in prefix notation, e.g.: id, ($) -->
<!ENTITY prefixIdent "(&ident;|\([&infixchar;]+\))">
<!-- Characters allowed in character escape sequence, e.g., \n -->
<!ENTITY escSeqChar "abfnrtv\&quot;'" >
<!-- Ascii escape sequence, e.g., \NUL -->
<!ENTITY escSeqAscii "NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL" >
<!-- Control escape sequence, e.g., \^X -->
<!ENTITY escSeqCntrl "\^[A-Z@\[&backslash;\]\^_]" >
<!-- octal number -->
<!ENTITY octal "[0-7]+" >
<!-- decimal number -->
<!ENTITY decimal "[0-9]+" >
<!-- hexadecimal number -->
<!ENTITY hexadecimal "[0-9a-fA-F]+" >
<!-- a backslash, escaped for use in regular expressions -->
<!ENTITY backslash "\\" >
<!-- dashes introducing a currydoc comment -->
<!ENTITY currydoc "---" >
]>
<language name="Curry" version="0.4" kateversion="2.5"
section="Sources" extensions="*.curry" mimetype="text/x-curry"
author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL"
indenter="haskell">
<highlighting>
<list name="keywords">
<item> case </item>
<item> data </item>
<item> do </item>
<item> else </item>
<item> external </item>
<item> fcase </item>
<item> free </item>
<item> if </item>
<!-- Although import is a keyword, it is handled in a special context
to highlight "qualified", "as" and "hiding" in keyword style,
albeit these lexemes are no keywords.
<item> import </item>
-->
<item> in </item>
<item> infix </item>
<item> infixl </item>
<item> infixr </item>
<item> let </item>
<item> module </item>
<item> of </item>
<item> then </item>
<item> type </item>
<item> where </item>
</list>
<list name="Prelude Func">
<item> and </item>
<item> all </item>
<item> any </item>
<item> appendFile </item>
<item> best </item>
<item> break </item>
<item> browse </item>
<item> browseList </item>
<item> chr </item>
<item> concat </item>
<item> concatMap </item>
<item> const </item>
<item> curry </item>
<item> div </item>
<item> done </item>
<item> doSolve </item>
<item> drop </item>
<item> dropWhile </item>
<item> either </item>
<item> elem </item>
<item> ensureNotFree </item>
<item> ensureSpine </item>
<item> enumFrom </item>
<item> enumFromThen </item>
<item> enumFromTo </item>
<item> enumFromThenTo </item>
<item> error </item>
<item> failed </item>
<item> filter </item>
<item> findall </item>
<item> flip </item>
<item> foldl </item>
<item> foldl1 </item>
<item> foldr </item>
<item> foldr1 </item>
<item> fst </item>
<item> getChar </item>
<item> getLine </item>
<item> id </item>
<item> if_then_else </item>
<item> iterate </item>
<item> head </item>
<item> length </item>
<item> lines </item>
<item> lookup </item>
<item> map </item>
<item> mapIO </item>
<item> mapIO_ </item>
<item> max </item>
<item> maybe </item>
<item> min </item>
<item> mod </item>
<item> negate </item>
<item> not </item>
<item> notElem </item>
<item> null </item>
<item> once </item>
<item> or </item>
<item> ord </item>
<item> otherwise </item>
<item> print </item>
<item> putChar </item>
<item> putStr </item>
<item> putStrLn </item>
<item> readFile </item>
<item> repeat </item>
<item> replicate </item>
<item> return </item>
<item> reverse </item>
<item> seq </item>
<item> sequenceIO </item>
<item> sequenceIO_ </item>
<item> show </item>
<item> snd </item>
<item> solveAll </item>
<item> span </item>
<item> splitAt </item>
<item> success </item>
<item> tail </item>
<item> take </item>
<item> takeWhile </item>
<item> try </item>
<item> uncurry </item>
<item> unknown </item>
<item> unlines </item>
<item> unpack </item>
<item> until </item>
<item> unwords </item>
<item> unzip </item>
<item> unzip3 </item>
<item> writeFile </item>
<item> words </item>
<item> zip </item>
<item> zip3 </item>
<item> zipWith </item>
<item> zipWith3 </item>
</list>
<list name="Prelude Type">
<item> Bool </item>
<item> Char </item>
<item> Either </item>
<item> Float </item>
<item> Int </item>
<item> IO </item>
<item> Maybe </item>
<item> Ordering </item>
<item> String </item>
<item> Success </item>
</list>
<list name="Prelude Cons">
<item> False </item>
<item> True </item>
<item> Left </item>
<item> Right </item>
<item> Just </item>
<item> Nothing </item>
<item> EQ </item>
<item> LT </item>
<item> GT </item>
</list>
<contexts>
<context name="Normal" attribute="Normal" lineEndContext="#stay">
<!-- pragmas, currydoc, comments -->
<StringDetect attribute="Pragma" context="Pragma" String="{-#" beginRegion="Pragma" />
<Detect2Chars attribute="Comment" context="Multiline Comment" char="{" char1="-" beginRegion="Multiline Comment" />
<StringDetect attribute="Currydoc" context="Currydoc" String="&currydoc;" />
<Detect2Chars attribute="Comment" context="Comment" char="-" char1="-" />
<!-- keywords, Prelude entities -->
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Prelude Function" context="#stay" String="Prelude Func" />
<keyword attribute="Prelude Type" context="#stay" String="Prelude Type" />
<keyword attribute="Prelude Constructor" context="#stay" String="Prelude Cons" />
<RegExpr attribute="Keyword" context="Import" String="import\s+(qualified)?" />
<!-- Literals -->
<Float attribute="Float" context="#stay" />
<RegExpr attribute="Octal" context="#stay" String="0(o|O)&octal;" />
<HlCHex attribute="Hex" context="#stay" />
<Int attribute="Decimal" context="#stay" />
<DetectChar attribute="Char" context="Char" char="'" />
<DetectChar attribute="String" context="String" char="&quot;" />
<!-- Others -->
<RegExpr attribute="Special Symbol" context="#stay" String="(::|:=|:&gt;|\-&gt;|&lt;\-|\.\.)" />
<RegExpr attribute="Signature" context="#stay" String="\s*&prefixIdent;\s*(,\s*&prefixIdent;)*\s*(?=::[^&infixchar;])" />
<RegExpr attribute="Function" context="#stay" String="&qualify;&ident;" />
<RegExpr attribute="Operator" context="#stay" String="&qualify;[&infixchar;]+" />
<RegExpr attribute="Type, Constructor" context="#stay" String="&qualify;&type;" />
<DetectChar attribute="Infix Application" context="Infix" char="`" />
<!-- Folding of braces -->
<DetectChar char="(" context="#stay" beginRegion="nested" attribute="Braces" />
<DetectChar char=")" context="#stay" endRegion="nested" attribute="Braces" />
<DetectChar char="[" context="#stay" beginRegion="list" attribute="Braces" />
<DetectChar char="]" context="#stay" endRegion="list" attribute="Braces" />
<DetectChar char="{" context="#stay" beginRegion="curly" attribute="Braces" />
<DetectChar char="}" context="#stay" endRegion="curly" attribute="Braces" />
</context>
<!-- Pragma -->
<context name="Pragma" attribute="Pragma" lineEndContext="#stay" >
<StringDetect attribute="Pragma" context="#pop" String="#-}" endRegion="Pragma" />
</context>
<!-- Multiline comment -->
<context name="Multiline Comment" attribute="Comment" lineEndContext="#stay" >
<Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" endRegion="Multiline Comment" />
</context>
<!-- Currydoc -->
<context name="Currydoc" attribute="Currydoc" lineEndContext="#pop" />
<!-- Single line comment -->
<context name="Comment" attribute="Comment" lineEndContext="#pop" />
<!-- Import section -->
<context name="Import" attribute="Normal" lineEndContext="#pop" >
<!-- pragmas, currydoc, comments -->
<StringDetect attribute="Pragma" context="Pragma" String="{-#" beginRegion="Pragma" />
<Detect2Chars attribute="Comment" context="Multiline Comment" char="{" char1="-" beginRegion="Multiline Comment" />
<StringDetect attribute="Currydoc" context="Currydoc" String="&currydoc;" />
<Detect2Chars attribute="Comment" context="Comment" char="-" char1="-" />
<RegExpr attribute="Type, Constructor" context="#stay" String="&qualify;&type;" />
<Detect2Chars attribute="Keyword" context="#stay" char="a" char1="s" />
<StringDetect attribute="Keyword" context="#stay" String="hiding" />
<!-- Pop context at open paren to highlight imported entities -->
<DetectChar attribute="Braces" context="#pop" char="(" beginRegion="nested" />
<RegExpr attribute="Syntax Error" context="#stay" String="\S+" />
</context>
<!-- A single characters, with escape sequences -->
<context name="Char" attribute="Char" lineEndContext="CharSyntaxError" >
<DetectChar attribute="Syntax Error" context="#pop" char="'" />
<DetectChar attribute="Char" context="CharEscape" char="\" />
<RegExpr attribute="Char" context="CharEnd" String="[^'&backslash;]" />
</context>
<!-- Character escape sequence -->
<context name="CharEscape" attribute="Char" lineEndContext="#popCharSyntaxError" >
<AnyChar attribute="Char" context="#popCharEnd" String="&escSeqChar;" />
<RegExpr attribute="Char" context="#popCharEnd" String="o&octal;" />
<RegExpr attribute="Char" context="#popCharEnd" String="&decimal;" />
<RegExpr attribute="Char" context="#popCharEnd" String="x&hexadecimal;" />
<RegExpr attribute="Char" context="#popCharEnd" String="&escSeqCntrl;" />
<RegExpr attribute="Char" context="#popCharEnd" String="&escSeqAscii;" />
<RegExpr attribute="Syntax Error" context="#popCharEnd" String="." />
</context>
<!-- Ending quote of character literal -->
<context name="CharEnd" attribute="Char" lineEndContext="#popCharSyntaxError" >
<DetectChar attribute="Char" context="#pop#pop" char="'" />
<RegExpr attribute="Syntax Error" context="#stay" String="." />
</context>
<!-- Character syntax error: Newline inside literal -->
<context name="CharSyntaxError" attribute="Syntax Error" lineEndContext="#stay" >
<DetectChar attribute="Syntax Error" context="#pop#pop" char="'" />
</context>
<!-- A string, with escape sequences -->
<context name="String" attribute="String" lineEndContext="StringSyntaxError" >
<DetectChar attribute="String" context="#pop" char="&quot;" />
<DetectChar attribute="String Escape" context="StringEscape" char="\" />
<RegExpr attribute="String" context="#stay" String="[^&quot;&backslash;]*" />
</context>
<!-- String escape sequence -->
<context name="StringEscape" attribute="String" lineEndContext="StringGap" >
<AnyChar attribute="String Escape" context="#pop" String="&escSeqChar;&amp;" />
<RegExpr attribute="String Escape" context="#pop" String="o&octal;" />
<RegExpr attribute="String Escape" context="#pop" String="&decimal;" />
<RegExpr attribute="String Escape" context="#pop" String="x&hexadecimal;" />
<RegExpr attribute="String Escape" context="#pop" String="&escSeqCntrl;" />
<RegExpr attribute="String Escape" context="#pop" String="&escSeqAscii;" />
<DetectSpaces attribute="String Escape" context="StringGap" />
<RegExpr attribute="Syntax Error" context="#pop" String="." />
</context>
<context name="StringGap" attribute="String" lineEndContext="#stay" >
<DetectSpaces attribute="String Escape" context="#stay" />
<DetectChar attribute="String Escape" context="#pop#pop#popString" char="\" />
<DetectChar attribute="Syntax Error" context="#pop#pop#pop" char="&quot;" />
<RegExpr attribute="Syntax Error" context="#stay" String="." />
</context>
<!-- String syntax error: Newline inside literal -->
<context name="StringSyntaxError" attribute="Syntax Error" lineEndContext="#stay" >
<DetectChar attribute="Syntax Error" context="#pop#pop" char="&quot;" />
</context>
<!-- Infix application -->
<context name="Infix" attribute="Infix Application" lineEndContext="#stay" >
<DetectChar attribute="Infix Application" context="#pop" char="`"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal" defStyleNum="dsNormal" spellChecking="false" />
<!-- Comments -->
<itemData name="Pragma" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Currydoc" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF"/>
<!-- Keywords, predefined entities -->
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Prelude Type" defStyleNum="dsDataType" spellChecking="false" />
<itemData name="Prelude Function" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Prelude Constructor" defStyleNum="dsKeyword" spellChecking="false" />
<!-- Literals -->
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="Char" defStyleNum="dsChar" spellChecking="false" />
<itemData name="String Escape" defStyleNum="dsChar" spellChecking="false" />
<itemData name="String" defStyleNum="dsString" />
<!-- Others -->
<itemData name="Braces" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Signature" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Function" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Operator" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Type, Constructor" defStyleNum="dsDataType" spellChecking="false" />
<itemData name="Special Symbol" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Infix Application" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Syntax Error" defStyleNum="dsError" spellChecking="false" />
</itemDatas>
</highlighting>
<general>
<folding indentationsensitive="1"/>
<comments>
<comment name="singleLine" start="--" />
<comment name="multiLine" start="{-" end="-}" region="Multiline Comment" />
</comments>
<keywords casesensitive="1" />
</general>
</language>

@ -101,7 +101,7 @@
========================================================================
-->
<language name="D" version="1.62" kateversion="2.5" section="Sources" extensions="*.d;*.D;*.di;*.DI;" mimetype="text/x-dsrc" casesensitive="true" author="Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm)" license="LGPL">
<language name="D" version="1.63" kateversion="2.5" section="Sources" extensions="*.d;*.D;*.di;*.DI;" mimetype="text/x-dsrc" casesensitive="true" author="Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm)" license="LGPL">
<highlighting>
<!-- User-defined keywords (add identifiers you'd like highlighted here) -->
<list name="userkeywords">

@ -49,7 +49,7 @@
* Boston, MA 02110-1301, USA. *
**********************************************************************
-->
<language name="Ddoc" version="1.14" kateversion="2.5" section="Markup" author="Diggory Hardy (diggory.hardy@gmail.com)" license="LGPL" extensions="">
<language name="Ddoc" version="1.15" kateversion="2.5" section="Markup" author="Diggory Hardy (diggory.hardy@gmail.com)" license="LGPL" extensions="">
<highlighting>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Changelog" version="0.66" kateversion="2.4" section="Other" extensions="" mimetype="">
<language name="Debian Changelog" version="0.69" kateversion="2.5" section="Other" extensions="" mimetype="">
<highlighting>
<list name="keywords">
<item>urgency</item>
@ -12,23 +12,36 @@
<item>oldstable-proposed-updates</item>
<item>stable</item>
<item>stable-security</item>
<item>stable-proposed-updates</item>
<item>testing</item>
<item>testing-security</item>
<item>testing-proposed-updates</item>
<item>frozen</item>
<item>unstable</item>
<item>sid</item>
<item>experimental</item>
<item>UNRELEASED</item>
<!-- Debian releases -->
<item>sarge</item>
<item>sarge-backports</item>
<item>sarge-volatile</item>
<item>etch</item>
<item>etch-backports</item>
<item>etch-volatile</item>
<item>lenny</item>
<item>lenny-backports</item>
<item>lenny-backports-sloppy</item>
<item>lenny-volatile</item>
<item>squeeze</item>
<item>squeeze-backports</item>
<item>squeeze-backports-sloppy</item>
<item>squeeze-volatile</item>
<item>wheezy</item>
<item>wheezy-backports</item>
<item>wheezy-backports-sloppy</item>
<item>jessie</item>
<item>jessie-backports</item>
<item>jessie-backports-sloppy</item>
<!-- Ubuntu releases -->
<item>dapper</item>
<item>dapper-security</item>
@ -102,6 +115,21 @@
<item>precise-proposed</item>
<item>precise-updates</item>
<item>precise-backports</item>
<item>quantal</item>
<item>quantal-security</item>
<item>quantal-proposed</item>
<item>quantal-updates</item>
<item>quantal-backports</item>
<item>raring</item>
<item>raring-security</item>
<item>raring-proposed</item>
<item>raring-updates</item>
<item>raring-backports</item>
<item>saucy</item>
<item>saucy-security</item>
<item>saucy-proposed</item>
<item>saucy-updates</item>
<item>saucy-backports</item>
</list>
<list name="urgencies">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Control" version="0.84" kateversion="2.4" section="Other" extensions="control" mimetype="">
<language name="Debian Control" version="0.85" kateversion="2.5" section="Other" extensions="control" mimetype="">
<highlighting>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="INIT">

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name=".desktop" version="1.04" kateversion="2.4" section="Configuration" extensions="*.desktop;*.kdelnk" mimetype="application/x-desktop">
<language name=".desktop" version="1.06" kateversion="2.5"
section="Configuration" extensions="*.desktop;*.kdelnk;*.desktop.cmake"
mimetype="application/x-desktop">
<highlighting>
<contexts>
<context attribute="Key" lineEndContext="#stay" name="Normal">

@ -15,7 +15,7 @@
2008-02-13: 1.11 Eduardo Robles Elvira <edulix AT gmail DOT com>
Fixed folding.
-->
<language name="Diff" version="1.11" kateversion="2.1" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch">
<language name="Diff" version="1.12" kateversion="2.5" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch">
<highlighting>

@ -4,7 +4,7 @@
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="Django HTML Template" version="1.3" kateversion="2.4" section="Markup" extensions="*.htm;*.html" mimetype="text/html" author="Matthew Marshall (matthew@matthewmarshall.org)" license="LGPL" priority="9">
<language name="Django HTML Template" version="1.4" kateversion="2.5" section="Markup" extensions="*.htm;*.html" mimetype="text/html" author="Matthew Marshall (matthew@matthewmarshall.org)" license="LGPL" priority="9">
<!--
Based off of the katepart html syntax highlighting by Wilbert Berendsen.

@ -8,7 +8,7 @@
<!ENTITY eop "(?=([\s\\;&quot;&#37;]|$))"> <!-- end of path -->
<!ENTITY pathpart "[^\s\\&#37;;/:\*\?&quot;&gt;&lt;\|]"> <!-- valid character in a file name -->
]>
<language name="MS-DOS Batch" version="0.30" kateversion="2.4" section="Scripts" extensions="*.bat" mimetype="application/x-dos" casesensitive="0" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">
<language name="MS-DOS Batch" version="0.31" kateversion="2.5" section="Scripts" extensions="*.bat" mimetype="application/x-dos" casesensitive="0" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">
<!-- (c) 2006, 2009, 2010 Matthew Woehlke (mw_triad@users.sourceforge.net)
Released under the LGPL -->

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Adapted from the VIM highlighter, by Markus Mottl (markus@oefai.at) -->
<language name="dot" version="1.1" kateversion="2.4" section="Scientific" extensions="*.dot" mimetype="text/x-dot" author="Postula Loïs (lois.postula@live.be)" priority="0">
<language name="dot" version="1.2" kateversion="2.5" section="Scientific" extensions="*.dot" mimetype="text/x-dot" author="Postula Loïs (lois.postula@live.be)" priority="0">
<highlighting>

@ -8,7 +8,7 @@
Copyright 2004 Dominik Haumann (dhdev@gmx.de)
Copyright 2007 Matthew Woehlke (mw_triad@users.sourceforge.net)
Copyright 2009-2012 Alex Turbov (I.zaufi@gmail.com)
Copyright 2009-2013 Alex Turbov (I.zaufi@gmail.com)
**********************************************************************
* This library is free software; you can redistribute it and/or *
@ -29,8 +29,8 @@
-->
<language name="Doxygen"
version="1.33"
kateversion="2.4"
version="1.36"
kateversion="2.5"
section="Markup"
extensions="*.dox;*.doxygen"
mimetype="text/x-doxygen"
@ -48,7 +48,6 @@
<item> \author </item> <item> @author </item>
<item> \authors </item> <item> @authors </item>
<item> \brief </item> <item> @brief </item>
<item> \bug </item> <item> @bug </item>
<item> \callgraph </item> <item> @callgraph </item>
<item> \callergraph </item> <item> @callergraph </item>
<item> \date </item> <item> @date </item>
@ -219,6 +218,7 @@
</list>
<list name="Attention">
<item> \attention </item> <item> @attention </item>
<item> \bug </item> <item> @bug </item>
</list>
<list name="Todo">
<item> \todo </item> <item> @todo </item>
@ -267,8 +267,8 @@
<DetectSpaces />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="BlockComment" />
<IncludeRules context="##Alerts" />
<Detect2Chars attribute="Region" context="#stay" char="@" char1="{" />
<Detect2Chars attribute="Region" context="#stay" char="@" char1="}" />
<Detect2Chars attribute="Region" context="#stay" char="@" char1="{" beginRegion="Group" />
<Detect2Chars attribute="Region" context="#stay" char="@" char1="}" endRegion="Group" />
<IncludeRules context="SL_DetectEnv" />
<keyword attribute="Tags" context="#stay" String="TagOnly" />
<keyword attribute="Tags" context="ML_TagWord" String="TagWord" />
@ -474,7 +474,7 @@
<itemData name="HTML Tag" defStyleNum="dsKeyword" color="#000000" bold="1" italic="0" />
<itemData name="Entities" defStyleNum="dsOthers" color="#4086C0" bold="1" italic="1" />
<itemData name="Description" defStyleNum="dsString" color="#ff0000" />
<itemData name="Comment" defStyleNum="dsComment" color="#0000ff" italic="1" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Region" defStyleNum="dsRegionMarker" />
<itemData name="Identifier" defStyleNum="dsOthers" />
<itemData name="HTML Comment" defStyleNum="dsComment" />

@ -27,7 +27,7 @@
* Boston, MA 02110-1301, USA. *
**********************************************************************
-->
<language name="DoxygenLua" version="1.01" kateversion="2.4" section="Markup" extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" author="Bruno Massa (brmassa@gmail.com)" license="LGPL">
<language name="DoxygenLua" version="1.02" kateversion="2.5" section="Markup" extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" author="Bruno Massa (brmassa@gmail.com)" license="LGPL">
<highlighting>
<!-- note: all tags may begin with a \ or @ char
so if you add/change tags you have to do it twice -->

@ -3,7 +3,7 @@
<!ENTITY nmtoken "[\-\w\d\.:_]+">
<!ENTITY entref "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);">
]>
<language name="DTD" version="1.02" kateversion="2.4" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk (s-andy@in.if.ua)" license="LGPL">
<language name="DTD" version="1.03" kateversion="2.5" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk (s-andy@in.if.ua)" license="LGPL">
<highlighting>
<list name="Category">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="E Language" version="0.22" kateversion="2.3" section="Sources" extensions="*.e" mimetype="text/x-e-src">
<language name="E Language" version="0.23" kateversion="2.5" section="Sources" extensions="*.e" mimetype="text/x-e-src">
<highlighting>
<list name="Type">
<item> FALSE </item>

@ -10,7 +10,7 @@ Change log:
Author of version 1.02: Sebastian Vuorinen
-->
<language name="Eiffel" version="1.02" kateversion="2.1" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src" author="Sebastian Vuorinen" license="">
<language name="Eiffel" version="1.03" kateversion="2.5" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src" author="Sebastian Vuorinen" license="">
<highlighting>
<list name="keywords">
<item> agent </item>

@ -3,7 +3,7 @@
<!--
Copyright (C) 2005 Carl A Joslin <carl.joslin@joslin.dyndns.org>
-->
<language name="Email" version="1.00" kateversion="2.4" extensions="*.eml" section="Other" mimetype="message/rfc822" casesensitive="0" author="Carl A Joslin (carl.joslin@joslin.dyndns.org)" license="GPL">
<language name="Email" version="1.01" kateversion="2.5" extensions="*.eml" section="Other" mimetype="message/rfc822" casesensitive="0" author="Carl A Joslin (carl.joslin@joslin.dyndns.org)" license="GPL">
<highlighting>
<contexts>
<context name="headder" attribute="Normal Text" lineEndContext="#stay" casesensitive="0">

@ -36,7 +36,7 @@
- fixed highlighting problem when '@' at end of atom/variable
-->
<language name="Erlang" version="1.02" kateversion="2.5" section="Scripts" extensions="*.erl" mimetype="" author="Bill Ross (bill@emailme.net.au)" license="LGPL">
<language name="Erlang" version="1.03" kateversion="2.5" section="Scripts" extensions="*.erl" mimetype="" author="Bill Ross (bill@emailme.net.au)" license="LGPL">
<highlighting>
<list name="keywords">
<!-- ====== s3.8 p 24 of erlang spec ===== -->
@ -164,7 +164,7 @@
<item>whereis</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<RegExpr attribute="Pragma" context="#stay" column="0" String="&pragmas;" />
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Operator" context="#stay" String="operators" />
@ -176,26 +176,26 @@
<!-- Functions (in addition to named functions dealt with above) -->
<!-- simple version - got to be in form module:function -->
<RegExpr attribute="Function" context="#pop" String="&atomstr;:&atomstr;" />
<RegExpr attribute="Functon" context="isfunction" String="&atomstr;\(" lookAhead="true" />
<RegExpr attribute="Function" context="#stay" String="&atomstr;:&atomstr;" />
<RegExpr attribute="Function" context="isfunction" String="&atomstr;\(" lookAhead="true" />
<!-- Variables - begin with upper case, or between single quotes -->
<RegExpr attribute="Variable" context="#pop" String="&varstr;" />
<RegExpr attribute="Variable" context="#stay" String="&varstr;" />
<!-- atoms - begin with lower case (letters, numbers, @),
or anything between single quotes -->
<DetectChar attribute="Atom" context="atomquote" char="'" />
<RegExpr attribute="Atom" context="#pop" String="&atomstr;" />
<RegExpr attribute="Atom" context="#stay" String="&atomstr;" />
<DetectChar attribute="String" context="stringquote" char="&quot;" />
<!-- numbers - these work -->
<!-- integers have three forms 7, 3#22, $A -->
<!-- float must have a number after the decimal point, or it doesn't count -->
<RegExpr attribute="Float" context="#pop" String="[0-9]+\.[0-9]+(?:[eE][+-]?[0-9]+)?" />
<RegExpr attribute="Number" context="#pop" String="\d+#[a-zA-Z0-9]+" />
<RegExpr attribute="Integer" context="#pop" String="\$\S" />
<RegExpr attribute="Integer" context="#pop" String="[0-9]+" />
<RegExpr attribute="Float" context="#stay" String="[0-9]+\.[0-9]+(?:[eE][+-]?[0-9]+)?" />
<RegExpr attribute="Number" context="#stay" String="\d+#[a-zA-Z0-9]+" />
<RegExpr attribute="Integer" context="#stay" String="\$\S" />
<RegExpr attribute="Integer" context="#stay" String="[0-9]+" />
</context>

@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!--
This file is part of KDE's kate project.
This file is part of TDE's kate project.
copyright : (C) 2004 by Irv Mullins
email : irvm at ellijay dot com
@ -29,7 +29,7 @@
<!-- Store this in /usr/share/apps/katepart/syntax -->
<language name="Euphoria" version="2.08" kateversion="2.4" section="Scripts" extensions="*.e;*.ex;*.exw;*.exu" mimetype="text/x-euphoria" author="Irv Mullins (irvm@ellijay.com)" license="LGPL">
<language name="Euphoria" version="2.09" kateversion="2.5" section="Scripts" extensions="*.e;*.ex;*.exw;*.exu" mimetype="text/x-euphoria" author="Irv Mullins (irvm@ellijay.com)" license="LGPL">
<highlighting>
<list name="keywords">
<item> abort </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="ferite" version="1.04" kateversion="2.4" section="Scripts" extensions="*.fe;*.feh" mimetype="text/x-ferite-src">
<language name="ferite" version="1.05" kateversion="2.5" section="Scripts" extensions="*.fe;*.feh" mimetype="text/x-ferite-src">
<highlighting>
<list name="keywords">
<item> break </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Fortran" version="1.13" kateversion="2.4" section="Sources" extensions="*.f;*.F;*.for;*.FOR;*.f90;*.F90;*.fpp;*.FPP;*.f95;*.F95;" mimetype="text/x-fortran-src" casesensitive="0" author="Franchin Matteo (fnch@libero.it)" license="LGPL" priority="9">
<language name="Fortran" version="1.14" kateversion="2.5" section="Sources" extensions="*.f;*.F;*.for;*.FOR;*.f90;*.F90;*.fpp;*.FPP;*.f95;*.F95;" mimetype="text/x-fortran-src" casesensitive="0" author="Franchin Matteo (fnch@libero.it)" license="LGPL" priority="9">
<!-- by Franchin Matteo, fnch@libero.it -->
<highlighting>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="FreeBASIC" version="0.14" kateversion="2.3" section="Sources" extensions="*.bas;*.bi;*.BAS;*.BI" mimetype="text/x-freebasic" author="Chris Neugebauer (chrisjrn@gmail.com)" license="GPL">
<language name="FreeBASIC" version="0.15" kateversion="2.5" section="Sources" extensions="*.bas;*.bi;*.BAS;*.BI" mimetype="text/x-freebasic" author="Chris Neugebauer (chrisjrn@gmail.com)" license="GPL">
<highlighting>
<list name="preproc">

@ -9,7 +9,7 @@
<!ENTITY ESC "(\\[ntbr'&quot;\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})"> <!-- OCaml character code escapes. -->
<!ENTITY DEC "[0-9][0-9_]*"> <!-- Decimal digits with underscores. -->
]>
<language name="FSharp" version="0.0.1" kateversion="2.4" section="Sources" extensions="*.fs;*.fsi;*.fsx" mimetype="" priority="10" author="Bas Bossink (bas.bossink@gmail.com)" license="LGPL">
<language name="FSharp" version="0.0.2" kateversion="2.5" section="Sources" extensions="*.fs;*.fsi;*.fsx" mimetype="" priority="10" author="Bas Bossink (bas.bossink@gmail.com)" license="LGPL">
<highlighting>
<list name="keywords">

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="fstab" version="1.00" kateversion="2.4" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni (elcuco@kde.org)" license="Public Domain" >
<language name="fstab" version="1.01" kateversion="2.5" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni (elcuco@kde.org)" license="Public Domain" >
<highlighting>
<list name="valid_fs">
<item> ext2 </item>

@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!--
====================================================================
GAP syntax highlighting file for the KDE editors Kate and Kwrite
GAP syntax highlighting file for the TDE editors Kate and Kwrite
====================================================================
The Strings, Two Char Operators, Variable, Number and Operator1
@ -14,7 +14,7 @@
-->
<language name="GAP" section="Scientific" extensions="*.gd;*.gi;*.g" mimetype="text/gap" version="0.2" kateversion="2.4" author="Jose Joao Morais" license="GPL">
<language name="GAP" section="Scientific" extensions="*.gd;*.gi;*.g" mimetype="text/gap" version="0.3" kateversion="2.5" author="Jose Joao Morais" license="GPL">
<highlighting>

@ -0,0 +1,574 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY space " ">
<!ENTITY separators ",&#59;">
<!ENTITY ns_punctuators "!&#37;&space;&amp;()+-/.*&lt;=&gt;?[]{|}~^&separators;">
<!ENTITY punctuators ":&ns_punctuators;">
]>
<!--
Copyright (c) 2012 by Alex Turbov (i.zaufi@gmail.com)
Homepage: http://kde-files.org/content/show.php?content=90660
-->
<language
name="GCCExtensions"
version="0.4"
kateversion="2.5"
section="Sources"
extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;"
mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr;text/x-csrc"
author="Alex Turbov (i.zaufi@gmail.com)"
license="LGPL"
hidden="true"
priority="5"
>
<!--
The main purpose of this file is to hold GNU gcc extensions syntax in a single place,
so later it can be included to other (C++ based) syntaxes.
NOTE Default colors are set to 'Normal Text', so if u don't want to highight it,
just leave colors as is...
Based on GCC documentation
-->
<highlighting>
<list name="GNUTypes">
<!-- NOTE From gcc's info: 6.10 Additional Floating Types -->
<item> __float80 </item>
<item> __float128 </item>
<!-- NOTE From gcc's 4.7.1 info: 6.13 Decimal Floating Types -->
<item> _Decimal32 </item>
<item> _Decimal64 </item>
<item> _Decimal128 </item>
<!-- NOTE From gcc's info: 6.8 128-bits integers -->
<item> __int128 </item>
<!-- NOTE From gcc's 4.7.1 info: 6.12 Half-Precision Floating Point -->
<item> __fp16 </item>
<!-- NOTE From gcc's 4.7.1 info: 6.15 Fixed-Point Types -->
<item> _Fract </item>
<item> _Sat </item>
<item> _Accum </item>
</list>
<list name="GNUKeywords">
<!-- NOTE that __attribute__ handled separately -->
<item> __asm__ </item>
<item> __const__ </item>
<item> __extension__ </item>
<item> __inline__ </item>
<item> __label__ </item>
<item> __complex__ </item>
<item> __real__ </item>
<item> __restrict__ </item>
<item> __restrict </item>
<item> __imag__ </item>
<!-- NOTE From gcc's info: 6.6 Referring to a Type with `typeof' -->
<item> __typeof__ </item>
<item> typeof </item>
<!-- NOTE From gcc's 4.7.1 info: 6.38 -->
<item> __alignof__ </item>
<!-- NOTE From gcc's info: 6.59 Thread-Local storage -->
<item> __thread </item>
</list>
<!-- NOTE Everything started from `__builtin_' handled separately -->
<list name="GNUFunctions">
<!-- NOTE From gcc's info: 7.9 Type Traits -->
<item> __has_nothrow_assign </item>
<item> __has_nothrow_copy </item>
<item> __has_nothrow_constructor </item>
<item> __has_trivial_assign </item>
<item> __has_trivial_copy </item>
<item> __has_trivial_constructor </item>
<item> __has_trivial_destructor </item>
<item> __has_virtual_destructor </item>
<item> __is_abstract </item>
<item> __is_base_of </item>
<item> __is_class </item>
<item> __is_empty </item>
<item> __is_enum </item>
<item> __is_pod </item>
<item> __is_polymorphic </item>
<item> __is_union </item>
<!-- NOTE From gcc's info: 6.49 -->
<item> __sync_fetch_and_add </item>
<item> __sync_fetch_and_sub </item>
<item> __sync_fetch_and_or </item>
<item> __sync_fetch_and_and </item>
<item> __sync_fetch_and_xor </item>
<item> __sync_fetch_and_nand </item>
<item> __sync_add_and_fetch </item>
<item> __sync_sub_and_fetch </item>
<item> __sync_or_and_fetch </item>
<item> __sync_and_and_fetch </item>
<item> __sync_xor_and_fetch </item>
<item> __sync_nand_and_fetch </item>
<item> __sync_bool_compare_and_swap </item>
<item> __sync_val_compare_and_swap </item>
<item> __sync_synchronize </item>
<item> __sync_lock_test_and_set </item>
<item> __sync_lock_release </item>
<!-- NOTE From gcc 4.7.x info: 6.52 -->
<item> __atomic_load_n </item>
<item> __atomic_load </item>
<item> __atomic_store_n </item>
<item> __atomic_store </item>
<item> __atomic_exchange_n </item>
<item> __atomic_exchange </item>
<item> __atomic_compare_exchange_n </item>
<item> __atomic_compare_exchange </item>
<item> __atomic_add_fetch </item>
<item> __atomic_sub_fetch </item>
<item> __atomic_and_fetch </item>
<item> __atomic_or_fetch </item>
<item> __atomic_xor_fetch </item>
<item> __atomic_nand_fetch </item>
<item> __atomic_fetch_add </item>
<item> __atomic_fetch_sub </item>
<item> __atomic_fetch_and </item>
<item> __atomic_fetch_or </item>
<item> __atomic_fetch_xor </item>
<item> __atomic_fetch_nand </item>
<item> __atomic_test_and_set </item>
<item> __atomic_clear </item>
<item> __atomic_thread_fence </item>
<item> __atomic_always_lock_free </item>
<item> __atomic_is_lock_free </item>
</list>
<!-- From http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
plus a lot of platform specific predefines found by my script
git@github.com:zaufi/kate-stuff.git/support/genpredefmacrolist.sh
-->
<list name="GNUMacros">
<item> _FORTIFY_SOURCE </item>
<item> _GNU_SOURCE </item>
<item> _ILP32 </item>
<item> _LP64 </item>
<item> _REENTRANT </item>
<item> _STDC_PREDEF_H </item>
<item> __3dNOW_A__ </item>
<item> __3dNOW__ </item>
<item> __ABM__ </item>
<item> __ADX__ </item>
<item> __AES__ </item>
<item> __ATOMIC_ACQUIRE </item>
<item> __ATOMIC_ACQ_REL </item>
<item> __ATOMIC_CONSUME </item>
<item> __ATOMIC_HLE_ACQUIRE </item>
<item> __ATOMIC_HLE_RELEASE </item>
<item> __ATOMIC_RELAXED </item>
<item> __ATOMIC_RELEASE </item>
<item> __ATOMIC_SEQ_CST </item>
<item> __AVX2__ </item>
<item> __AVX__ </item>
<item> __BASE_FILE__ </item>
<item> __BIGGEST_ALIGNMENT__ </item>
<item> __BMI2__ </item>
<item> __BMI__ </item>
<item> __BYTE_ORDER__ </item>
<item> __CHAR16_TYPE__ </item>
<item> __CHAR32_TYPE__ </item>
<item> __CHAR_BIT__ </item>
<item> __CHAR_UNSIGNED__ </item>
<item> __COUNTER__ </item>
<item> __DBL_DECIMAL_DIG__ </item>
<item> __DBL_DENORM_MIN__ </item>
<item> __DBL_DIG__ </item>
<item> __DBL_EPSILON__ </item>
<item> __DBL_HAS_DENORM__ </item>
<item> __DBL_HAS_INFINITY__ </item>
<item> __DBL_HAS_QUIET_NAN__ </item>
<item> __DBL_MANT_DIG__ </item>
<item> __DBL_MAX_10_EXP__ </item>
<item> __DBL_MAX_EXP__ </item>
<item> __DBL_MAX__ </item>
<item> __DBL_MIN_10_EXP__ </item>
<item> __DBL_MIN_EXP__ </item>
<item> __DBL_MIN__ </item>
<item> __DEC128_EPSILON__ </item>
<item> __DEC128_MANT_DIG__ </item>
<item> __DEC128_MAX_EXP__ </item>
<item> __DEC128_MAX__ </item>
<item> __DEC128_MIN_EXP__ </item>
<item> __DEC128_MIN__ </item>
<item> __DEC128_SUBNORMAL_MIN__ </item>
<item> __DEC32_EPSILON__ </item>
<item> __DEC32_MANT_DIG__ </item>
<item> __DEC32_MAX_EXP__ </item>
<item> __DEC32_MAX__ </item>
<item> __DEC32_MIN_EXP__ </item>
<item> __DEC32_MIN__ </item>
<item> __DEC32_SUBNORMAL_MIN__ </item>
<item> __DEC64_EPSILON__ </item>
<item> __DEC64_MANT_DIG__ </item>
<item> __DEC64_MAX_EXP__ </item>
<item> __DEC64_MAX__ </item>
<item> __DEC64_MIN_EXP__ </item>
<item> __DEC64_MIN__ </item>
<item> __DEC64_SUBNORMAL_MIN__ </item>
<item> __DECIMAL_BID_FORMAT__ </item>
<item> __DECIMAL_DIG__ </item>
<item> __DEC_EVAL_METHOD__ </item>
<item> __DEPRECATED </item>
<item> __ELF__ </item>
<item> __EXCEPTIONS </item>
<item> __F16C__ </item>
<item> __FAST_MATH__ </item>
<item> __FINITE_MATH_ONLY__ </item>
<item> __FLOAT_WORD_ORDER__ </item>
<item> __FLT_DECIMAL_DIG__ </item>
<item> __FLT_DENORM_MIN__ </item>
<item> __FLT_DIG__ </item>
<item> __FLT_EPSILON__ </item>
<item> __FLT_EVAL_METHOD__ </item>
<item> __FLT_HAS_DENORM__ </item>
<item> __FLT_HAS_INFINITY__ </item>
<item> __FLT_HAS_QUIET_NAN__ </item>
<item> __FLT_MANT_DIG__ </item>
<item> __FLT_MAX_10_EXP__ </item>
<item> __FLT_MAX_EXP__ </item>
<item> __FLT_MAX__ </item>
<item> __FLT_MIN_10_EXP__ </item>
<item> __FLT_MIN_EXP__ </item>
<item> __FLT_MIN__ </item>
<item> __FLT_RADIX__ </item>
<item> __FMA4__ </item>
<item> __FMA__ </item>
<item> __FP_FAST_FMA </item>
<item> __FP_FAST_FMAF </item>
<item> __FSGSBASE__ </item>
<item> __FUNCTION__ </item>
<item> __FXSR__ </item>
<item> __GCC_ATOMIC_BOOL_LOCK_FREE </item>
<item> __GCC_ATOMIC_CHAR16_T_LOCK_FREE </item>
<item> __GCC_ATOMIC_CHAR32_T_LOCK_FREE </item>
<item> __GCC_ATOMIC_CHAR_LOCK_FREE </item>
<item> __GCC_ATOMIC_INT_LOCK_FREE </item>
<item> __GCC_ATOMIC_LLONG_LOCK_FREE </item>
<item> __GCC_ATOMIC_LONG_LOCK_FREE </item>
<item> __GCC_ATOMIC_POINTER_LOCK_FREE </item>
<item> __GCC_ATOMIC_SHORT_LOCK_FREE </item>
<item> __GCC_ATOMIC_TEST_AND_SET_TRUEVAL </item>
<item> __GCC_ATOMIC_WCHAR_T_LOCK_FREE </item>
<item> __GCC_HAVE_DWARF2_CFI_ASM </item>
<item> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 </item>
<item> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 </item>
<item> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 </item>
<item> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 </item>
<item> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 </item>
<item> __GFORTRAN__ </item>
<item> __GNUC_GNU_INLINE__ </item>
<item> __GNUC_MINOR__ </item>
<item> __GNUC_PATCHLEVEL__ </item>
<item> __GNUC_STDC_INLINE__ </item>
<item> __GNUC__ </item>
<item> __GNUG__ </item>
<item> __GXX_ABI_VERSION </item>
<item> __GXX_EXPERIMENTAL_CXX0X__ </item>
<item> __GXX_RTTI </item>
<item> __GXX_WEAK__ </item>
<item> __ILP32__ </item>
<item> __INCLUDE_LEVEL__ </item>
<item> __INT16_C </item>
<item> __INT16_MAX__ </item>
<item> __INT16_TYPE__ </item>
<item> __INT32_C </item>
<item> __INT32_MAX__ </item>
<item> __INT32_TYPE__ </item>
<item> __INT64_C </item>
<item> __INT64_MAX__ </item>
<item> __INT64_TYPE__ </item>
<item> __INT8_C </item>
<item> __INT8_MAX__ </item>
<item> __INT8_TYPE__ </item>
<item> __INTMAX_C </item>
<item> __INTMAX_MAX__ </item>
<item> __INTMAX_TYPE__ </item>
<item> __INTPTR_MAX__ </item>
<item> __INTPTR_TYPE__ </item>
<item> __INT_FAST16_MAX__ </item>
<item> __INT_FAST16_TYPE__ </item>
<item> __INT_FAST32_MAX__ </item>
<item> __INT_FAST32_TYPE__ </item>
<item> __INT_FAST64_MAX__ </item>
<item> __INT_FAST64_TYPE__ </item>
<item> __INT_FAST8_MAX__ </item>
<item> __INT_FAST8_TYPE__ </item>
<item> __INT_LEAST16_MAX__ </item>
<item> __INT_LEAST16_TYPE__ </item>
<item> __INT_LEAST32_MAX__ </item>
<item> __INT_LEAST32_TYPE__ </item>
<item> __INT_LEAST64_MAX__ </item>
<item> __INT_LEAST64_TYPE__ </item>
<item> __INT_LEAST8_MAX__ </item>
<item> __INT_LEAST8_TYPE__ </item>
<item> __INT_MAX__ </item>
<item> __LDBL_DENORM_MIN__ </item>
<item> __LDBL_DIG__ </item>
<item> __LDBL_EPSILON__ </item>
<item> __LDBL_HAS_DENORM__ </item>
<item> __LDBL_HAS_INFINITY__ </item>
<item> __LDBL_HAS_QUIET_NAN__ </item>
<item> __LDBL_MANT_DIG__ </item>
<item> __LDBL_MAX_10_EXP__ </item>
<item> __LDBL_MAX_EXP__ </item>
<item> __LDBL_MAX__ </item>
<item> __LDBL_MIN_10_EXP__ </item>
<item> __LDBL_MIN_EXP__ </item>
<item> __LDBL_MIN__ </item>
<item> __LONG_LONG_MAX__ </item>
<item> __LONG_MAX__ </item>
<item> __LP64__ </item>
<item> __LWP__ </item>
<item> __LZCNT__ </item>
<item> __MMX__ </item>
<item> __NEXT_RUNTIME__ </item>
<item> __NO_INLINE__ </item>
<item> __OPTIMIZE_SIZE__ </item>
<item> __OPTIMIZE__ </item>
<item> __ORDER_BIG_ENDIAN__ </item>
<item> __ORDER_LITTLE_ENDIAN__ </item>
<item> __ORDER_PDP_ENDIAN__ </item>
<item> __PCLMUL__ </item>
<item> __PIC__ </item>
<item> __PIE__ </item>
<item> __POPCNT__ </item>
<item> __PRAGMA_REDEFINE_EXTNAME </item>
<item> __PRETTY_FUNCTION__ </item>
<item> __PRFCHW__ </item>
<item> __PTRDIFF_MAX__ </item>
<item> __PTRDIFF_TYPE__ </item>
<item> __RDRND__ </item>
<item> __RDSEED__ </item>
<item> __REGISTER_PREFIX__ </item>
<item> __RTM__ </item>
<item> __SANITIZE_ADDRESS__ </item>
<item> __SCHAR_MAX__ </item>
<item> __SHRT_MAX__ </item>
<item> __SIG_ATOMIC_MAX__ </item>
<item> __SIG_ATOMIC_MIN__ </item>
<item> __SIG_ATOMIC_TYPE__ </item>
<item> __SIZEOF_DOUBLE__ </item>
<item> __SIZEOF_FLOAT__ </item>
<item> __SIZEOF_INT128__ </item>
<item> __SIZEOF_INT__ </item>
<item> __SIZEOF_LONG_DOUBLE__ </item>
<item> __SIZEOF_LONG_LONG__ </item>
<item> __SIZEOF_LONG__ </item>
<item> __SIZEOF_POINTER__ </item>
<item> __SIZEOF_PTRDIFF_T__ </item>
<item> __SIZEOF_SHORT__ </item>
<item> __SIZEOF_SIZE_T__ </item>
<item> __SIZEOF_WCHAR_T__ </item>
<item> __SIZEOF_WINT_T__ </item>
<item> __SIZE_MAX__ </item>
<item> __SIZE_TYPE__ </item>
<item> __SSE2_MATH__ </item>
<item> __SSE2__ </item>
<item> __SSE3__ </item>
<item> __SSE4A__ </item>
<item> __SSE4_1__ </item>
<item> __SSE4_2__ </item>
<item> __SSE_MATH__ </item>
<item> __SSE__ </item>
<item> __SSP_ALL__ </item>
<item> __SSP__ </item>
<item> __SSSE3__ </item>
<item> __STDC_HOSTED__ </item>
<item> __STDC_IEC_559_COMPLEX__ </item>
<item> __STDC_IEC_559__ </item>
<item> __STDC_ISO_10646__ </item>
<item> __STDC_NO_THREADS__ </item>
<item> __STDC_UTF_16__ </item>
<item> __STDC_UTF_32__ </item>
<item> __STDC_VERSION__ </item>
<item> __STDC__ </item>
<item> __STRICT_ANSI__ </item>
<item> __TBM__ </item>
<item> __TIMESTAMP__ </item>
<item> __UINT16_C </item>
<item> __UINT16_MAX__ </item>
<item> __UINT16_TYPE__ </item>
<item> __UINT32_C </item>
<item> __UINT32_MAX__ </item>
<item> __UINT32_TYPE__ </item>
<item> __UINT64_C </item>
<item> __UINT64_MAX__ </item>
<item> __UINT64_TYPE__ </item>
<item> __UINT8_C </item>
<item> __UINT8_MAX__ </item>
<item> __UINT8_TYPE__ </item>
<item> __UINTMAX_C </item>
<item> __UINTMAX_MAX__ </item>
<item> __UINTMAX_TYPE__ </item>
<item> __UINTPTR_MAX__ </item>
<item> __UINTPTR_TYPE__ </item>
<item> __UINT_FAST16_MAX__ </item>
<item> __UINT_FAST16_TYPE__ </item>
<item> __UINT_FAST32_MAX__ </item>
<item> __UINT_FAST32_TYPE__ </item>
<item> __UINT_FAST64_MAX__ </item>
<item> __UINT_FAST64_TYPE__ </item>
<item> __UINT_FAST8_MAX__ </item>
<item> __UINT_FAST8_TYPE__ </item>
<item> __UINT_LEAST16_MAX__ </item>
<item> __UINT_LEAST16_TYPE__ </item>
<item> __UINT_LEAST32_MAX__ </item>
<item> __UINT_LEAST32_TYPE__ </item>
<item> __UINT_LEAST64_MAX__ </item>
<item> __UINT_LEAST64_TYPE__ </item>
<item> __UINT_LEAST8_MAX__ </item>
<item> __UINT_LEAST8_TYPE__ </item>
<item> __USER_LABEL_PREFIX__ </item>
<item> __USING_SJLJ_EXCEPTIONS__ </item>
<item> __VA_ARGS__ </item>
<item> __VERSION__ </item>
<item> __WCHAR_MAX__ </item>
<item> __WCHAR_MIN__ </item>
<item> __WCHAR_TYPE__ </item>
<item> __WCHAR_UNSIGNED__ </item>
<item> __WINT_MAX__ </item>
<item> __WINT_MIN__ </item>
<item> __WINT_TYPE__ </item>
<item> __XOP__ </item>
<item> __XSAVEOPT__ </item>
<item> __XSAVE__ </item>
<item> __amd64 </item>
<item> __amd64__ </item>
<item> __amdfam10 </item>
<item> __amdfam10__ </item>
<item> __athlon </item>
<item> __athlon__ </item>
<item> __athlon_sse__ </item>
<item> __atom </item>
<item> __atom__ </item>
<item> __bdver1 </item>
<item> __bdver1__ </item>
<item> __bdver2 </item>
<item> __bdver2__ </item>
<item> __bdver3 </item>
<item> __bdver3__ </item>
<item> __btver1 </item>
<item> __btver1__ </item>
<item> __btver2 </item>
<item> __btver2__ </item>
<item> __code_model_32__ </item>
<item> __code_model_small__ </item>
<item> __core2 </item>
<item> __core2__ </item>
<item> __core_avx2 </item>
<item> __core_avx2__ </item>
<item> __corei7 </item>
<item> __corei7__ </item>
<item> __cplusplus </item>
<item> __geode </item>
<item> __geode__ </item>
<item> __gnu_linux__ </item>
<item> __i386 </item>
<item> __i386__ </item>
<item> __i486 </item>
<item> __i486__ </item>
<item> __i586 </item>
<item> __i586__ </item>
<item> __i686 </item>
<item> __i686__ </item>
<item> __k6 </item>
<item> __k6_2__ </item>
<item> __k6_3__ </item>
<item> __k6__ </item>
<item> __k8 </item>
<item> __k8__ </item>
<item> __linux </item>
<item> __linux__ </item>
<item> __nocona </item>
<item> __nocona__ </item>
<item> __pentium </item>
<item> __pentium4 </item>
<item> __pentium4__ </item>
<item> __pentium__ </item>
<item> __pentium_mmx__ </item>
<item> __pentiumpro </item>
<item> __pentiumpro__ </item>
<item> __pic__ </item>
<item> __pie__ </item>
<item> __tune_amdfam10__ </item>
<item> __tune_athlon__ </item>
<item> __tune_athlon_sse__ </item>
<item> __tune_atom__ </item>
<item> __tune_bdver1__ </item>
<item> __tune_bdver2__ </item>
<item> __tune_bdver3__ </item>
<item> __tune_btver1__ </item>
<item> __tune_btver2__ </item>
<item> __tune_core2__ </item>
<item> __tune_core_avx2__ </item>
<item> __tune_corei7__ </item>
<item> __tune_geode__ </item>
<item> __tune_i386__ </item>
<item> __tune_i486__ </item>
<item> __tune_i586__ </item>
<item> __tune_i686__ </item>
<item> __tune_k6_2__ </item>
<item> __tune_k6_3__ </item>
<item> __tune_k6__ </item>
<item> __tune_k8__ </item>
<item> __tune_nocona__ </item>
<item> __tune_pentium2__ </item>
<item> __tune_pentium3__ </item>
<item> __tune_pentium4__ </item>
<item> __tune_pentium__ </item>
<item> __tune_pentium_mmx__ </item>
<item> __tune_pentiumpro__ </item>
<item> __unix </item>
<item> __unix__ </item>
<item> __x86_64 </item>
<item> __x86_64__ </item>
<item> i386 </item>
<item> linux </item>
<item> unix </item>
</list>
<contexts>
<context name="DetectGccExtensions" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="GNU Macros" context="#stay" String="GNUMacros" />
<keyword attribute="GNU Functions" context="#stay" String="GNUFunctions" />
<keyword attribute="GNU Types" context="#stay" String="GNUTypes" />
<StringDetect attribute="GNU Extensions" context="AttrArgs" String="__attribute__" />
<StringDetect attribute="GNU Extensions" context="AttrArgs" String="__declspec" />
<keyword attribute="GNU Extensions" context="#stay" String="GNUKeywords" />
<RegExpr attribute="GNU Functions" context="#stay" String="__builtin_[a-zA-Z0-9_]+" />
<!-- (gcc info 6.57) Binary constants using the `0b' prefix -->
<RegExpr attribute="GNU Extensions" context="#stay" String="0[Bb][01]+([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />
</context>
<context name="GNUMacros" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="GNU Macros" context="#stay" String="GNUMacros" />
</context>
<context name="AttrArgs" attribute="GNU Extensions" lineEndContext="#pop">
<Detect2Chars attribute="GNU Extensions" context="#stay" char="(" char1="(" />
<Detect2Chars attribute="GNU Extensions" context="#pop" char=")" char1=")" />
<DetectChar attribute="GNU Extensions" context="Close" char="(" />
</context>
<context name="Close" attribute="GNU Extensions" lineEndContext="#stay">
<DetectChar attribute="GNU Extensions" context="#pop" char=")" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="GNU Extensions" defStyleNum="dsOthers" spellChecking="false" italic="1" />
<itemData name="GNU Functions" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="GNU Macros" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="GNU Types" defStyleNum="dsOthers" spellChecking="false" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//"/>
</comments>
<keywords casesensitive="1"/>
</general>
</language>
<!-- kate: indent-width 2; tab-width 2; -->

@ -8,7 +8,7 @@ v1.0:
-->
<language name="GDB Backtrace" section="Other"
version="1.0" kateversion="2.4"
version="1.01" kateversion="2.5"
extensions="*.kcrash;*.crash;*.bt"
mimetype=""
author="Milian Wolff (mail@milianw.de)" license="LGPL">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="GDL" version="1.01" kateversion="2.0" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype="">
<language name="GDL" version="1.02" kateversion="2.5" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype="">
<highlighting>
<list name="colors">
<item> white </item>

@ -23,7 +23,7 @@
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
-->
<language name="GNU Gettext" version="2.00" kateversion="2.4" section="Markup" extensions="*.po;*.pot" mimetype="text/x-gettext-translation" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<language name="GNU Gettext" version="2.01" kateversion="2.5" section="Markup" extensions="*.po;*.pot" mimetype="text/x-gettext-translation" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<highlighting>
<contexts>

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Git Rebase" version="1.01" kateversion="2.5" section="Other" extensions="git-rebase-todo" license="LGPL" mimetype="text/vnd.git.rebase" author="Orgad Shaneh (orgads@gmail.com)">
<highlighting>
<list name="pick">
<item>p</item>
<item>pick</item>
</list>
<list name="reword">
<item>r</item>
<item>reword</item>
</list>
<list name="edit">
<item>e</item>
<item>edit</item>
</list>
<list name="squash">
<item>s</item>
<item>squash</item>
</list>
<list name="fixup">
<item>f</item>
<item>fixup</item>
</list>
<list name="exec">
<item>x</item>
<item>exec</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal">
<DetectChar char="#" attribute="Comment" context="Comment" column="0"/>
<keyword attribute="Pick" context="Commit" String="pick" />
<keyword attribute="Reword" context="Commit" String="reword" />
<keyword attribute="Edit" context="Commit" String="edit" />
<keyword attribute="Squash" context="Commit" String="squash" />
<keyword attribute="Fixup" context="Commit" String="fixup" />
<keyword attribute="Exec" context="Commit" String="exec" />
</context>
<context attribute="Commit" lineEndContext="#pop" name="Commit">
<RegExpr attribute="Commit" context="Summary" String="[0-9a-f]{7,40}" />
</context>
<context attribute="Summary" lineEndContext="#pop" name="Summary" />
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<RegExpr attribute="Commit" context="#stay" String="[0-9a-f]{7,40}" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Pick" defStyleNum="dsKeyword"/>
<itemData name="Reword" defStyleNum="dsDecVal"/>
<itemData name="Edit" defStyleNum="dsDataType"/>
<itemData name="Squash" defStyleNum="dsChar"/>
<itemData name="Fixup" defStyleNum="dsBaseN"/>
<itemData name="Exec" defStyleNum="dsOthers"/>
<itemData name="Commit" defStyleNum="dsFunction"/>
<itemData name="Summary" defStyleNum="dsString"/>
<itemData name="Comment" defStyleNum="dsComment"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#"/>
</comments>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="GlossTex" version="0.01" kateversion="2.1" extensions="*.gdf" section="Markup" mimetype="text/x-gdf" casesensitive="1" author="Thomas Braun(braun@physik.fu-berlin.de)" license="LGPL">
<language name="GlossTex" version="0.02" kateversion="2.5" extensions="*.gdf" section="Markup" mimetype="text/x-gdf" casesensitive="1" author="Thomas Braun(braun@physik.fu-berlin.de)" license="LGPL">
<highlighting>
<contexts>
<context name="Comment" attribute="Comment" lineEndContext="#stay">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="GLSL" section="Sources" extensions="*.glsl;*.vert;*.frag;*.geom" mimetype="text/x-glslsrc" version="1.03" kateversion="2.4" author="Oliver Richers (o.richers@tu-bs.de)" license="LGPL">
<language name="GLSL" section="Sources" extensions="*.glsl;*.vert;*.frag;*.geom" mimetype="text/x-glslsrc" version="1.04" kateversion="2.5" author="Oliver Richers (o.richers@tu-bs.de)" license="LGPL">
<highlighting>
<list name="keywords">
<item>break</item>

@ -22,7 +22,7 @@ Date: 15th April, 2002
Version: 1.0
This file contains the XML syntax highlighting description for the GNU
Assembler, for KATE, the KDE Advanced Editor. Keywords have been taken
Assembler, for KATE, the TDE Advanced Editor. Keywords have been taken
directly from the GNU Assembler source code (read.c).
Known problems: Floating point highlighting does not work correctly.
@ -43,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-->
<language name="GNU Assembler" version="1.10" kateversion="2.4" section="Assembler" extensions="*.s;*.S" mimetype="text/x-asm" author="John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name), Miquel Sabaté (mikisabate@gmail.com)" license="GPL">
<language name="GNU Assembler" version="1.11" kateversion="2.5" section="Assembler" extensions="*.s;*.S" mimetype="text/x-asm" author="John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name), Miquel Sabaté (mikisabate@gmail.com)" license="GPL">
<highlighting>
<list name="keywords">
<item>.abort</item>

@ -0,0 +1,888 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Gnuplot" version="0.2" kateversion="2.5" section="Scripts" extensions="*.gnuplot;*.gp;*.gplt" casesensitive="1" >
<highlighting>
<list name="set_no_keywords">
<item> noarrow </item>
<item> noborder </item>
<item> noclabel </item>
<item> noclip </item>
<item> nocontour </item>
<item> nodgrid3d </item>
<item> nogrid </item>
<item> nohidden3d </item>
<item> nokey </item>
<item> nolabel </item>
<item> nolinestyle </item>
<item> nomultiplot </item>
<item> nomx2tics </item>
<item> nomxtics </item>
<item> nomy2tics </item>
<item> nomytics </item>
<item> nomztics </item>
<item> nooffsets </item>
<item> noparametric </item>
<item> nopolar </item>
<item> nosurface </item>
<item> notimestamp </item>
<item> nox2dtics </item>
<item> nox2mtics </item>
<item> nox2tics </item>
<item> nox2zeroaxis </item>
<item> noxdtics </item>
<item> noxmtics </item>
<item> noxtics </item>
<item> noxzeroaxis </item>
<item> noy2dtics </item>
<item> noy2mtics </item>
<item> noy2tics </item>
<item> noy2zeroaxis </item>
<item> noydtics </item>
<item> noymtics </item>
<item> noytics </item>
<item> noyzeroaxis </item>
<item> nozdtics </item>
<item> nozeroaxis </item>
<item> nozmtics </item>
<item> noztics </item>
</list>
<list name="set_simple_keywords">
<item> grid </item>
<item> parametric </item>
</list>
<list name="showkeywords">
<item> angles </item>
<item> arrow </item>
<item> bar </item>
<item> border </item>
<item> boxwidth </item>
<item> clip </item>
<item> cntrparam </item>
<item> data </item>
<item> dgrid3d </item>
<item> dummy </item>
<item> encoding </item>
<item> format </item>
<item> function </item>
<item> functions </item>
<item> hidden3d </item>
<item> isosamples </item>
<item> label </item>
<item> linestyle </item>
<item> mapping </item>
<item> margin </item>
<item> mx2tics </item>
<item> mxtics </item>
<item> my2tics </item>
<item> mytics </item>
<item> mztics </item>
<item> offsets </item>
<item> origin </item>
<item> parametric </item>
<item> pointsize </item>
<item> polar </item>
<item> samples </item>
<item> size </item>
<item> data style </item>
<item> function style </item>
<item> surface </item>
<item> tics </item>
<item> ticscale </item>
<item> ticslevel </item>
<item> timefmt </item>
<item> timestamp </item>
<item> variables </item>
<item> version </item>
<item> view </item>
<item> x2data </item>
<item> x2dtics </item>
<item> x2label </item>
<item> x2mtics </item>
<item> x2tics </item>
<item> x2zeroaxis </item>
<item> xdata </item>
<item> xdtics </item>
<item> xmtics </item>
<item> xtics </item>
<item> xzeroaxis </item>
<item> y2data </item>
<item> y2dtics </item>
<item> y2mtics </item>
<item> y2tics </item>
<item> y2zeroaxis </item>
<item> ydata </item>
<item> ydtics </item>
<item> ymtics </item>
<item> ytics </item>
<item> yzeroaxis </item>
<item> zdata </item>
<item> zdtics </item>
<item> zero </item>
<item> zeroaxis </item>
<item> zmtics </item>
<item> ztics </item>
</list>
<list name="set_label_keywords">
<item> clabel </item>
<item> title </item>
<item> xlabel </item>
<item> x2label </item>
<item> ylabel </item>
<item> y2label </item>
<item> zlabel </item>
</list>
<list name="set_range_keywords">
<item> rrange </item>
<item> trange </item>
<item> urange </item>
<item> vrange </item>
<item> x2range </item>
<item> xrange </item>
<item> y2range </item>
<item> yrange </item>
<item> zrange </item>
</list>
<list name="set_contour_keywords">
<item> base </item>
<item> surface </item>
<item> both </item>
</list>
<list name="set_key_keywords">
<item> left </item>
<item> right </item>
<item> top </item>
<item> bottom </item>
<item> outside </item>
<item> below </item>
<item> Left </item>
<item> Right </item>
<item> noreverse </item>
<item> reverse </item>
</list>
<list name="set_scale_keywords">
<item> noautoscale </item>
<item> autoscale </item>
<item> nologscale </item>
</list>
<list name="set_scale_axes_keywords">
<item> x </item>
<item> y </item>
<item> z </item>
<item> x2 </item>
<item> y2 </item>
<item> xy </item>
</list>
<list name="set_terminal_keywords">
<item> aed512 </item>
<item> aed767 </item>
<item> aifm </item>
<item> bitgraph </item>
<item> cgm </item>
<item> dumb </item>
<item> dxf </item>
<item> dxy800a </item>
<item> eepic </item>
<item> epson-180dpi </item>
<item> epson-60dpi </item>
<item> epson-lx800 </item>
<item> excl </item>
<item> gpic </item>
<item> hp2623a </item>
<item> hp2648 </item>
<item> kc-tek40xx </item>
<item> km-tek40xx </item>
<item> kyo </item>
<item> mf </item>
<item> mif </item>
<item> mp </item>
<item> nec-cp6 </item>
<item> okidata </item>
<item> prescribe </item>
<item> pstricks </item>
<item> qms </item>
<item> regis </item>
<item> rgip </item>
<item> selanar </item>
<item> starc </item>
<item> table </item>
<item> tandy-60dpi </item>
<item> tek40xx </item>
<item> tek410x </item>
<item> texdraw </item>
<item> uniplex </item>
<item> unixplot </item>
<item> vttek </item>
<item> vx384 </item>
<item> x11 </item>
</list>
<list name="set_terminal_ps_keywords">
<item> landscape </item>
<item> portrait </item>
<item> eps </item>
<item> default </item>
<item> enhanced </item>
<item> noenhanced </item>
<item> solid </item>
<item> dashed </item>
<item> defaultplex </item>
<item> simplex </item>
<item> duplex </item>
</list>
<list name="set_terminal_latex_keywords">
<item> courier </item>
<item> roman </item>
<item> default </item>
</list>
<list name="set_terminal_pstex_keywords">
<item> color </item>
<item> monochrome </item>
<item> dashed </item>
<item> rotate </item>
<item> norotate </item>
<item> auxfile </item>
</list>
<list name="set_terminal_png_keywords">
<item> transparent </item>
<item> notransparent </item>
</list>
<list name="set_terminal_pbm_keywords">
<item> small </item>
<item> medium </item>
<item> large </item>
<item> monochrome </item>
<item> gray </item>
<item> color </item>
</list>
<list name="set_terminal_tgif_keywords">
<item> landscape </item>
<item> portrait </item>
<item> solid </item>
<item> dashed </item>
</list>
<list name="set_terminal_fig_keywords">
<item> monochrome </item>
<item> color </item>
<item> small </item>
<item> big </item>
<item> pointsmax </item>
<item> landscape </item>
<item> portrait </item>
<item> metric </item>
<item> inches </item>
<item> fontsize </item>
<item> size </item>
<item> thickness </item>
<item> depth </item>
</list>
<list name="set_terminal_corel_keywords">
<item> monochrome </item>
<item> color </item>
</list>
<list name="set_terminal_hppj_keywords">
<item> FNT5X9 </item>
<item> FNT9X17 </item>
<item> FNT13X25 </item>
</list>
<list name="set_terminal_pcl5_keywords">
<item> mode </item>
<item> landscape </item>
<item> portrait </item>
<item> monochrome </item>
<item> color </item>
<item> solid </item>
<item> dashed </item>
<item> letter </item>
<item> legal </item>
<item> noextended </item>
<item> extended </item>
<item> stick </item>
<item> univers </item>
<item> cg_times </item>
<item> zapf_dingbats </item>
<item> antique_olive </item>
<item> arial </item>
<item> courier </item>
<item> garamond_antigua </item>
<item> letter_gothic </item>
<item> cg_omega </item>
<item> albertus </item>
<item> times_new_roman </item>
<item> clarendon </item>
<item> coronet </item>
<item> marigold </item>
<item> truetype_symbols </item>
<item> wingdings </item>
</list>
<list name="set_terminal_hpdj_keywords">
<item> 75 </item>
<item> 100 </item>
<item> 150 </item>
<item> 300 </item>
</list>
<list name="set_terminal_imagen_keywords">
<item> landscape </item>
<item> portrait </item>
</list>
<list name="plot_smooth_keywords">
<item> acsplines </item>
<item> bezier </item>
<item> csplines </item>
<item> sbezier </item>
<item> unique </item>
</list>
<list name="plot_axes_keywords">
<item> x1y1 </item>
<item> x2y1 </item>
<item> x1y2 </item>
<item> x2y2 </item>
</list>
<list name="splot_style_keywords">
<item> lines </item>
<item> l </item>
<item> points </item>
<item> p </item>
<item> linespoints </item>
<item> linesp </item>
<item> impulses </item>
<item> i </item>
<item> dots </item>
<item> d </item>
<item> steps </item>
<item> fsteps </item>
<item> histeps </item>
</list>
<list name="plot_style_keywords">
<item> errorbars </item>
<item> xerrorbars </item>
<item> yerrorbars </item>
<item> xyerrorbars </item>
<item> boxes </item>
<item> boxerrorbars </item>
<item> boxxyerrorbars </item>
<item> financebars </item>
<item> candlesticks </item>
<item> vector </item>
</list>
<list name="plot_astyle_keywords">
<item> linestyle </item>
<item> ls </item>
<item> linetype </item>
<item> lt </item>
<item> linewidth </item>
<item> lw </item>
<item> pointtype </item>
<item> pt </item>
<item> pointsize </item>
<item> ps </item>
</list>
<list name="simple_commands">
<item> replot </item>
<item> exit </item>
<item> quit </item>
<item> clear </item>
<item> reset </item>
</list>
<contexts>
<context attribute="Normal Text" name="default" lineEndContext="#stay">
<RegExpr attribute="Keyword" context="#stay" String="^#!\/.*" />
<StringDetect attribute="Keyword" context="show" String="show" />
<StringDetect attribute="Keyword" context="set" String="set" />
<StringDetect attribute="Keyword" context="plot" String="plot" />
<StringDetect attribute="Keyword" context="splot" String="splot" />
<StringDetect attribute="Keyword" context="pause" String="pause"/>
<keyword attribute="Keyword" context="#stay" String="simple_commands"/>
<StringDetect attribute="Keyword" context="pause_1" String="load"/>
<StringDetect attribute="Keyword" context="save" String="save"/>
<RegExpr attribute="Comment" context="comment" String="#" />
</context>
<context attribute="Normal Text" name="pause" lineEndContext="default">
<Int attribute="Decimal" context="pause_1" />
<Detect2Chars attribute="Decimal" context="pause_1" char="-" char1="1" />
</context>
<context attribute="Normal Text" name="pause_1" lineEndContext="default">
<DetectChar attribute="Data Type" context="label_string1" char="'"/>
<DetectChar attribute="Data Type" context="label_string2" char="&quot;"/>
</context>
<context attribute="Normal Text" name="save" lineEndContext="default">
<StringDetect attribute="Funktion" context="save1" String="functions"/>
<StringDetect attribute="Funktion" context="save1" String="var"/>
<StringDetect attribute="Funktion" context="save1" String="variables"/>
<StringDetect attribute="Funktion" context="save1" String="set"/>
<DetectChar attribute="Data Type" context="label_string1" char="'"/>
<DetectChar attribute="Data Type" context="label_string2" char="&quot;"/>
</context>
<context attribute="Normal Text" name="save1" lineEndContext="default">
<DetectChar attribute="Data Type" context="label_string1" char="'"/>
<DetectChar attribute="Data Type" context="label_string2" char="&quot;"/>
</context>
<context attribute="Normal Text" name="show" lineEndContext="default">
<keyword attribute="Funktion" context="default" String="showkeywords" />
<keyword attribute="Funktion" context="default" String="set_label_keywords" />
<keyword attribute="Funktion" context="default" String="set_simple_keywords" />
<keyword attribute="Funktion" context="default" String="set_range_keywords" />
<StringDetect attribute="Funktion" context="default" String="contour" />
<StringDetect attribute="Funktion" context="default" String="terminal" />
<StringDetect attribute="Funktion" context="default" String="term" />
<StringDetect attribute="Funktion" context="default" String="all" />
<StringDetect attribute="Funktion" context="default" String="autoscale" />
<StringDetect attribute="Funktion" context="default" String="logscale" />
<StringDetect attribute="Funktion" context="default" String="key" />
</context>
<context attribute="Normal Text" name="set" lineEndContext="default">
<keyword attribute="Funktion" context="set_2" String="showkeywords" />
<keyword attribute="Funktion" context="set_label" String="set_label_keywords" />
<keyword attribute="Funktion" context="set_range" String="set_range_keywords" />
<keyword attribute="Funktion" context="default" String="set_simple_keywords" />
<keyword attribute="Funktion" context="default" String="set_no_keywords" />
<keyword attribute="Funktion" context="set_autoscale" String="set_scale_keywords" /> <StringDetect attribute="Funktion" context="set_contour" String="contour" />
<StringDetect attribute="Funktion" context="set_terminal" String="terminal" />
<StringDetect attribute="Funktion" context="set_terminal" String="term" />
<StringDetect attribute="Funktion" context="set_logscale" String="logscale" />
<StringDetect attribute="Funktion" context="set_key" String="key" />
</context>
<context attribute="Data Type" name="set_2" lineEndContext="default" />
<context attribute="Normal Text" name="set_label" lineEndContext="default">
<DetectChar attribute="Data Type" context="label_string1" char="'"/>
<DetectChar attribute="Data Type" context="label_string2" char="&quot;"/>
</context>
<context attribute="Data Type" name="label_string1" lineEndContext="#stay">
<DetectChar attribute="Data Type" context="default" char="'"/>
</context>
<context attribute="Data Type" name="label_string2" lineEndContext="#stay">
<DetectChar attribute="Data Type" context="default" char="&quot;"/>
</context>
<context attribute="Normal Text" name="set_range" lineEndContext="default">
<DetectChar attribute="Data Type" context="set_range_1" char="["/>
</context>
<context attribute="Data Type" name="set_range_1" lineEndContext="default">
<DetectChar attribute="Data Type" context="default" char="]"/>
</context>
<context attribute="Normal Text" name="set_key" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_key_keywords" />
<StringDetect attribute="Funktion" context="set_key_1" String="samplen" />
<StringDetect attribute="Funktion" context="set_key_2" String="spacing" />
<StringDetect attribute="Funktion" context="set_key_3" String="with" />
<StringDetect attribute="Funktion" context="set_key_4" String="title" />
<StringDetect attribute="Funktion" context="default" String="nobox" />
<StringDetect attribute="Funktion" context="set_key_5" String="box" />
</context>
<context attribute="Normal Text" name="set_key_1" lineEndContext="default">
<Int attribute="Data Type" context="set_key_11" />
<Float attribute="Data Type" context="set_key_11" />
</context>
<context attribute="Normal Text" name="set_key_11" lineEndContext="default">
<StringDetect attribute="Funktion" context="set_key_2" String="spacing" />
<StringDetect attribute="Funktion" context="set_key_3" String="with" />
<StringDetect attribute="Funktion" context="set_key_4" String="title" />
<StringDetect attribute="Funktion" context="default" String="nobox" />
<StringDetect attribute="Funktion" context="set_key_5" String="box" />
</context>
<context attribute="Normal Text" name="set_key_2" lineEndContext="default">
<Int attribute="Data Type" context="set_key_21" />
<Float attribute="Data Type" context="set_key_21" />
</context>
<context attribute="Normal Text" name="set_key_21" lineEndContext="default">
<StringDetect attribute="Funktion" context="set_key_3" String="with" />
<StringDetect attribute="Funktion" context="set_key_4" String="title" />
<StringDetect attribute="Funktion" context="default" String="nobox" />
<StringDetect attribute="Funktion" context="set_key_5" String="box" />
</context>
<context attribute="Normal Text" name="set_key_3" lineEndContext="default">
<Int attribute="Data Type" context="set_key_31" />
<Float attribute="Data Type" context="set_key_31" />
</context>
<context attribute="Normal Text" name="set_key_31" lineEndContext="default">
<StringDetect attribute="Funktion" context="set_key_4" String="title" />
<StringDetect attribute="Funktion" context="default" String="nobox" />
<StringDetect attribute="Funktion" context="set_key_5" String="box" />
</context>
<context attribute="Normal Text" name="set_key_4" lineEndContext="default">
<DetectChar attribute="Data Type" context="set_key_41" char="&quot;"/>
</context>
<context attribute="Data Type" name="set_key_41" lineEndContext="default">
<DetectChar attribute="Data Type" context="set_key_42" char="&quot;"/>
</context>
<context attribute="Data Type" name="set_key_42" lineEndContext="default">
<StringDetect attribute="Funktion" context="default" String="nobox" />
<StringDetect attribute="Funktion" context="set_key_5" String="box" />
</context>
<context attribute="Normal Text" name="set_key_5" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="plot_astyle_keywords" />
<Int attribute="Data Type" context="#stay" />
</context>
<context attribute="Normal Text" name="set_contour" lineEndContext="default">
<keyword attribute="Data Type" context="default" String="set_contour_keywords" />
</context>
<context attribute="Normal Text" name="set_autoscale" lineEndContext="default">
<keyword attribute="Data Type" context="set_autoscale_1" String="set_scale_axes_keywords"/>
</context>
<context attribute="Normal Text" name="set_autoscale_1" lineEndContext="default">
<StringDetect attribute="Data Type" context="default" String="min" />
<StringDetect attribute="Data Type" context="default" String="max" />
</context>
<context attribute="Normal Text" name="set_logscale" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_scale_axes_keywords"/>
<Int attribute="Data Type" context="default" />
<Float attribute="Data Type" context="default" />
</context>
<context attribute="Normal Text" name="set_terminal" lineEndContext="default">
<keyword attribute="Data Type" context="default" String="set_terminal_keywords" />
<StringDetect attribute="Data Type" context="set_terminal_ps" String="postscript" />
<StringDetect attribute="Data Type" context="set_terminal_ps" String="post" />
<StringDetect attribute="Data Type" context="set_terminal_latex" String="latex" />
<StringDetect attribute="Data Type" context="set_terminal_latex" String="emtex" />
<StringDetect attribute="Data Type" context="set_terminal_pstex" String="pslatex" />
<StringDetect attribute="Data Type" context="set_terminal_pstex" String="pstex" />
<StringDetect attribute="Data Type" context="set_terminal_tpic" String="tpic" />
<StringDetect attribute="Data Type" context="set_terminal_png" String="png" />
<StringDetect attribute="Data Type" context="set_terminal_pbm" String="pbm" />
<StringDetect attribute="Data Type" context="set_terminal_tgif" String="tgif" />
<StringDetect attribute="Data Type" context="set_terminal_fig" String="fig" />
<StringDetect attribute="Data Type" context="set_terminal_corel" String="corel" />
<StringDetect attribute="Data Type" context="set_terminal_hpgl" String="hpgl" />
<StringDetect attribute="Data Type" context="set_terminal_pcl5" String="pcl5" />
<StringDetect attribute="Data Type" context="set_terminal_hpdj" String="hpdj" />
<StringDetect attribute="Data Type" context="set_terminal_hpdj" String="hpljii" />
<StringDetect attribute="Data Type" context="set_terminal_hp500c" String="hp500c" />
<StringDetect attribute="Data Type" context="set_terminal_hppj" String="hppj" />
<StringDetect attribute="Data Type" context="set_terminal_imagen" String="imagen" />
<StringDetect attribute="Data Type" context="set_terminal_tkcanvas" String="tkcanvas" />
</context>
<context attribute="Normal Text" name="set_terminal_ps" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_ps_keywords" />
<Int attribute="Decimal" context="default" />
<DetectChar attribute="Data Type" context="set_terminal_ps_font" char="&quot;"/>
</context>
<context attribute="Data Type" name="set_terminal_ps_font" lineEndContext="#stay">
<DetectChar attribute="Data Type" context="#pop" char="&quot;"/>
</context>
<context attribute="Normal Text" name="set_terminal_latex" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_latex_keywords" />
<Int attribute="Decimal" context="default" />
</context>
<context attribute="Normal Text" name="set_terminal_png" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_png_keywords" />
<keyword attribute="Data Type" context="#stay" String="set_terminal_pbm_keywords" />
</context>
<context attribute="Normal Text" name="set_terminal_pbm" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_pbm_keywords" />
</context>
<context attribute="Normal Text" name="set_terminal_pstex" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_pstex_keywords" />
<Int attribute="Decimal" context="default" />
</context>
<context attribute="Normal Text" name="set_terminal_tgif" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_tgif_keywords" />
<Int attribute="Decimal" context="default" />
<DetectChar attribute="Data Type" context="set_terminal_ps_font" char="&quot;"/>
</context>
<context attribute="Normal Text" name="set_terminal_tpic" lineEndContext="default">
<Int attribute="Decimal" context="#stay" />
<Float attribute="Decimal" context="#stay" />
</context>
<context attribute="Normal Text" name="set_terminal_fig" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_fig_keywords" />
<Int attribute="Decimal" context="#stay" />
</context>
<context attribute="Normal Text" name="set_terminal_corel" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_corel_keywords" />
<Int attribute="Decimal" context="#stay" />
<Float attribute="Decimal" context="#stay" />
<DetectChar attribute="Data Type" context="set_terminal_ps_font" char="&quot;"/>
</context>
<context attribute="Normal Text" name="set_terminal_hpgl" lineEndContext="default">
<StringDetect attribute="Data Type" context="default" String="eject" />
<Int attribute="Decimal" context="#stay" />
</context>
<context attribute="Normal Text" name="set_terminal_pcl5" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_pcl5_keywords" />
<Int attribute="Decimal" context="#stay" />
</context>
<context attribute="Normal Text" name="set_terminal_hpdj" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_hpdj_keywords" />
</context>
<context attribute="Normal Text" name="set_terminal_hp500c" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_hpdj_keywords" />
<StringDetect attribute="Data Type" context="#stay" String="color" />
<StringDetect attribute="Data Type" context="#stay" String="compression" />
</context>
<context attribute="Normal Text" name="set_terminal_hppj" lineEndContext="default">
<keyword attribute="Data Type" context="default" String="set_terminal_hppj_keywords" />
</context>
<context attribute="Normal Text" name="set_terminal_imagen" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="set_terminal_imagen_keywords" />
<Int attribute="Decimal" context="#stay" />
<DetectChar attribute="Decimal" context="#stay" char="["/>
<DetectChar attribute="Decimal" context="default" char="]"/>
</context>
<context attribute="Normal Text" name="set_terminal_tkcanvas" lineEndContext="default">
<StringDetect attribute="Data Type" context="#stay" String="perltk" />
<StringDetect attribute="Data Type" context="#stay" String="interactive" />
</context>
<context attribute="FloatFunc" name="plot" lineEndContext="default">
<DetectChar attribute="Data Type" context="plot_range" char="["/>
<DetectChar attribute="String" context="plot_string1" char="'"/>
<DetectChar attribute="String" context="plot_string2" char="&quot;"/>
<StringDetect attribute="Funktion" context="plot_axes" String="axes"/>
<StringDetect attribute="Funktion" context="plot_axes" String=" a "/>
<StringDetect attribute="Funktion" context="plot_title" String="title"/>
<StringDetect attribute="Funktion" context="plot_title" String=" t "/>
<StringDetect attribute="Funktion" context="plot_label_end" String="notitle"/>
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w \"/>
<DetectChar attribute="Keyword" context="#stay" char=","/>
</context>
<context attribute="Data Type" name="plot_range" lineEndContext="default">
<DetectChar attribute="Data Type" context="#pop" char="]"/>
</context>
<context attribute="String" name="plot_string1" lineEndContext="default">
<DetectChar attribute="String" context="plot_string_end" char="'"/>
</context>
<context attribute="String" name="plot_string2" lineEndContext="default">
<DetectChar attribute="String" context="plot_string_end" char="&quot;"/>
</context>
<context attribute="String" name="plot_string_end" lineEndContext="default">
<StringDetect attribute="Funktion" context="plot_index" String="index"/>
<StringDetect attribute="Funktion" context="plot_using" String="using"/>
<StringDetect attribute="Funktion" context="plot_using" String=" u "/>
<StringDetect attribute="Funktion" context="plot_smooth" String="smooth"/>
<StringDetect attribute="Funktion" context="plot_smooth" String=" s "/>
<StringDetect attribute="Funktion" context="plot_axes" String="axes"/>
<StringDetect attribute="Funktion" context="plot_axes" String=" a "/>
<StringDetect attribute="Funktion" context="plot_title" String="title"/>
<StringDetect attribute="Funktion" context="plot_title" String=" t "/>
<StringDetect attribute="Funktion" context="plot_label_end" String="notitle"/>
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w "/>
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="Normal Text" name="plot_using" lineEndContext="default">
<Int attribute="Data Type" context="#stay" />
<DetectChar attribute="Data Type" context="#stay" char=":"/>
<StringDetect attribute="Funktion" context="plot_index" String="index"/>
<StringDetect attribute="Funktion" context="plot_smooth" String="smooth"/>
<StringDetect attribute="Funktion" context="plot_smooth" String=" s "/>
<StringDetect attribute="Funktion" context="plot_axes" String="axes"/>
<StringDetect attribute="Funktion" context="plot_axes" String=" a "/>
<StringDetect attribute="Funktion" context="plot_title" String="title"/>
<StringDetect attribute="Funktion" context="plot_title" String=" t "/>
<StringDetect attribute="Funktion" context="plot_label_end" String="notitle"/>
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w "/>
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="Normal Text" name="plot_index" lineEndContext="default">
<Int attribute="Data Type" context="#stay" />
<DetectChar attribute="Data Type" context="#stay" char=":"/>
<StringDetect attribute="Funktion" context="plot_using" String="using"/>
<StringDetect attribute="Funktion" context="plot_smooth" String="smooth"/>
<StringDetect attribute="Funktion" context="plot_smooth" String=" s "/>
<StringDetect attribute="Funktion" context="plot_axes" String="axes"/>
<StringDetect attribute="Funktion" context="plot_axes" String=" a "/>
<StringDetect attribute="Funktion" context="plot_title" String="title"/>
<StringDetect attribute="Funktion" context="plot_title" String=" t "/>
<StringDetect attribute="Funktion" context="plot_label_end" String="notitle"/>
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w "/>
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="Normal Text" name="plot_smooth" lineEndContext="default">
<keyword attribute="Data Type" context="plot_smooth_end" String="plot_smooth_keywords" />
</context>
<context attribute="Normal Text" name="plot_smooth_end" lineEndContext="default">
<StringDetect attribute="Funktion" context="plot_axes" String="axes"/>
<StringDetect attribute="Funktion" context="plot_axes" String=" a "/>
<StringDetect attribute="Funktion" context="plot_title" String="title"/>
<StringDetect attribute="Funktion" context="plot_title" String=" t "/>
<StringDetect attribute="Funktion" context="plot_label_end" String="notitle"/>
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w "/>
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="Normal Text" name="plot_axes" lineEndContext="default">
<keyword attribute="Data Type" context="plot_axes_end" String="plot_axes_keywords" />
</context>
<context attribute="Normal Text" name="plot_axes_end" lineEndContext="default">
<StringDetect attribute="Funktion" context="plot_title" String="title"/>
<StringDetect attribute="Funktion" context="plot_title" String=" t "/>
<StringDetect attribute="Funktion" context="plot_label_end" String="notitle"/>
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w "/>
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="Normal Text" name="plot_title" lineEndContext="default">
<DetectChar attribute="Data Type" context="plot_label_string1" char="'"/>
<DetectChar attribute="Data Type" context="plot_label_string2" char="&quot;"/>
</context>
<context attribute="Data Type" name="plot_label_string1" lineEndContext="default">
<DetectChar attribute="Data Type" context="plot_label_end" char="'"/>
</context>
<context attribute="Data Type" name="plot_label_string2" lineEndContext="default">
<DetectChar attribute="Data Type" context="plot_label_end" char="&quot;"/>
</context>
<context attribute="Normal Text" name="plot_label_end" lineEndContext="default">
<StringDetect attribute="Funktion" context="plot_with" String="with"/>
<StringDetect attribute="Funktion" context="plot_with" String=" w "/>
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="Normal Text" name="plot_with" lineEndContext="default">
<keyword attribute="Data Type" context="plot_with_1" String="plot_style_keywords" />
<keyword attribute="Data Type" context="plot_with_1" String="splot_style_keywords" />
</context>
<context attribute="Normal Text" name="plot_with_1" lineEndContext="default">
<keyword attribute="Data Type" context="#stay" String="plot_astyle_keywords" />
<Int attribute="Data Type" context="#stay" />
<DetectChar attribute="Keyword" context="plot" char=","/>
</context>
<context attribute="FloatFunc" name="splot" lineEndContext="default">
<DetectChar attribute="Data Type" context="plot_range" char="["/>
<DetectChar attribute="String" context="splot_string1" char="'"/>
<DetectChar attribute="String" context="splot_string2" char="&quot;"/>
</context>
<context attribute="String" name="splot_string1" lineEndContext="default">
<DetectChar attribute="String" context="splot_string_end" char="'"/>
</context>
<context attribute="String" name="splot_string2" lineEndContext="default">
<DetectChar attribute="String" context="splot_string_end" char="&quot;"/>
</context>
<context attribute="String" name="splot_string_end" lineEndContext="default">
<StringDetect attribute="Funktion" context="#stay" String="binary"/>
<StringDetect attribute="Funktion" context="#stay" String="matrix"/>
<StringDetect attribute="Funktion" context="splot_index" String="index"/>
<StringDetect attribute="Funktion" context="splot_using" String="using"/>
<StringDetect attribute="Funktion" context="splot_title" String="title"/>
<StringDetect attribute="Funktion" context="splot_title" String=" t "/>
<StringDetect attribute="Funktion" context="splot_title_end" String="notitle"/>
<StringDetect attribute="Funktion" context="splot_with" String="with"/>
<StringDetect attribute="Funktion" context="splot_with" String=" w "/>
<DetectChar attribute="Keyword" context="splot" char=","/>
</context>
<context attribute="Normal Text" name="splot_using" lineEndContext="default">
<Int attribute="Data Type" context="#stay" />
<DetectChar attribute="Data Type" context="#stay" char=":"/>
<StringDetect attribute="Funktion" context="splot_index" String="index"/>
<StringDetect attribute="Funktion" context="splot_title" String="title"/>
<StringDetect attribute="Funktion" context="splot_title" String=" t "/>
<StringDetect attribute="Funktion" context="splot_title_end" String="notitle"/>
<StringDetect attribute="Funktion" context="splot_with" String="with"/>
<StringDetect attribute="Funktion" context="splot_with" String=" w "/>
<DetectChar attribute="Keyword" context="splot" char=","/>
</context>
<context attribute="Normal Text" name="splot_index" lineEndContext="default">
<Int attribute="Data Type" context="#stay" />
<DetectChar attribute="Data Type" context="#stay" char=":"/>
<StringDetect attribute="Funktion" context="splot_using" String="using"/>
<StringDetect attribute="Funktion" context="splot_title" String="title"/>
<StringDetect attribute="Funktion" context="splot_title" String=" t "/>
<StringDetect attribute="Funktion" context="splot_title_end" String="notitle"/>
<StringDetect attribute="Funktion" context="splot_with" String="with"/>
<StringDetect attribute="Funktion" context="splot_with" String=" w "/>
<DetectChar attribute="Keyword" context="splot" char=","/>
</context>
<context attribute="Normal Text" name="splot_title" lineEndContext="default">
<DetectChar attribute="Data Type" context="splot_label_string1" char="'"/>
<DetectChar attribute="Data Type" context="splot_label_string2" char="&quot;"/>
</context>
<context attribute="Data Type" name="splot_label_string1" lineEndContext="default">
<DetectChar attribute="Data Type" context="splot_title_end" char="'"/>
</context>
<context attribute="Data Type" name="splot_label_string2" lineEndContext="default">
<DetectChar attribute="Data Type" context="splot_title_end" char="&quot;"/>
</context>
<context attribute="Normal Text" name="splot_title_end" lineEndContext="default">
<StringDetect attribute="Funktion" context="splot_with" String="with"/>
<StringDetect attribute="Funktion" context="splot_with" String=" w "/>
<DetectChar attribute="Keyword" context="splot" char=","/>
</context>
<context attribute="Normal Text" name="splot_with" lineEndContext="default">
<keyword attribute="Data Type" context="splot_with_1" String="splot_style_keywords" />
</context>
<context attribute="Normal Text" name="splot_with_1" lineEndContext="default">
<Int attribute="Data Type" context="#stay" />
<DetectChar attribute="Keyword" context="splot" char=","/>
</context>
<context attribute="Comment" name="comment" lineEndContext="default" />
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Funktion" defStyleNum="dsOthers" />
<itemData name="Data Type" defStyleNum="dsDataType" />
<itemData name="String" defStyleNum="dsBaseN" />
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="FloatFunc" defStyleNum="dsFloat" />
<itemData name="Comment" defStyleNum="dsComment" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
<keywords casesensitive="1" />
</general>
</language>

@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-->
<language name="Go" version="1.01" kateversion="2.4" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL">
<language name="Go" version="1.05" kateversion="2.5" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL">
<highlighting>
<list name="keywords">
<!-- Keywords have been taken from The Go Programming Language Specification -> Keywords section -->
@ -62,7 +62,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<item>complex64</item>
<item>complex128</item>
<item>error</item>
<item>float</item>
<item>float32</item>
<item>float64</item>
<item>int</item>
@ -73,26 +72,28 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<item>rune</item>
<item>string</item>
<item>uint</item>
<item>uintptr</item>
<item>uint8</item>
<item>uint16</item>
<item>uint32</item>
<item>uint64</item>
</list>
<list name="builtin">
<item> append </item>
<item> cap </item>
<item> close </item>
<item> complex </item>
<item> copy </item>
<item> imag </item>
<item> len </item>
<item> make </item>
<item> new </item>
<item> panic </item>
<item> print </item>
<item> println </item>
<item> real </item>
<item> recover </item>
<item>append</item>
<item>cap</item>
<item>close</item>
<item>complex</item>
<item>copy</item>
<item>delete</item>
<item>imag</item>
<item>len</item>
<item>make</item>
<item>new</item>
<item>panic</item>
<item>print</item>
<item>println</item>
<item>real</item>
<item>recover</item>
</list>
<list name="predeclared">
<item>false</item>
@ -114,7 +115,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<HlCHex attribute="Hex" context="#stay"/>
<HlCChar attribute="Char" context="#stay" />
<DetectChar attribute="String" context="String" char="&quot;" />
<DetectChar attribute="Multiline String" context="Multiline String" char="`"/>
<DetectChar attribute="String" context="Multiline String" char="`"/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^&#59;"/>
</context>

@ -3,7 +3,7 @@
<!--
Syntax definition for tdev-pg/tdev-pg-qt grammars.
-->
<language name="KDev-PG[-Qt] Grammar" version="0.24" kateversion="2.5" section="Sources" extensions="*.g" casesensitive="1" author="Milian Wolff (mail@milianw.de), Jonathan Schmidt-Dominé (devel@the-user.org)" license="">
<language name="KDev-PG[-Qt] Grammar" version="0.25" kateversion="2.5" section="Sources" extensions="*.g" casesensitive="1" author="Milian Wolff (mail@milianw.de), Jonathan Schmidt-Dominé (devel@the-user.org)" license="">
<highlighting>
<list name="macros">
<item> ast_extra_members </item>

@ -0,0 +1,523 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Haml" version="1.2" kateversion="2.5" section="Markup"
extensions="*.haml"
author="Cies Breijs (cies_at_kde_nl)" license="LGPL"
mimetype="text/x-haml">
<!-- mimetype="text/x-haml" this might be a problem as is doesn't exist -->
<!-- learned and copied a lot from rhtml.xml -->
<!-- ripped out some functionality from rhtml, like GDL, maybe put this back in some day... -->
<!-- rhtml is rails specific, i ripped the rails helper keywords out as i'm a _merb_ guy... -->
<!-- 1.1: fixed many many many buggers, clearly shows how arbitrary the title '1.0' was -->
<!-- TODO: multi-line-based-on-indenting (comments, filters) don't work, mark more errors with error_hl_test.haml(?) (currently only unpaired spaces on indentation), give ruby code a little background, pipe character as a multiline splitter can use a little color (can it be escaped? "\|"), use hamls unittests for inspiration for better *_test.haml files -->
<highlighting>
<list name="keywords">
<item> BEGIN </item>
<item> END </item>
<item> and </item>
<item> begin </item>
<item> break </item>
<item> case </item>
<item> defined? </item>
<item> do </item>
<item> else </item>
<item> elsif </item>
<item> end </item>
<item> ensure </item>
<item> for </item>
<item> if </item>
<item> in </item>
<item> include </item>
<item> next </item>
<item> not </item>
<item> or </item>
<item> redo </item>
<item> rescue </item>
<item> retry </item>
<item> return </item>
<item> then </item>
<item> unless </item>
<item> until </item>
<item> when </item>
<item> while </item>
<item> yield </item>
</list>
<list name="access-control">
<item> private_class_method </item>
<item> private </item>
<item> protected </item>
<item> public_class_method </item>
<item> public </item>
</list>
<list name="attribute-definitions">
<item> attr_reader </item>
<item> attr_writer </item>
<item> attr_accessor </item>
</list>
<list name="definitions">
<item> alias </item>
<item> module </item>
<item> class </item>
<item> def </item>
<item> undef </item>
</list>
<list name="pseudo-variables">
<item> self </item>
<item> super </item>
<item> nil </item>
<item> false </item>
<item> true </item>
<item> caller </item>
<item> __FILE__ </item>
<item> __LINE__ </item>
</list>
<list name="default-globals">
<item> $stdout </item>
<item> $defout </item>
<item> $stderr </item>
<item> $deferr </item>
<item> $stdin </item>
</list>
<!-- Kernel module methods.
NOTE: Methods ending in ? or !
are included below as regexes.
-->
<list name="kernel-methods">
<!-- backquote ` -->
<item> abort </item>
<item> at_exit </item>
<item> autoload </item>
<item> autoload? </item>
<item> binding </item>
<item> block_given? </item>
<item> callcc </item>
<item> caller </item>
<item> catch </item>
<item> chomp </item>
<item> chomp! </item>
<item> chop </item>
<item> chop! </item>
<item> eval </item>
<item> exec </item>
<item> exit </item>
<item> exit! </item>
<item> fail </item>
<item> fork </item>
<item> format </item>
<item> getc </item>
<item> gets </item>
<item> global_variables </item>
<item> gsub </item>
<item> gsub! </item>
<item> iterator? </item>
<item> lambda </item>
<item> load </item>
<item> local_variables </item>
<item> loop </item>
<item> method_missing </item>
<item> open </item>
<item> p </item>
<item> print </item>
<item> printf </item>
<item> proc </item>
<item> putc </item>
<item> puts </item>
<item> raise </item>
<item> rand </item>
<item> readline </item>
<item> readlines </item>
<item> require </item>
<item> scan </item>
<item> select </item>
<item> set_trace_func </item>
<item> sleep </item>
<item> split </item>
<item> sprintf </item>
<item> srand </item>
<item> sub </item>
<item> sub! </item>
<item> syscall </item>
<item> system </item>
<item> test </item>
<item> throw </item>
<item> trace_var </item>
<item> trap </item>
<item> untrace_var </item>
<item> warn </item>
</list>
<list name="attention">
<item> TODO </item>
<item> FIXME </item>
<item> NOTE </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="normal" >
<RegExpr attribute="Error" firstNonSpace="false" context="#stay" String="^[ ]{1}([ ]{2})*[^ ]+" />
<RegExpr attribute="Doctype" context="#stay" String="^!!!.*$"/>
<!-- 2 failed attempts to implement multiline comments -->
<!-- <RegExpr attribute="Comment" String="/.*$" context="#stay" beginRegion="comment0" column="0"/>
<RegExpr attribute="Comment" String="[^ /]" context="#stay" endRegion="comment0" column="0"/>
<RegExpr attribute="Comment" String="^[ ]{2}/.*$" context="#stay" beginRegion="comment2" column="0"/>
<RegExpr attribute="Comment" String="^[^ ]{4}" context="#stay" endRegion="comment2" column="0"/>-->
<!-- <RegExpr attribute="Comment" context="comment0" String="^/.*" />
<RegExpr attribute="Comment" context="comment2" String="^[ ]{2}/.*" />
<RegExpr attribute="Comment" context="comment4" String="^[ ]{4}/.*" />-->
<DetectSpaces/>
<DetectChar attribute="Escaped Text" context="escaped" char="\" />
<DetectChar attribute="Comment" context="comment" char="/" />
<Detect2Chars attribute="Keyword" context="unquoted" char="=" char1="=" />
<DetectChar attribute="Keyword" context="rubysourceline" char="=" />
<DetectChar attribute="Keyword" context="rubysourceline" char="-" />
<DetectChar attribute="Keyword" context="rubysourceline" char="~" />
<Detect2Chars attribute="Keyword" context="rubysourceline" char="!" char1="=" />
<Detect2Chars attribute="Keyword" context="rubysourceline" char="&amp;" char1="=" />
<DetectChar attribute="Operator" context="array" char="[" beginRegion="Array" />
<DetectChar attribute="Operator" context="hash" char="{" beginRegion="Hash" />
<RegExpr attribute="Filter" firstNonSpace="true" context="#stay" String=":[a-zA-Z0-9_\-]*" />
<RegExpr attribute="Tag" firstNonSpace="true" context="#stay" String="%[a-zA-Z_][a-zA-Z0-9_\-]*" />
<RegExpr attribute="Div Id" firstNonSpace="true" context="#stay" String="#[a-zA-Z_][a-zA-Z0-9_\-]*" />
<RegExpr attribute="Div Class" firstNonSpace="true" context="#stay" String="\.[a-zA-Z_][a-zA-Z0-9_\-]*" />
<RegExpr attribute="Element Id" context="#stay" String="#[a-zA-Z_][a-zA-Z0-9_\-]*" />
<RegExpr attribute="Element Class" context="#stay" String="\.[a-zA-Z_][a-zA-Z0-9_\-]*" />
<RegExpr attribute="Entity" context="#stay" String="&amp;[a-zA-Z]+;" />
</context>
<context attribute="Array" lineEndContext="#stay" name="array">
<DetectSpaces/>
<DetectChar attribute="Operator" context="#pop" char="]" endRegion="Array" />
<IncludeRules context="rubysourceline" />
</context>
<context attribute="Hash" lineEndContext="#stay" name="hash">
<DetectSpaces/>
<DetectChar attribute="Operator" context="#pop" char="}" endRegion="Hash" />
<IncludeRules context="rubysourceline" />
</context>
<context attribute="Unquoted String" lineEndContext="#pop" name="unquoted">
<IncludeRules context="Quoted String" />
</context>
<context attribute="String" lineEndContext="#stay" name="string">
<DetectIdentifier />
<DetectChar attribute="String" context="#pop" char="'" endRegion="String" />
</context>
<context attribute="String" lineEndContext="#stay" name="stringx">
<DetectIdentifier />
<DetectChar attribute="String" context="#pop" char="&quot;" endRegion="String" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="comment0">
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<!-- <RegExpr attribute="Comment" context="#pop" String="^[^/ ]" endRegion="comment" /> attempt for multiline comments -->
</context>
<context attribute="Comment" lineEndContext="#pop" name="comment2">
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<RegExpr attribute="Comment" context="#pop" String="^[ ]{2}[^ /]" endRegion="comment" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="comment">
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="--&gt;" endRegion="comment" />
</context>
<context attribute="Escaped Text" lineEndContext="#pop" name="escaped">
</context>
<context name="rubysourceline" attribute="Ruby embedded in haml" lineEndContext="#pop">
<IncludeRules context="rubysource" />
</context>
<context name="rubysource" attribute="Ruby embedded in haml" lineEndContext="#stay">
<!-- ruby ignores newline after \ -->
<LineContinue attribute="Ruby Normal Text" context="Line Continue"/>
<!-- "def" - "end" blocks -->
<!-- check for statement modifiers with regexes -->
<RegExpr attribute="Keyword" String="(\=|\(|\[|\{)\s*(if|unless|while|until)\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="(while|until)\b(?!.*\bdo\b)" context="#stay" beginRegion="def block" firstNonSpace="true"/>
<RegExpr attribute="Keyword" String="\;\s*(while|until)\b(?!.*\bdo\b)" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="(if|unless)\b" context="#stay" beginRegion="def block" firstNonSpace="true"/>
<RegExpr attribute="Keyword" String="\;\s*(if|unless)\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bclass\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bmodule\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bbegin\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bfor\b(?!.*\bdo\b)" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bcase\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bdo\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bdef\b" context="#stay" beginRegion="def block"/>
<RegExpr attribute="Keyword" String="\bend\b" context="#stay" endRegion="def block"/>
<!-- elsif/else close the current block and start a new one -->
<RegExpr attribute="Keyword" String="(\b|^\s*)(else|elsif|rescue|ensure)(\s+|$)" context="#stay" endRegion="def block" beginRegion="def block"/>
<StringDetect attribute="Operator" String="..." context="#stay"/>
<Detect2Chars attribute="Operator" char="." char1="." context="#stay"/>
<!-- marks a message (being sent, not defined) -->
<RegExpr attribute="Message" String="\.[_a-z][_a-zA-Z0-9]*(\?|\!|\b)" context="#stay"/>
<!-- Check for "ASCII code operator". e.g.: ?a -->
<RegExpr attribute="Dec" String="\s\?(\\M\-)?(\\C\-)?\\?\S" context="#stay"/>
<keyword attribute="Keyword" String="keywords" context="#stay"/>
<keyword attribute="Attribute Definition" String="attribute-definitions" context="#stay"/>
<keyword attribute="Access Control" String="access-control" context="#stay"/>
<keyword attribute="Definition" String="definitions" context="#stay" />
<keyword attribute="Pseudo variable" String="pseudo-variables" context="#stay"/>
<keyword attribute="Default globals" String="default-globals" context="#stay"/>
<keyword attribute="Kernel methods" String="kernel-methods" context="#stay"/>
<!-- (global) vars starting with $
Match them before $_.
-->
<RegExpr attribute="Global Variable" String="\$[a-zA-Z_0-9]+" context="#stay"/>
<RegExpr attribute="Global Variable" String="\$\-[a-zA-z_]\b" context="#stay"/>
<!-- special-character globals -->
<RegExpr attribute="Default globals" String="\$[\d_*`\!:?'/\\\-\&amp;]" context="#stay"/>
<RegExpr attribute="Global Constant" String="\b[_A-Z]+[A-Z_0-9]+\b" context="#stay"/>
<!-- Generally a module or class name like "File", "MyModule_1", .. -->
<RegExpr attribute="Constant" String="\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\b" context="#stay"/>
<RegExpr attribute="Hex" String="\b\-?0[xX][_0-9a-fA-F]+" context="#stay"/>
<RegExpr attribute="Bin" String="\b\-?0[bB][_01]+" context="#stay"/>
<RegExpr attribute="Octal" String="\b\-?0[1-7][_0-7]*" context="#stay"/>
<RegExpr attribute="Float" String="\b\-?[0-9][0-9_]*\.[0-9][0-9_]*([eE]\-?[1-9][0-9]*(\.[0-9]*)?)?" context="#stay"/>
<RegExpr attribute="Dec" String="\b\-?[1-9][0-9_]*\b" context="#stay"/>
<Int attribute="Dec" context="#stay"/>
<HlCChar attribute="Char" context="#stay"/>
<!-- Check for =begin before assignment operator. -->
<StringDetect attribute="Blockcomment" String="=begin" context="Embedded documentation" beginRegion="comment block" column="0"/>
<DetectChar attribute="Operator" char="." context="#stay"/>
<Detect2Chars attribute="Operator" char="&amp;" char1="&amp;" context="#stay"/>
<Detect2Chars attribute="Operator" char="|" char1="|" context="#stay"/>
<RegExpr attribute="Operator" String="\s[\?\:\%/]\s" context="#stay"/>
<RegExpr attribute="Operator" String="[|&amp;&lt;&gt;\^\+*~\-=]+" context="#stay"/>
<!-- regexp hack -->
<RegExpr attribute="Operator" String="\s!" context="#stay"/>
<RegExpr attribute="Operator" String="/=\s" context="#stay" insensitive="0"/>
<StringDetect attribute="Operator" String="%=" context="#stay" insensitive="0"/>
<Detect2Chars attribute="Operator" char=":" char1=":" context="Member Access"/>
<RegExpr attribute="Symbol" String=":[a-zA-Z_][a-zA-Z0-9_]*" context="#stay"/>
<DetectChar attribute="String" char="&quot;" context="Quoted String"/>
<DetectChar attribute="Raw String" char="'" context="Apostrophed String"/>
<DetectChar attribute="Command" char="`" context="Command String"/>
<StringDetect attribute="Normal Text" String="?#" context="#stay"/>
<RegExpr attribute="Comment" String="#\s*BEGIN.*$" context="#stay" beginRegion="marker" column="0"/>
<RegExpr attribute="Comment" String="#\s*END.*$" context="#stay" endRegion="marker" column="0"/>
<RegExpr attribute="Comment" String="#" context="General Comment"/>
<RegExpr attribute="Delimiter" String="[\[\]]+" context="#stay"/>
<DetectChar attribute="Delimiter" char="{" context="#stay" beginRegion="def block"/>
<DetectChar attribute="Delimiter" char="}" context="#stay" endRegion="def block"/>
<RegExpr attribute="Instance Variable" String="@[a-zA-Z_0-9]+" context="#stay"/>
<RegExpr attribute="Class Variable" String="@@[a-zA-Z_0-9]+" context="#stay"/>
<!-- handle the different regular expression formats -->
<DetectChar attribute="Regular Expression" char="/" context="RegEx 1"/>
</context>
<context name="Line Continue" attribute="Ruby Normal Text" lineEndContext="#pop">
<RegExpr attribute="Keyword" String="(while|until)\b(?!.*\bdo\b)" context="#stay" firstNonSpace="true"/>
<RegExpr attribute="Keyword" String="(if|unless)\b" context="#stay" firstNonSpace="true"/>
<IncludeRules context="rubysource"/>
</context>
<context name="Quoted String" attribute="String" lineEndContext="#stay">
<StringDetect attribute="String" String="\\" context="#stay"/>
<RegExpr attribute="String" String="\\\&quot;" context="#stay"/>
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
<!--HlCChar attribute="Char" context="#pop"/-->
<DetectChar char="&quot;" attribute="String" context="#pop"/>
</context>
<context name="Apostrophed String" attribute="Raw String" lineEndContext="#stay">
<!-- <HlCChar attribute="Char" context="#pop"/> -->
<StringDetect attribute="String" String="\\" context="#stay"/>
<RegExpr attribute="String" String="\\\'" context="#stay"/>
<DetectChar char="'" attribute="Raw String" context="#pop"/>
</context>
<context name="Command String" attribute="Command" lineEndContext="#stay">
<StringDetect attribute="String" String="\\" context="#stay"/>
<RegExpr attribute="String" String="\\\`" context="#stay"/>
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
<HlCChar attribute="Char" context="#pop"/>
<DetectChar char="`" attribute="Command" context="#pop"/>
</context>
<context name="Embedded documentation" attribute="Ruby Comment" lineEndContext="#stay">
<StringDetect attribute="Ruby Comment" String="=end" context="#pop" endRegion="comment block" column="0"/>
</context>
<context name="RegEx 1" attribute="Regular Expression" lineEndContext="#stay">
<RegExpr attribute="Regular Expression" String="\\\/" context="#stay"/>
<RegExpr attribute="Regular Expression" String="[^\\]$" context="#pop"/>
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
<RegExpr attribute="Regular Expression" String="/[uiomxn]*" context="#pop"/>
</context>
<!-- Substitutions can be nested -->
<context name="Subst" attribute="Ruby Normal Text" lineEndContext="#stay">
<DetectChar attribute="Substitution" char="}" context="#pop"/>
<!-- Highlight substitution as code. -->
<IncludeRules context="rubysource"/>
</context>
<context name="Short Subst" attribute="Substitution" lineEndContext="#pop">
<!-- Check for e.g.: "#@var#@@xy" -->
<RegExpr attribute="Substitution" String="#@{1,2}" context="#stay"/>
<RegExpr attribute="Substitution" String="\w(?!\w)" context="#pop"/>
</context>
<!-- This handles access of nested module classes and class methods -->
<context name="Member Access" attribute="Member" lineEndContext="#pop">
<!-- marks a message (being sent, not defined) -->
<RegExpr attribute="Message" String="\.?[_a-z]\w*(\?|\!)?(?=[^\w\d\.\:])" context="#pop"/>
<RegExpr attribute="Message" String="\.?[_a-z]\w*(\?|\!)?" context="#stay"/>
<RegExpr attribute="Constant" String="[A-Z]+_*(\d|[a-z])\w*(?=[^\w\d\.\:])" context="#pop"/>
<RegExpr attribute="Constant" String="[A-Z]+_*([0-9]|[a-z])\w*" context="#stay"/>
<RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*(?=[^\w\d\.\:])" context="#pop"/>
<RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*" context="#stay"/>
<Detect2Chars attribute="Operator" char=":" char1=":" context="#stay"/>
<DetectChar attribute="Member" char="." context="#stay"/>
<AnyChar attribute="Operator" String="=+-*/%|&amp;[]{}~" context="#pop"/>
<DetectChar attribute="Ruby Comment" char="#" context="#pop"/>
<AnyChar attribute="Ruby Normal Text" String="()\" context="#pop"/>
<RegExpr attribute="Member" String="\W" context="#pop"/>
</context>
<context name="Comment Line" attribute="Ruby Comment" lineEndContext="#pop">
<keyword attribute="Alert" String="attention" context="#stay"/>
<RegExpr attribute="Keyword" context="#pop#pop" String="-?%&gt;" />
</context>
<context name="General Comment" attribute="Ruby Comment" lineEndContext="#pop">
<keyword attribute="Dec" String="attention" context="#stay"/>
</context>
</contexts>
<itemDatas>
<!-- BEGIN Ruby itemData -->
<itemData name="Ruby Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Attribute Definition" defStyleNum="dsOthers"/>
<itemData name="Access Control" defStyleNum="dsKeyword" color="#0000FF"/>
<itemData name="Definition" defStyleNum="dsKeyword"/>
<itemData name="Pseudo variable" defStyleNum="dsDecVal"/>
<itemData name="Dec" defStyleNum="dsDecVal"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="Bin" defStyleNum="dsBaseN"/>
<itemData name="Symbol" defStyleNum="dsString" color="#D40000"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Unquoted String" defStyleNum="dsString"/>
<itemData name="Raw String" defStyleNum="dsString" color="#DD4A4A" selColor="#DD4A4A"/>
<itemData name="Command" defStyleNum="dsString" color="#AA3000"/>
<itemData name="Message" defStyleNum="dsNormal" color="#4000A7"/> <!-- #4A00C0 -->
<itemData name="Regular Expression" defStyleNum="dsOthers" color="#4A5704"/>
<itemData name="Substitution" defStyleNum="dsOthers"/>
<itemData name="Data" defStyleNum="dsNormal"/>
<!-- short for 'general delimited input' -->
<itemData name="GDL input" defStyleNum="dsOthers" />
<itemData name="Default globals" defStyleNum="dsDataType" color="#C00000" bold="1"/>
<itemData name="Global Variable" defStyleNum="dsDataType" color="#C00000"/>
<itemData name="Global Constant" defStyleNum="dsDataType" color="#bb1188" bold="1"/>
<itemData name="Constant" defStyleNum="dsDataType"/>
<itemData name="Constant Value" defStyleNum="dsDataType" color="#bb1188"/>
<itemData name="Kernel methods" defStyleNum="dsNormal" color="#000080" selColor="#ffffff"/> <!-- #CC0E86 -->
<itemData name="Member" defStyleNum="dsNormal"/>
<itemData name="Instance Variable" defStyleNum="dsOthers"/>
<itemData name="Class Variable" defStyleNum="dsOthers"/>
<itemData name="Ruby Comment" defStyleNum="dsComment"/>
<itemData name="Blockcomment" defStyleNum="dsComment"/>
<itemData name="Region Marker" defStyleNum="dsNormal" color="#0000ff"/>
<itemData name="RDoc Value" defStyleNum="dsOthers"/>
<!-- use these to mark errors and alerts things -->
<itemData name="Error" defStyleNum="dsError" />
<itemData name="Alert" defStyleNum="dsAlert" />
<itemData name="Delimiter" defStyleNum="dsChar"/>
<itemData name="Expression" defStyleNum="dsOthers"/>
<itemData name="Operator" defStyleNum="dsChar"/>
<!-- HAML itemData -->
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Hash" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Symbol" defStyleNum="dsDataType" />
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" />
<itemData name="Filter" defStyleNum="dsOthers" />
<itemData name="Element Id" defStyleNum="dsFloat" bold="1" />
<itemData name="Element Class" defStyleNum="dsFloat" />
<itemData name="Div Id" defStyleNum="dsDecVal" bold="1" />
<itemData name="Div Class" defStyleNum="dsDecVal" />
<itemData name="String" defStyleNum="dsNormal" />
<itemData name="Tag" defStyleNum="dsKeyword" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Entity" defStyleNum="dsDecVal" />
</itemDatas>
</highlighting>
<general>
<folding indentationsensitive="1" />
<emptyLines>
<emptyLine regexpr="\s+" casesensitive="false"/>
</emptyLines>
<comments>
<comment name="singleLine" start="/"/>
</comments>
<keywords casesensitive="1"/>
</general>
</language>

@ -1,18 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Haskell" version="2.0.3" kateversion="2.3" section="Sources" extensions="*.hs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell">
<language name="Haskell" version="2.3" kateversion="2.5" section="Sources" extensions="*.hs;*.chs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell">
<highlighting>
<list name="keywords">
<item> as </item>
<item> case </item>
<item> class </item>
<item> data </item>
<item> deriving </item>
<item> do </item>
<item> else </item>
<item> hiding </item>
<item> if </item>
<item> import </item>
<item> in </item>
<item> infixl </item>
<item> infixr </item>
@ -22,7 +19,6 @@
<item> newtype </item>
<item> of </item>
<item> primitive </item>
<item> qualified </item>
<item> then </item>
<item> type </item>
<item> where </item>
@ -298,17 +294,46 @@
<item> LT </item>
<item> GT </item>
</list>
<list name="class">
<item> Applicative </item>
<item> Foldable </item>
<item> Traversable </item>
</list>
<list name="c2hs_keywords">
<item> qualified </item>
<item> lib </item>
<item> prefix </item>
<item> as </item>
<item> with </item>
<item> call </item>
<item> pure </item>
<item> unsafe </item>
<item> get </item>
<item> set </item>
<item> foreign </item>
<item> stable </item>
<item> nocode </item>
</list>
<list name="import_keywords">
<item> as </item>
<item> qualified </item>
<item> hiding </item>
</list>
<contexts>
<context attribute="Normal" lineEndContext="#stay" name="code">
<RegExpr attribute="Pragma" context="#stay" String="\{-#.*#-\}"/>
<RegExpr attribute="Comment" context="comments" String="\{-[^#]?" />
<RegExpr attribute="Comment" context="comment" String="--[^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:].*$" />
<RegExpr attribute="Keyword" context="import" String="import\s+" />
<RegExpr attribute="C2HS Directive" context="c2hs directive" String="\{#"/>
<RegExpr attribute="C2HS Directive" context="c2hs include" String="#"/>
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Function Prelude" context="#stay" String="prelude function" />
<keyword attribute="Type Prelude" context="#stay" String="prelude type" />
<keyword attribute="Data Prelude" context="#stay" String="prelude data" />
<keyword attribute="Class Prelude" context="#stay" String="prelude class" />
<keyword attribute="Class Prelude" context="#stay" String="class" />
<RegExpr attribute="Special" context="#stay" String="(::|=&gt;|\-&gt;|&lt;\-)" />
<AnyChar attribute="Special" context="#stay" String="∷⇒→←∀∃" />
@ -342,6 +367,51 @@
<context attribute="Function Infix" lineEndContext="#stay" name="infix">
<DetectChar attribute="Function Infix" context="#pop" char="`"/>
</context>
<context attribute="Import Statement" lineEndContext="#pop" name="import">
<keyword attribute="Keyword" context="#stay" String="import_keywords" />
<RegExpr attribute="Function" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z][a-zA-Z0-9_']*" />
<RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" />
<RegExpr attribute="Pragma" context="#stay" String="\{-#.*#-\}"/>
<RegExpr attribute="Comment" context="comments" String="\{-[^#]?" />
<RegExpr attribute="Comment" context="comment" String="--[^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:].*$" />
</context>
<context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs directive">
<Detect2Chars attribute="C2HS Directive" context="#pop" char="#" char1="}" />
<keyword attribute="Keyword" context="#stay" String="c2hs_keywords" />
<RegExpr attribute="Keyword" context="#stay" String="context" />
<RegExpr attribute="Keyword" context="#stay" String="call" />
<RegExpr attribute="Keyword" context="#stay" String="sizeof" />
<RegExpr attribute="Keyword" context="#stay" String="alignof" />
<RegExpr attribute="Keyword" context="c2hs fun" String="fun" />
<RegExpr attribute="Keyword" context="c2hs pointer" String="pointer" />
<RegExpr attribute="Keyword" context="c2hs enum" String="enum" />
<RegExpr attribute="Keyword" context="c2hs import" String="import" />
</context>
<context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs import">
<RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" />
<Detect2Chars attribute="C2HS Directive" context="#pop#pop" char="#" char1="}" />
</context>
<context attribute="C2HS Directive" lineEndContext="#pop" name="c2hs include">
<RegExpr attribute="Keyword" context="#stay" String="include" />
<RegExpr context="#stay" String="*.>$" />
</context>
<context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs pointer">
<keyword attribute="Keyword" context="#stay" String="c2hs_keywords" />
<RegExpr attribute="Keyword" context="#stay" String="newtype" />
<RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" />
<Detect2Chars attribute="C2HS Directive" context="#pop#pop" char="#" char1="}" />
</context>
<context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs fun">
<keyword attribute="Keyword" context="#stay" String="c2hs_keywords" />
<RegExpr attribute="Type" context="#stay" String="`[^']*'" />
<Detect2Chars attribute="C2HS Directive" context="#pop#pop" char="#" char1="}" />
</context>
<context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs enum">
<RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" />
<Detect2Chars attribute="C2HS Directive" context="#pop#pop" char="#" char1="}" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal" defStyleNum="dsNormal" spellChecking="false" />
@ -367,6 +437,8 @@
<itemData name="Function Infix" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="EnumFromTo" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="C2HS Directive" defStyleNum="dsString" spellChecking="false" />
</itemDatas>
</highlighting>
<general>

@ -0,0 +1,247 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->
<language name="PHP (HTML)" version="1.99" kateversion="2.4" section="Scripts" extensions="*.php;*.php3;*.wml;*.phtml;*.phtm;*.inc" mimetype="text/x-php4-src;text/x-php3-src;text/vnd.wap.wml;application/x-php" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">
<highlighting>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<IncludeRules context="FindHTML" />
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="&lt;!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="&lt;![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="&lt;!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="&lt;\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="&lt;style\b" insensitive="TRUE" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="&lt;script\b" insensitive="TRUE" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="&lt;pre\b" insensitive="TRUE" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="&lt;div\b" insensitive="TRUE" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="&lt;table\b" insensitive="TRUE" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="&lt;ul\b" insensitive="TRUE" beginRegion="ul" />
<RegExpr attribute="Element" context="El Open" String="&lt;ol\b" insensitive="TRUE" beginRegion="ol" />
<RegExpr attribute="Element" context="El Open" String="&lt;dl\b" insensitive="TRUE" beginRegion="dl" />
<RegExpr attribute="Element" context="El Open" String="&lt;&name;" />
<RegExpr attribute="Element" context="El Close" String="&lt;/pre\b" insensitive="TRUE" endRegion="pre" />
<RegExpr attribute="Element" context="El Close" String="&lt;/div\b" insensitive="TRUE" endRegion="div" />
<RegExpr attribute="Element" context="El Close" String="&lt;/table\b" insensitive="TRUE" endRegion="table" />
<RegExpr attribute="Element" context="El Close" String="&lt;/ul\b" insensitive="TRUE" endRegion="ul" />
<RegExpr attribute="Element" context="El Close" String="&lt;/ol\b" insensitive="TRUE" endRegion="ol" />
<RegExpr attribute="Element" context="El Close" String="&lt;/dl\b" insensitive="TRUE" endRegion="dl" />
<RegExpr attribute="Element" context="El Close" String="&lt;/&name;" />
<!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="FindEntityRefs" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&amp;&lt;" />
</context>
<context name="FindPEntityRefs" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" />
<AnyChar attribute="Error" context="#stay" String="&amp;%" />
</context>
<context name="FindAttributes" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Attribute" context="#stay" String="&name;" column="0"/>
<RegExpr attribute="Attribute" context="#stay" String="\s+&name;" />
<DetectChar attribute="Attribute" context="Value" char="=" />
</context>
<context name="FindDTDRules" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Doctype" context="Doctype Markupdecl" String="&lt;!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" />
</context>
<context name="Comment" attribute="Comment" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="--&gt;" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!-&gt;))+" />
</context>
<context name="CDATA" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]&gt;" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&amp;gt;" />
</context>
<context name="PI" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1="&gt;" endRegion="pi" />
</context>
<context name="Doctype" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Doctype" context="#pop" char="&gt;" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
</context>
<context name="Doctype Internal Subset" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" />
<IncludeRules context="FindDTDRules" />
<StringDetect attribute="Comment" context="Comment" String="&lt;!--" beginRegion="comment" />
<RegExpr attribute="Processing Instruction" context="PI" String="&lt;\?[\w:-]*" beginRegion="pi" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Doctype" context="#pop" char="&gt;" />
<DetectChar attribute="Value" context="Doctype Markupdecl DQ" char="&quot;" />
<DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="&apos;" />
</context>
<context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="#pop" char="&quot;" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="#pop" char="&apos;" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="El Open" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" />
<DetectChar attribute="Element" context="#pop" char="&gt;" />
<IncludeRules context="FindAttributes" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Element" context="#pop" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close 2" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Element" context="#pop#pop#pop" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close 3" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Element" context="#pop#pop#pop#pop" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="CSS" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" endRegion="style" />
<DetectChar attribute="Element" context="CSS content" char="&gt;" />
<IncludeRules context="FindAttributes" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="CSS content" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Element" context="El Close 2" String="&lt;/style\b" insensitive="TRUE" endRegion="style" />
<IncludeRules context="##CSS/PHP" includeAttrib="true"/>
</context>
<context name="JS" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" endRegion="script" />
<DetectChar attribute="Element" context="JS content" char="&gt;" />
<IncludeRules context="FindAttributes" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="JS content" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Element" context="El Close 2" String="&lt;/script\b" insensitive="TRUE" endRegion="script" />
<RegExpr attribute="Comment" context="JS comment close" String="//(?=.*&lt;/script\b)" insensitive="TRUE" />
<IncludeRules context="##JavaScript/PHP" includeAttrib="true"/>
</context>
<context name="JS comment close" attribute="Comment" lineEndContext="#pop">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Element" context="El Close 3" String="&lt;/script\b" insensitive="TRUE" endRegion="script" />
<IncludeRules context="##Alerts" />
</context>
<context name="Value" attribute="Other Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="Value DQ" char="&quot;" />
<DetectChar attribute="Value" context="Value SQ" char="&apos;" />
<DetectSpaces />
</context>
<context name="Value NQ" attribute="Other Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop">
<IncludeRules context="FindPHP" />
<IncludeRules context="FindEntityRefs" />
<RegExpr attribute="Value" context="#stay" String="/(?!&gt;)" />
<RegExpr attribute="Value" context="#stay" String="[^/&gt;&lt;&quot;&apos;\s]" />
</context>
<context name="Value DQ" attribute="Value" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="#pop#pop" char="&quot;" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="Value SQ" attribute="Value" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Value" context="#pop#pop" char="&apos;" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="FindPHP">
<RegExpr context="##PHP/PHP" String="&lt;\?(?:=|php)?" lookAhead="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Other Text" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="CDATA" defStyleNum="dsBaseN" bold="1" spellChecking="false" />
<itemData name="Processing Instruction" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false" />
<itemData name="Element" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Value" defStyleNum="dsString" color="#a00" spellChecking="false" />
<itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="Error" defStyleNum="dsError" spellChecking="false" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="multiLine" start="&lt;!--" end="--&gt;" />
</comments>
</general>
</language>
<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->

@ -4,7 +4,7 @@
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="HTML" version="1.99" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">
<language name="HTML" version="2.00" kateversion="2.5" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">
<highlighting>
<contexts>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Quake Script" version="1.02" kateversion="2.1" section="Scripts" extensions="*.cfg" mimetype="">
<language name="Quake Script" version="1.03" kateversion="2.5" section="Scripts" extensions="*.cfg" mimetype="">
<highlighting>
<list name="Commands">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="IDL" version="1.07" kateversion="2.4" section="Sources" extensions="*.idl" mimetype="text/x-idl-src">
<language name="IDL" version="1.08" kateversion="2.5" section="Sources" extensions="*.idl" mimetype="text/x-idl-src">
<highlighting>
<list name="keywords">
<item> any </item>

@ -18,7 +18,7 @@
Version: 1.0
This file contains the XML syntax highlighting description for the IBM
iSeries ILE RPG, for KATE, the KDE Advanced Editor.
iSeries ILE RPG, for KATE, the TDE Advanced Editor.
Based on information from IBM publication SC09-2508-05
Known problems:
@ -45,7 +45,7 @@
-->
<language name="ILERPG" version="1.05" kateversion="2.1" section="Sources" extensions="QRPG*.*;qrpg*.*" mimetype="text/x-ilerpg-src" casesensitive="0">
<language name="ILERPG" version="1.06" kateversion="2.5" section="Sources" extensions="QRPG*.*;qrpg*.*" mimetype="text/x-ilerpg-src" casesensitive="0">
<highlighting>
<list name="dkeywords">
<item> EXTPROC </item>

@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!-- author: Giancarlo Niccolai (giancarlo@niccolai.ws) -->
<!-- This file is released under GPL license 2.0 or any later version at your choice. -->
<language name="Inform" version="1.23" kateversion="2.3" section="Sources" extensions="*.inf;*.h" mimetype="text/x-inform-src" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL">
<language name="Inform" version="1.24" kateversion="2.5" section="Sources" extensions="*.inf;*.h" mimetype="text/x-inform-src" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL">
<highlighting>
<list name="keywords">
<item> if </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="INI Files" section="Configuration" extensions="*.ini;*.pls;*.kcfgc" mimetype="" version="1.1" kateversion="2.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL">
<language name="INI Files" section="Configuration" extensions="*.ini;*.pls;*.kcfgc" mimetype="" version="1.2" kateversion="2.5" author="Jan Janssen (medhefgo@web.de)" license="LGPL">
<highlighting>
<list name="keywords">

@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->
<language name="Jam" version="0.3" kateversion="2.3" section="Other" extensions="Jam*;*.jam" mimetype="text/x-jam;text/x-Jamfile;text/x-Jamrules;text/x-Jambase">
<language name="Jam" version="0.4" kateversion="2.5" section="Other" extensions="Jam*;*.jam" mimetype="text/x-jam;text/x-Jamfile;text/x-Jamrules;text/x-Jambase">
<!--
Changelog
0.2

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Java" version="1.20" kateversion="2.4" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
<language name="Java" version="1.22" kateversion="2.5" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
<highlighting>
<list name="java15">
<item> ACTIVE </item>
@ -142,7 +142,6 @@
<item> AncestorListener </item>
<item> AnnotatedElement </item>
<item> Annotation </item>
<item> Annotation </item>
<item> AnnotationFormatError </item>
<item> AnnotationTypeMismatchException </item>
<item> Any </item>
@ -3783,6 +3782,7 @@
<RegExpr attribute="Keyword" context="StaticImports" String="\b(import\s+static)\b" />
<RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b" />
<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*(/\*\s*\d+\s*\*/\s*)?[(])" />
<RegExpr attribute="Annotation" context="#stay" String="@[_\w][_\w\d]*" />
<RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" />
<DetectChar attribute="Symbol" context="InFunctionCall" char="("/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;+,-/.*&lt;=&gt;?[]|~^&#59;"/>
@ -3830,6 +3830,7 @@
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Annotation" defStyleNum="dsFunction"/>
<itemData name="Function" defStyleNum="dsFunction"/>
<itemData name="StaticImports" defStyleNum="dsKeyword" color="#800080" selColor="#FFFFFF" bold="0" italic="0"/>
<itemData name="Imports" defStyleNum="dsKeyword" color="#808000" selColor="#FFFFFF" bold="0" italic="0"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Javadoc" version="1.04" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
<language name="Javadoc" version="1.05" kateversion="2.5" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
<highlighting>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">

@ -0,0 +1,243 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Anders Lund <anders@alweb.dk> //-->
<!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //-->
<!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //-->
<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->
<language name="JavaScript/PHP" hidden="true" version="1.23" kateversion="2.5" section="Other" extensions=""
mimetype="" indenter="cstyle"
author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license="">
<highlighting>
<list name="keywords">
<item> break </item>
<item> case </item>
<item> catch </item>
<item> const </item>
<item> continue </item>
<item> debugger </item>
<item> default </item>
<item> delete </item>
<item> do </item>
<item> else </item>
<item> finally </item>
<item> for </item>
<item> function </item>
<item> if </item>
<item> in </item>
<item> instanceof </item>
<item> new </item>
<item> return </item>
<item> switch </item>
<item> this </item>
<item> throw </item>
<item> try </item>
<item> typeof </item>
<item> var </item>
<item> void </item>
<item> while </item>
<item> with </item>
</list>
<list name="reserved">
<item> class </item>
<item> enum </item>
<item> export </item>
<item> extends </item>
<item> import </item>
<item> super </item>
<!-- The following keywords are reserved only in strict-mode -->
<item> implements </item>
<item> interface </item>
<item> let </item>
<item> package </item>
<item> private </item>
<item> protected </item>
<item> public </item>
<item> static </item>
<item> yield </item>
</list>
<list name="primitives">
<item> Infinity </item>
<item> NaN </item>
<item> false </item>
<item> null </item>
<item> true </item>
<item> undefined </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1" />
<StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1" />
<Float attribute="Float" context="NoRegExp" />
<HlCOct attribute="Octal" context="NoRegExp" />
<HlCHex attribute="Hex" context="NoRegExp" />
<Int attribute="Decimal" context="NoRegExp" />
<AnyChar context="NoRegExp" String="])" />
<keyword attribute="Keyword" String="keywords" />
<keyword attribute="Reserved" String="reserved" />
<keyword attribute="Keyword" context="NoRegExp" String="primitives" />
<!--DetectIdentifier-->
<RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />
<!--DetectIdentifier-->
<RegExpr attribute="Object Member" context="NoRegExp" String="[a-zA-Z_$][\w$]*(?=\s*\()" />
<DetectChar context="Object Member" char="." />
<!--DetectIdentifier-->
<RegExpr context="NoRegExp" String="[a-zA-Z_$][\w$]*" />
<DetectChar attribute="String" context="String" char="&quot;" />
<DetectChar attribute="String" context="String SQ" char="'" />
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" />
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment" />
<DetectChar attribute="Regular Expression" context="(regex caret first check)" char="/" />
<DetectChar attribute="Symbol" context="Object" char="{" beginRegion="Brace" />
<DetectChar attribute="Symbol" context="Conditional Expression" char="?" />
<AnyChar attribute="Symbol" String=":!%&amp;+,-/.*&lt;=&gt;?|~^&#59;" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="Object Member">
<IncludeRules context="FindPHP" />
<DetectChar char="." />
<!--DetectIdentifier-->
<RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />
<!--DetectIdentifier-->
<RegExpr attribute="Object Member" String="[a-zA-Z_$][\w$]*" />
<!-- NoRegExp without DetectSpaces. TODO: code reuse without detecting spaces as object member? -->
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="/" />
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="*" />
<DetectChar context="#pop" char="/" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="NoRegExp">
<IncludeRules context="FindPHP" />
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="/" />
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="*" />
<DetectChar context="#pop" char="/" />
<DetectSpaces/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Conditional Expression">
<IncludeRules context="FindPHP" />
<DetectChar context="#pop" char=":" />
<IncludeRules context="Normal" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Object">
<IncludeRules context="FindPHP" />
<!-- Mostly required for define: in switch blocks -->
<keyword attribute="Keyword" String="keywords" />
<!--DetectIdentifier-->
<RegExpr attribute="JSON" String="[a-zA-Z_$][\w$]*\s*(?=:)" />
<DetectChar attribute="Symbol" char="}" endRegion="Brace" context="#pop" />
<IncludeRules context="Normal" />
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<IncludeRules context="FindPHP" />
<HlCStringChar attribute="Char" />
<LineContinue/>
<DetectChar attribute="String" context="#pop" char="&quot;" />
</context>
<context attribute="String" lineEndContext="#pop" name="String SQ">
<IncludeRules context="FindPHP" />
<HlCStringChar attribute="Char" />
<LineContinue/>
<DetectChar attribute="String" context="#pop" char="'" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<IncludeRules context="FindPHP" />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Multi/inline Comment">
<IncludeRules context="FindPHP" />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" />
</context>
<context attribute="Regular Expression" lineEndContext="#stay" name="Regular Expression">
<IncludeRules context="FindPHP" />
<RegExpr attribute="Regular Expression" context="#pop#pop" String="/\w*" />
<RegExpr attribute="Pattern Internal Operator" String="\{[\d, ]+\}" />
<RegExpr attribute="Pattern Internal Operator" String="\\[bB]" />
<RegExpr attribute="Pattern Character Class" String="\\[nrtvfDdSsWw]" />
<DetectChar attribute="Pattern Character Class" context="(charclass caret first check)" char="[" />
<RegExpr attribute="Pattern Internal Operator" String="\\." />
<RegExpr attribute="Pattern Internal Operator" String="\$(?=/)" />
<AnyChar attribute="Pattern Internal Operator" String="?+*()|" />
</context>
<context attribute="Pattern Character Class" lineEndContext="#stay" name="Regular Expression Character Class">
<IncludeRules context="FindPHP" />
<RegExpr String="\\[\[\]]" />
<RegExpr attribute="Pattern Internal Operator" String="\\." />
<DetectChar attribute="Pattern Character Class" context="#pop#pop" char="]" />
</context>
<context attribute="Pattern Internal Operator" lineEndContext="#pop" name="(regex caret first check)" fallthrough="true" fallthroughContext="Regular Expression">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Pattern Internal Operator" context="Regular Expression" char="^" />
</context>
<context attribute="Pattern Internal Operator" lineEndContext="#pop" name="(charclass caret first check)" fallthrough="true" fallthroughContext="Regular Expression Character Class">
<IncludeRules context="FindPHP" />
<DetectChar attribute="Pattern Internal Operator" context="Regular Expression Character Class" char="^" />
</context>
<context name="region_marker" attribute="Region Marker" lineEndContext="#pop" >
<IncludeRules context="FindPHP" />
<DetectIdentifier/>
<DetectSpaces/>
</context>
<context name="FindPHP">
<RegExpr context="##PHP/PHP" String="&lt;\?(?:=|php)?" lookAhead="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Reserved" defStyleNum="dsKeyword" italic="true" spellChecking="false" />
<itemData name="Function" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Objects" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Object Member" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Char" defStyleNum="dsChar" spellChecking="false" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Regular Expression" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Pattern Internal Operator" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Pattern Character Class" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />
<itemData name="JSON" defStyleNum="dsDataType" spellChecking="false" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->

@ -3,203 +3,172 @@
<!-- Author: Anders Lund <anders@alweb.dk> //-->
<!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //-->
<!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //-->
<language name="JavaScript" version="1.19" kateversion="2.4" section="Scripts" extensions="*.js;*.kwinscript"
<language name="JavaScript" version="1.23" kateversion="2.5" section="Scripts" extensions="*.js;*.kwinscript"
mimetype="text/x-javascript;application/x-javascript" indenter="cstyle"
author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license="">
<highlighting>
<list name="keywords">
<item> if </item>
<item> else </item>
<item> for </item>
<item> in </item>
<item> while </item>
<item> do </item>
<item> continue </item>
<item> break </item>
<item> with </item>
<item> try </item>
<item> catch </item>
<item> finally </item>
<item> switch </item>
<item> case </item>
<item> new </item>
<item> var </item>
<item> function </item>
<item> return </item>
<item> delete </item>
<item> true </item>
<item> false </item>
<item> void </item>
<item> throw </item>
<item> typeof </item>
<item> const </item>
<item> default </item>
<item> break </item>
<item> case </item>
<item> catch </item>
<item> const </item>
<item> continue </item>
<item> debugger </item>
<item> default </item>
<item> delete </item>
<item> do </item>
<item> else </item>
<item> finally </item>
<item> for </item>
<item> function </item>
<item> if </item>
<item> in </item>
<item> instanceof </item>
<item> new </item>
<item> return </item>
<item> switch </item>
<item> this </item>
<item> throw </item>
<item> try </item>
<item> typeof </item>
<item> var </item>
<item> void </item>
<item> while </item>
<item> with </item>
</list>
<list name="functions">
<item> escape </item>
<item> isFinite </item>
<item> isNaN </item>
<item> Number </item>
<item> parseFloat </item>
<item> parseInt </item>
<item> reload </item>
<item> taint </item>
<item> unescape </item>
<item> untaint </item>
<item> write </item>
</list>
<list name="objects">
<item>Anchor</item>
<item>Applet</item>
<item>Area</item>
<item>Array</item>
<item>Boolean</item>
<item>Button</item>
<item>Checkbox</item>
<item>Date</item>
<item>document</item>
<item>window</item>
<item>Image</item>
<item>FileUpload</item>
<item>Form</item>
<item>Frame</item>
<item>Function</item>
<item>Hidden</item>
<item>Link</item>
<item>MimeType</item>
<item>Math</item>
<item>Max</item>
<item>Min</item>
<item>Layer</item>
<item>navigator</item>
<item>Object</item>
<item>Password</item>
<item>Plugin</item>
<item>Radio</item>
<item>RegExp</item>
<item>Reset</item>
<item>Screen</item>
<item>Select</item>
<item>String</item>
<item>Text</item>
<item>Textarea</item>
<item>this</item>
<item>Window</item>
</list>
<list name="math">
<item> abs </item>
<item> acos </item>
<item> asin </item>
<item> atan </item>
<item> atan2 </item>
<item> ceil </item>
<item> cos </item>
<item> ctg </item>
<item> E </item>
<item> exp </item>
<item> floor </item>
<item> LN2 </item>
<item> LN10 </item>
<item> log </item>
<item> LOG2E </item>
<item> LOG10E </item>
<item> PI </item>
<item> pow </item>
<item> round </item>
<item> sin </item>
<item> sqrt </item>
<item> SQRT1_2 </item>
<item> SQRT2 </item>
<item> tan </item>
<list name="reserved">
<item> class </item>
<item> enum </item>
<item> export </item>
<item> extends </item>
<item> import </item>
<item> super </item>
<!-- The following keywords are reserved only in strict-mode -->
<item> implements </item>
<item> interface </item>
<item> let </item>
<item> package </item>
<item> private </item>
<item> protected </item>
<item> public </item>
<item> static </item>
<item> yield </item>
</list>
<list name="events">
<item>onAbort</item>
<item>onBlur</item>
<item>onChange</item>
<item>onClick</item>
<item>onError</item>
<item>onFocus</item>
<item>onLoad</item>
<item>onMouseOut</item>
<item>onMouseOver</item>
<item>onReset</item>
<item>onSelect</item>
<item>onSubmit</item>
<item>onUnload</item>
<list name="primitives">
<item> Infinity </item>
<item> NaN </item>
<item> false </item>
<item> null </item>
<item> true </item>
<item> undefined </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<DetectSpaces/>
<StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1"/>
<StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1"/>
<Float attribute="Float" context="#stay" />
<Int attribute="Decimal" context="#stay" />
<RegExpr attribute="JSON" context="#stay" String="\b[\w\.]+\b\s*(?=:)" />
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Function" context="#stay" String="functions" />
<keyword attribute="Objects" context="#stay" String="objects" />
<keyword attribute="Math" context="#stay" String="math" />
<keyword attribute="Events" context="#stay" String="events" />
<DetectChar context="ObjectMember" char="." />
<RegExpr attribute="Objects" context="ObjectMember" String="\b[\w\.]+(?=\.)" />
<DetectIdentifier/>
<DetectChar attribute="String" context="String" char="&quot;"/>
<DetectChar attribute="String Char" context="String 1" char="'"/>
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Normal Text" context="(Internal regex catch)" String="[=?:]" />
<RegExpr attribute="Normal Text" context="(Internal regex catch)" String="\(" />
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;+,-/.*&lt;=&gt;?[]|~^&#59;"/>
<DetectSpaces/>
<StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1" />
<StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1" />
<Float attribute="Float" context="NoRegExp" />
<HlCOct attribute="Octal" context="NoRegExp" />
<HlCHex attribute="Hex" context="NoRegExp" />
<Int attribute="Decimal" context="NoRegExp" />
<AnyChar context="NoRegExp" String="])" />
<keyword attribute="Keyword" String="keywords" />
<keyword attribute="Reserved" String="reserved" />
<keyword attribute="Keyword" context="NoRegExp" String="primitives" />
<!--DetectIdentifier-->
<RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />
<!--DetectIdentifier-->
<RegExpr attribute="Object Member" context="NoRegExp" String="[a-zA-Z_$][\w$]*(?=\s*\()" />
<DetectChar context="Object Member" char="." />
<!--DetectIdentifier-->
<RegExpr context="NoRegExp" String="[a-zA-Z_$][\w$]*" />
<DetectChar attribute="String" context="String" char="&quot;" />
<DetectChar attribute="String" context="String SQ" char="'" />
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" />
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment" />
<DetectChar attribute="Regular Expression" context="(regex caret first check)" char="/" />
<DetectChar attribute="Symbol" context="Object" char="{" beginRegion="Brace" />
<DetectChar attribute="Symbol" context="Conditional Expression" char="?" />
<AnyChar attribute="Symbol" String=":!%&amp;+,-/.*&lt;=&gt;?|~^&#59;" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="Object Member">
<DetectChar char="." />
<!--DetectIdentifier-->
<RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />
<!--DetectIdentifier-->
<RegExpr attribute="Object Member" String="[a-zA-Z_$][\w$]*" />
<!-- NoRegExp without DetectSpaces. TODO: code reuse without detecting spaces as object member? -->
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="/" />
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="*" />
<DetectChar context="#pop" char="/" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="NoRegExp">
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="/" />
<Detect2Chars context="#pop" lookAhead="true" char="/" char1="*" />
<DetectChar context="#pop" char="/" />
<DetectSpaces/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Conditional Expression">
<DetectChar context="#pop" char=":" />
<IncludeRules context="Normal" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Object">
<!-- Mostly required for define: in switch blocks -->
<keyword attribute="Keyword" String="keywords" />
<!--DetectIdentifier-->
<RegExpr attribute="JSON" String="[a-zA-Z_$][\w$]*\s*(?=:)" />
<DetectChar attribute="Symbol" char="}" endRegion="Brace" context="#pop" />
<IncludeRules context="Normal" />
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<DetectIdentifier/>
<HlCStringChar attribute="String Char" context="#stay"/>
<LineContinue attribute="String" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
<HlCStringChar attribute="Char" />
<LineContinue/>
<DetectChar attribute="String" context="#pop" char="&quot;" />
</context>
<context attribute="String Char" lineEndContext="#pop" name="String 1">
<DetectIdentifier/>
<HlCStringChar attribute="String Char" context="#stay"/>
<LineContinue attribute="String" context="#stay"/>
<DetectChar attribute="String Char" context="#pop" char="'"/>
<context attribute="String" lineEndContext="#pop" name="String SQ">
<HlCStringChar attribute="Char" />
<LineContinue/>
<DetectChar attribute="String" context="#pop" char="'" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<IncludeRules context="##Modelines" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Multi/inline Comment">
<IncludeRules context="##Alerts" />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<IncludeRules context="##Modelines" />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" />
</context>
<context attribute="Regular Expression" lineEndContext="#stay" name="Regular Expression">
<RegExpr attribute="Regular Expression" context="#pop#pop#pop" String="/[ig]{0,2}" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\{[\d, ]+\}" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\[bB]" />
<RegExpr attribute="Pattern Character Class" context="#stay" String="\\[nrtvfDdSsWw]" />
<RegExpr attribute="Regular Expression" context="#pop#pop" String="/\w*" />
<RegExpr attribute="Pattern Internal Operator" String="\{[\d, ]+\}" />
<RegExpr attribute="Pattern Internal Operator" String="\\[bB]" />
<RegExpr attribute="Pattern Character Class" String="\\[nrtvfDdSsWw]" />
<DetectChar attribute="Pattern Character Class" context="(charclass caret first check)" char="[" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\." />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=/)" />
<AnyChar attribute="Pattern Internal Operator" context="#stay" String="?+*()|" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="(Internal regex catch)" fallthrough="true" fallthroughContext="#pop">
<RegExpr attribute="Normal Text" context="#stay" String="\s*" />
<RegExpr attribute="Regular Expression" context="#pop" String="//(?=;)" />
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" />
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" />
<DetectChar attribute="Regular Expression" context="(regex caret first check)" char="/" />
<RegExpr attribute="Pattern Internal Operator" String="\\." />
<RegExpr attribute="Pattern Internal Operator" String="\$(?=/)" />
<AnyChar attribute="Pattern Internal Operator" String="?+*()|" />
</context>
<context attribute="Pattern Character Class" lineEndContext="#stay" name="Regular Expression Character Class">
<RegExpr attribute="Pattern Character Class" context="#stay" String="\\[\[\]]" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\." />
<RegExpr String="\\[\[\]]" />
<RegExpr attribute="Pattern Internal Operator" String="\\." />
<DetectChar attribute="Pattern Character Class" context="#pop#pop" char="]" />
</context>
<context attribute="Pattern Internal Operator" lineEndContext="#pop" name="(regex caret first check)" fallthrough="true" fallthroughContext="Regular Expression">
@ -210,37 +179,32 @@
</context>
<context name="region_marker" attribute="Region Marker" lineEndContext="#pop" >
<DetectIdentifier />
<DetectSpaces />
</context>
<context name="ObjectMember" attribute="Normal Text" lineEndContext="#stay">
<DetectChar context="#stay" char="." />
<DetectIdentifier attribute="Object Member" />
<DetectSpaces context="#pop" />
<AnyChar lookAhead="true" context="#pop" String="(){}:!%&amp;+,-/.*&lt;=&gt;?[]|~^&#59;"/>
<DetectIdentifier/>
<DetectSpaces/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Function" defStyleNum="dsFunction" spellChecking="false"/>
<itemData name="Objects" defStyleNum="dsKeyword" color="#008000" selColor="#00ffff" bold="0" italic="0" spellChecking="false"/>
<itemData name="Object Member" defStyleNum="dsFunction" spellChecking="false"/>
<itemData name="Math" defStyleNum="dsKeyword" color="#DBA716" selColor="#00ffff" bold="0" italic="0" spellChecking="false"/>
<itemData name="Events" defStyleNum="dsKeyword" color="#F766D5" selColor="#00ffff" bold="0" italic="0" spellChecking="false"/>
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Regular Expression" defStyleNum="dsOthers" spellChecking="false"/>
<itemData name="Pattern Internal Operator" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Pattern Character Class" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
<itemData name="JSON" defStyleNum="dsDataType" spellChecking="false"/>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Reserved" defStyleNum="dsKeyword" italic="true" spellChecking="false" />
<itemData name="Function" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Objects" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Object Member" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Char" defStyleNum="dsChar" spellChecking="false" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Regular Expression" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Pattern Internal Operator" defStyleNum="dsFloat" spellChecking="false" />
<itemData name="Pattern Character Class" defStyleNum="dsBaseN" spellChecking="false" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />
<itemData name="JSON" defStyleNum="dsDataType" spellChecking="false" />
</itemDatas>
</highlighting>
<general>

@ -12,7 +12,7 @@
** http://tools.ietf.org/html/rfc4627
***************************************************************************
-->
<language name="JSON" section="Markup" version="1.2" kateversion="2.3" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL">
<language name="JSON" section="Markup" version="1.3" kateversion="2.5" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL">
<highlighting>
<list name="Constants">
<item>null</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language version="1.02" kateversion="2.4" name="JSP" section="Markup" extensions="*.jsp;*.JSP" mimetype="text/html" casesensitive="false" author="Rob Martin (rob@gamepimp.com)" license="LGPL">
<language version="1.03" kateversion="2.5" name="JSP" section="Markup" extensions="*.jsp;*.JSP" mimetype="text/html" casesensitive="false" author="Rob Martin (rob@gamepimp.com)" license="LGPL">
<highlighting>
<list name="java-1.4.2-classes">

@ -0,0 +1,291 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
====================================================================
Julia syntax highlighting file for the TDE editors Kate and Kwrite
====================================================================
This was adapted from the Matlab syntax highlighting file
Most of this XML file is straightforward. Only the character ' (&apos;)
needs nontrivial treatment, since it is both a postfix operator indicating
complex conjugate transpose (adjoint) and a character delimiter. It is an
adjoint operator in the following positions:
1) immediately after an identifier (variable, function, but not keyword)
2) immediately after a number literal
3) immediately after the closing parenthesis ), ] and }
4) immediately after a simple transpose operator .'
5) immediately after another adjoint operator '
Otherwise it is a character delimiter.
This is implemented using look-ahead regexps. If one of the entities in the
above cases 1-4 (identifier, number literal, ...) matches and look-ahead
shows that it is followed by a ', the entity is highlighted and control is
passed to the special context _adjoint, whose sole purpose is to correctly
highlight a series of ' (thus covering case 5 as well). _adjoint immediately
returns to the default context _normal.
Author: Timothy E. Holy, Washington University in St. Louis
-->
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Julia" section="Sources" version="0.3" kateversion="2.5" extensions="*.jl" casesensitive="1" priority="5" license="MIT">
<highlighting>
<list name="block_begin">
<item> begin </item>
<item> do </item>
<item> for </item>
<item> function </item>
<item> if </item>
<item> let </item>
<item> quote </item>
<item> try </item>
<item> type </item>
<item> while </item>
</list>
<list name="block_eb">
<item> catch </item>
<item> else </item>
<item> elseif </item>
</list>
<list name="block_end">
<item> end </item>
</list>
<list name="keywords">
<item> abstract </item>
<item> bitstype </item>
<item> break </item>
<item> ccall </item>
<item> const </item>
<item> continue </item>
<item> export </item>
<item> global </item>
<item> import </item>
<item> in </item>
<item> local </item>
<item> macro </item>
<item> module </item>
<item> return </item>
<item> typealias </item>
</list>
<list name="types">
<item> AbstractArray </item>
<item> AbstractMatrix </item>
<item> AbstractVector </item>
<item> Any </item>
<item> Array </item>
<item> ASCIIString </item>
<item> Associative </item>
<item> Bool </item>
<item> ByteString </item>
<item> Char </item>
<item> Complex </item>
<item> Complex64 </item>
<item> Complex128 </item>
<item> ComplexPair </item>
<item> DArray </item>
<item> Dict </item>
<item> Exception </item>
<item> Expr </item>
<item> Float </item>
<item> Float32 </item>
<item> Float64 </item>
<item> Function </item>
<item> ObjectIdDict </item>
<item> Int </item>
<item> Int8 </item>
<item> Int16 </item>
<item> Int32 </item>
<item> Int64 </item>
<item> Integer </item>
<item> IntSet </item>
<item> IO </item>
<item> IOStream </item>
<item> Matrix </item>
<item> Nothing </item>
<item> None </item>
<item> NTuple </item>
<item> Number </item>
<item> Ptr </item>
<item> Range </item>
<item> Range1 </item>
<item> Ranges </item>
<item> Rational </item>
<item> Real </item>
<item> Regex </item>
<item> RegexMatch </item>
<item> Set </item>
<item> Signed </item>
<item> StridedArray </item>
<item> StridedMatrix </item>
<item> StridedVecOrMat </item>
<item> StridedVector </item>
<item> String </item>
<item> SubArray </item>
<item> SubString </item>
<item> Symbol </item>
<item> Task </item>
<item> Tuple </item>
<item> Type </item>
<item> Uint </item>
<item> Uint8 </item>
<item> Uint16 </item>
<item> Uint32 </item>
<item> Uint64 </item>
<item> Union </item>
<item> Unsigned </item>
<item> UTF8String </item>
<item> VecOrMat </item>
<item> Vector </item>
<item> Void </item>
<item> WeakRef </item>
</list>
<contexts>
<context name="_normal" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<!-- Blocks -->
<keyword context="#stay" attribute="Keyword" String="block_begin"
beginRegion="block" />
<keyword context="#stay" attribute="Keyword" String="block_eb"
endRegion="block" beginRegion="block" />
<keyword context="#stay" attribute="Keyword" String="block_end"
endRegion="block" />
<StringDetect String="#BEGIN" context="region_marker" attribute="FoldingComment" beginRegion="user_region" />
<StringDetect String="#END" context="region_marker" attribute="FoldingComment" endRegion="user_region" />
<!-- Keywords, types, and comments -->
<keyword context="#stay" attribute="Keyword" String="keywords" />
<keyword context="#stay" attribute="Data Type" String="types" />
<DetectChar char="#" context="1-comment" attribute="Comment"/>
<!-- Lists and arrays -->
<!-- <DetectChar char="(" context="nested" beginRegion="nested" attribute="Delimiter" />
<DetectChar char="[" context="squared" beginRegion="squared" attribute="Delimiter" />
<DetectChar char="{" context="curly" beginRegion="curly" attribute="Delimiter" /> -->
<!-- Strings -->
<DetectChar attribute="String" context="String" char="&quot;"/>
<!-- Multi-character operators -->
<StringDetect context="#stay" attribute="Operator" String="..."/>
<StringDetect context="#stay" attribute="Operator" String="::"/>
<StringDetect context="#stay" attribute="Operator" String="&gt;&gt;&gt;"/>
<StringDetect context="#stay" attribute="Operator" String="&gt;&gt;"/>
<StringDetect context="#stay" attribute="Operator" String="&lt;&lt;"/>
<StringDetect context="#stay" attribute="Operator" String="=="/>
<StringDetect context="#stay" attribute="Operator" String="!="/>
<StringDetect context="#stay" attribute="Operator" String="&lt;="/>
<StringDetect context="#stay" attribute="Operator" String="&gt;="/>
<StringDetect context="#stay" attribute="Operator" String="&amp;&amp;"/>
<StringDetect context="#stay" attribute="Operator" String="||"/>
<StringDetect context="#stay" attribute="Operator" String=".*"/>
<StringDetect context="#stay" attribute="Operator" String=".^"/>
<StringDetect context="#stay" attribute="Operator" String="./"/>
<StringDetect context="#stay" attribute="Operator" String=".'"/>
<StringDetect context="#stay" attribute="Operator" String="+="/>
<StringDetect context="#stay" attribute="Operator" String="-="/>
<StringDetect context="#stay" attribute="Operator" String="*="/>
<StringDetect context="#stay" attribute="Operator" String="/="/>
<StringDetect context="#stay" attribute="Operator" String="&amp;="/>
<StringDetect context="#stay" attribute="Operator" String="|="/>
<StringDetect context="#stay" attribute="Operator" String="$="/>
<StringDetect context="#stay" attribute="Operator" String="&gt;&gt;&gt;="/>
<StringDetect context="#stay" attribute="Operator" String="&gt;&gt;="/>
<StringDetect context="#stay" attribute="Operator" String="&lt;&lt;="/>
<!-- Look-ahead for adjoint ' after variable, number literal, closing braces and .' -->
<RegExpr context="_adjoint" attribute="Variable" String="[a-zA-Z]\w*(?=')" />
<RegExpr context="_adjoint" attribute="Float" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?(im)?(?=')" />
<RegExpr context="_adjoint" attribute="Delimiter" String="[\)\]}](?=')" />
<RegExpr context="_adjoint" attribute="Operator" String="\.'(?=')" />
<!-- If ' is not the adjoint operator, it starts a character or an unterminated char -->
<RegExpr context="#stay" attribute="Char" String="'[^']*(''[^']*)*'(?=[^']|$)" />
<RegExpr context="#stay" attribute="Incomplete Char" String="'[^']*(''[^']*)*" />
<!-- Identifiers, numbers and braces -->
<!-- We can't use HlCHex, Int, and Float because we need to allow the "im" at the end of complex numbers -->
<DetectIdentifier context="#stay" attribute="Variable" />
<RegExpr context="#stay" attribute="Hex" String="0x[0-9a-fA-F]+(im)?" />
<RegExpr context="#stay" attribute="Float" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?(im)?" />
<AnyChar context="#stay" attribute="Delimiter" String="()[]{}"/>
<!-- Single-character operators -->
<AnyChar context="#stay" attribute="Operator" String="*+-/\&amp;|&lt;&gt;~$!^=,;:@"/>
</context>
<!-- Context for user block (#BEGIN...#END) -->
<context name="region_marker" lineEndContext="#pop" attribute="FoldingComment" >
<IncludeRules context="1-comment" />
</context>
<!-- Contexts entered after beginning a list or array -->
<context name="nested" attribute="Normal text" lineEndContext="#stay">
<DetectChar char=")" context="#pop" endRegion="nested" attribute="Delimiter" />
</context>
<context name="squared" attribute="Normal text" lineEndContext="#stay">
<DetectChar char="]" context="#pop" endRegion="squared" attribute="Delimiter" />
</context>
<context name="curly" attribute="Normal text" lineEndContext="#stay">
<DetectChar char="}" context="#pop" endRegion="curly" attribute="Delimiter" />
</context>
<!-- Context entered after encountering an ' adjoint operator -->
<context name="_adjoint" attribute="Operator" lineEndContext="#pop">
<RegExpr context="#pop" attribute="Operator" String="'+" />
</context>
<!-- Context entered after encountering an " (string) -->
<context attribute="String" lineEndContext="#pop" name="String">
<DetectSpaces />
<DetectIdentifier />
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
</context>
<!-- 1-line comment: #pop@EOL -->
<context name="1-comment" lineEndContext="#pop" attribute="Comment">
<DetectSpaces />
<DetectIdentifier />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Variable" defStyleNum="dsNormal" />
<itemData name="Operator" defStyleNum="dsNormal"/>
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="Float" defStyleNum="dsFloat" />
<itemData name="Hex" defStyleNum="dsBaseN" />
<itemData name="Delimiter" defStyleNum="dsNormal" />
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="Incomplete Char" defStyleNum="dsChar"/>
<itemData name="System" defStyleNum="dsBaseN"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="FoldingComment" defStyleNum="dsComment" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
<keywords casesensitive="1" weakDeliminator=""/>
</general>
</language>
<!-- It's recommended to put the following line in the Variables field under Settings->Configure Kate->Open/Save->Modes&Filetypes -->
<!-- kate: space-indent on; indent-width 4; mixed-indent off; indent-mode cstyle; -->

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="KBasic" version="1.02" kateversion="2.1" section="Sources" extensions="*.kbasic" mimetype="text/x-kbasic-src">
<language name="KBasic" version="1.03" kateversion="2.5" section="Sources" extensions="*.kbasic" mimetype="text/x-kbasic-src">
<highlighting>
<list name="keywords">
<item> For </item>

@ -5,10 +5,7 @@
modified (c) 2005 Dominik Haumann <dhdev@gmx.de>
This file describes the XML format used for syntax highlight descriptions
for the Kate text editor (http://kate.kde.org), which is part of the KDE
desktop environment (http://www.kde.org).
You'll find the "Writing a Kate Highlighting XML File HOWTO" at
http://kate.kde.org/doc/hlhowto.php
for the Kate text editor, which is part of the Trinity Desktop Environment.
This format is identified using the SYSTEM identifier
SYSTEM "language.dtd"
@ -26,9 +23,9 @@
It's also possible to use the (much faster) xmllint which comes with the
GNOME (oops:-) XML Library libxml2:
xmllint - -dtdvalid language.dtd yourSyntax.xml
(don't use a space between the two - That's just because XML
comments don't allow that:-(
xmllint - -dtdvalid language.dtd yourSyntax.xml
(don't use a space between the two - That's just because XML
comments don't allow that:-(
To use your syntax file, copy it to .kde/share/apps/katepart/syntax/ in
your home directory. You have to open a new instance of kwrite/kate to use

@ -1,17 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="LaTeX" version="1.48" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >
<language name="LaTeX" version="1.56" section="Markup" kateversion="2.5" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >
<highlighting>
<contexts>
<!-- Normal text -->
<context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">
<RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block" />
<RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEndEnvironment" />
<RegExpr String="\\(cite|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
<RegExpr String="\\(cite|citet|citep|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
<RegExpr String="\\(documentclass|includegraphics|include|usepackage|bibliography|bibliographystyle)(?=[^a-zA-Z])" attribute="Structure Keyword" context="FancyLabel"/>
<RegExpr String="\\(cites|Cites|parencites|Parencites|autocites|Autocites|supercites|footcites|Footcites)(?=[^a-zA-Z])" attribute="Structure" context="FancyLabel"/>
<RegExpr String="\\(cite|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
<RegExpr String="\\(cite|citet|citep|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
<RegExpr String="\\(subref\*?|cref\*?|label|pageref|autoref|ref|vpageref|vref|pagecite|eqref)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
<RegExpr String="\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\*?\s*(?=[\{\[])" attribute="Structure" context="Sectioning"/>
<RegExpr String="\\(input|hspace|hspace\*|vspace|vspace\*|rule|special|setlength|newboolean|setboolean|setcounter|geometry|textcolor|definecolor|column)(?=[^a-zA-Z])" attribute="Keyword" context="SpecialCommand"/>
<RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Keyword" context="Footnoting"/>
<RegExpr String="\\(renewcommand|providenewcommand|newcommand)\*?(?=[^a-zA-Z])" attribute="Keyword" context="NewCommand"/>
<RegExpr String="\\(e|g|x)?def(?=[^a-zA-Z])" attribute="Keyword" context="DefCommand"/>
@ -96,7 +98,8 @@
<!-- LaTeX commands \newcommand and \renewcommand -->
<context name="NewCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">
<RegExpr String="\s*\{\s*\\[a-zA-Z]+\s*\}(\[\d\](\[[^\]]*\])?)?\{" attribute="Normal Text" context="CommandParameterStart"/>
<RegExpr String="\s*\{\s*" attribute="Normal Text" context="LabelParameter"/>
<RegExpr String="\s*(\[\d\](\[[^\]]*\])?)?\{" attribute="Normal Text" context="LabelParameter"/>
<DetectChar char="}" attribute="Error" context="#pop"/>
</context>
@ -123,7 +126,9 @@
<!-- LaTeX command in text mode -->
<context name="ContrSeq" attribute="Keyword" lineEndContext="#pop">
<StringDetect String="verb*" attribute="Keyword" context="Verb"/>
<RegExpr String="(Verb|verb|lstinline)(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/>
<RegExpr String="(Verb|verb)(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/>
<RegExpr String="(lstinline)(?=[^a-zA-Z])" attribute="Keyword" context="Lstinline"/>
<RegExpr String="mint(?=[^a-zA-Z])" attribute="Keyword" context="MintParam"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="[a-zA-Z@]+(\+?|\*{0,3})" attribute="Keyword" context="#pop"/>
<RegExpr String="[^a-zA-Z]" attribute="Keyword" context="#pop" />
@ -131,6 +136,13 @@
<context name="ToEndOfLine" attribute="Normal Text" lineEndContext="#pop">
</context>
<!-- \mint command with parameter-->
<context name="MintParam" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay"/>
<DetectChar char="}" attribute="Normal Text" context="Verb"/>
<DetectChar char="]" attribute="Normal Text" context="Verb"/>
</context>
<!-- verb command -->
<context name="Verb" attribute="Verbatim" lineEndContext="#pop#pop" >
<RegExpr String="(.)" attribute="Normal Text" dynamic="true" context="VerbEnd" />
@ -141,6 +153,21 @@
<RegExpr String="[^%1\xd7]*" attribute="Verbatim" context="#stay" dynamic="true" />
</context>
<!-- lstinline command, different from verb as it takes options -->
<context name="Lstinline" attribute="Verbatim" lineEndContext="#pop#pop" >
<RegExpr String="\s*\[\s*" attribute="Normal Text" context="FancyLabelOption"/>
<RegExpr String="\s*\{\s*" attribute="Normal Text" context="LstinlineParameter"/>
<RegExpr String="(.)" attribute="Normal Text" dynamic="true" context="LstinlineEnd" />
</context>
<context name="LstinlineEnd" attribute="Verbatim" lineEndContext="#pop#pop#pop" dynamic="true" >
<StringDetect String="%1" attribute="Normal Text" context="#pop#pop#pop" dynamic="true" />
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="[^%1\xd7]*" attribute="Verbatim" context="#stay" dynamic="true" />
</context>
<context name="LstinlineParameter" attribute="Verbatim" lineEndContext="#stay">
<RegExpr String="\s*\}\s*" attribute="Normal Text" context="#pop#pop#pop"/>
</context>
<!-- label -->
<context name="Label" attribute="Normal Text" lineEndContext="#stay">
<RegExpr String="\s*\{\s*" attribute="Normal Text" context="LabelParameter"/>
@ -165,13 +192,26 @@
<!-- labels from biblatex commands -->
<context name="FancyLabel" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">
<RegExpr String="\s*\{\s*" attribute="Normal Text" context="FancyLabelParameter"/>
<RegExpr String="\s*\[\s*" attribute="Normal Text" context="LabelOption"/>
<RegExpr String="\s*\[\s*" attribute="Normal Text" context="FancyLabelOption"/>
<RegExpr String="\s*\(\s*" attribute="Normal Text" context="FancyLabelRoundBrackets"/>
</context>
<context name="FancyLabelParameter" attribute="Environment" lineEndContext="#stay">
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="\s*\}\s*" attribute="Normal Text" context="#pop"/>
<StringDetect String="\(" attribute="Math" context="MathMode" />
<DetectChar char="\" attribute="Keyword" context="ContrSeq"/>
<DetectChar char="$" attribute="Math" context="MathMode" />
<DetectChar char="%" attribute="Comment" context="Comment"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="\s*\}\s*" attribute="Normal Text" context="#pop"/>
</context>
<context name="FancyLabelOption" attribute="Option Text" lineEndContext="#stay">
<StringDetect String="\(" attribute="Math" context="MathMode" />
<DetectChar char="\" attribute="Keyword" context="ContrSeq"/>
<DetectChar char="$" attribute="Math" context="MathMode" />
<DetectChar char="%" attribute="Comment" context="Comment"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="\s*\]\s*" attribute="Normal Text" context="#pop"/>
</context>
<context name="FancyLabelRoundBrackets" attribute="Normal Text" lineEndContext="#stay">
@ -183,6 +223,20 @@
<RegExpr String="\s*\)\s*" attribute="Normal Text" context="#pop"/>
</context>
<!-- Special commands -->
<context name="SpecialCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">
<RegExpr String="\s*\{\s*" attribute="Normal Text" context="SpecialCommandParameterOption"/>
</context>
<context name="SpecialCommandParameterOption" attribute="Option Text" lineEndContext="#stay">
<StringDetect String="\(" attribute="Math" context="MathMode" />
<DetectChar char="\" attribute="Keyword" context="ContrSeq"/>
<DetectChar char="$" attribute="Math" context="MathMode" />
<DetectChar char="%" attribute="Comment" context="Comment"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="\s*\}\s*" attribute="Normal Text" context="#pop"/>
</context>
<!-- end of an environment -->
<context name="FindEndEnvironment" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="{" attribute="Normal Text" context="EndEnvironment"/>
@ -210,11 +264,13 @@
<!-- filter the environment name and check the type -->
<context name="BeginEnvironment" attribute="Environment" lineEndContext="#stay">
<RegExpr String="(lstlisting|(B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/>
<StringDetect String="lstlisting" attribute="Environment" context="ListingsEnvParam"/>
<StringDetect String="minted" attribute="Environment" context="MintedEnvParam"/>
<RegExpr String="((B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/>
<RegExpr String="(verbatim|boxedverbatim)" attribute="Environment" context="VerbatimEnv"/>
<RegExpr String="comment" attribute="Environment" context="CommentEnv"/>
<RegExpr String="(alignat|xalignat|xxalignat)" attribute="Environment" context="MathEnvParam"/>
<RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix)" attribute="Environment" context="MathEnv"/>
<RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix|cases)" attribute="Environment" context="MathEnv"/>
<RegExpr String="(tabularx|tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)" attribute="Environment" context="TabEnv"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="[a-zA-Z]" attribute="Environment" context="LatexEnv"/>
@ -244,16 +300,62 @@
<DetectChar char="]" attribute="Normal Text" context="Verbatim"/>
</context>
<!-- environment type 4: listings environment with optional parameter and HL switching-->
<context name="ListingsEnvParam" attribute="Normal Text" fallthrough="true" fallthroughContext="Verbatim" lineEndContext="#stay">
<Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay" />
<RegExpr String="language\s*=\s*(?=[^,]+)" minimal="true" attribute="Normal Text" context="HighlightningSelector"/>
<DetectChar char="}" attribute="Normal Text" context="Verbatim"/>
<DetectChar char="]" attribute="Normal Text" context="Verbatim"/>
</context>
<!-- environment type 5: minted environment with optional and HL switching -->
<context name="MintedEnvParam" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay" />
<Detect2Chars char="}" char1="{" attribute="Normal Text" context="HighlightningSelector"/>
<Detect2Chars char="]" char1="{" attribute="Normal Text" context="HighlightningSelector"/>
<DetectChar char="}" attribute="Normal Text" context="Verbatim"/>
</context>
<!-- Selector for different highlightning schemes, in case the language is not implemented we pop and thus fallback to verbatim -->
<context name="HighlightningSelector" attribute="Normal Text" lineEndContext="#stay">
<StringDetect String="C++" insensitive="true" context="HighlightningBeginC++"/>
<StringDetect String="Python" insensitive="true" context="HighlightningBeginPython"/>
<RegExpr String=".*(?=\}|\])" context="#pop"/>
</context>
<context name="HighlightningCommon" attribute="Normal Text" lineEndContext="#stay">
<RegExpr String="\\end\s*\{(lstlisting|minted)\*?\}" attribute="Structure" lookAhead="true" context="#pop#pop#pop#pop#pop#pop"/>
</context>
<context name="HighlightningBeginC++" attribute="Normal Text" lineEndContext="#stay">
<!-- Eat the trailing characters including } or ] after the language specification -->
<RegExpr String=".*(\}|\])" context="HighlightningC++"/>
</context>
<context name="HighlightningC++" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="HighlightningCommon"/>
<IncludeRules context="##C++" includeAttrib="true"/>
</context>
<context name="HighlightningBeginPython" attribute="Normal Text" lineEndContext="#stay">
<RegExpr String=".*(\}|\])" context="HighlightningPython"/>
</context>
<context name="HighlightningPython" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="HighlightningCommon"/>
<IncludeRules context="##Python"/>
</context>
<!-- parse verbatim text -->
<context name="Verbatim" attribute="Verbatim" lineEndContext="#stay">
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="\\end(?=\s*\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\*?\})" attribute="Structure" context="VerbFindEnd"/>
<RegExpr String="\\end(?=\s*\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim|minted)\*?\})" attribute="Structure" context="VerbFindEnd"/>
</context>
<!-- end of verbatim environment -->
<context name="VerbFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/>
<RegExpr String="(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\*?" attribute="Environment" context="#stay"/>
<RegExpr String="(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim|minted)\*?" attribute="Environment" context="#stay"/>
<DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/>
</context>
@ -321,7 +423,7 @@
<!-- end of math environment -->
<context name="MathFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/>
<RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix)\*?" attribute="Environment" context="#stay"/>
<RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix|cases)\*?" attribute="Environment" context="#stay"/>
<DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/>
</context>
@ -446,8 +548,9 @@
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Option Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Comment" defStyleNum="dsComment" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsAlert" spellChecking="false"/>
<itemData name="Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF" bold="0" italic="0" spellChecking="false"/>
<itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0" spellChecking="false"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="LDIF" version="1.02" kateversion="2.4" section="Database" extensions="*.ldif" mimetype="application/directory" author="Andreas Hochsteger (e9625392@student.tuwien.ac.at)" license="">
<language name="LDIF" version="1.03" kateversion="2.5" section="Database" extensions="*.ldif" mimetype="application/directory" author="Andreas Hochsteger (e9625392@student.tuwien.ac.at)" license="">
<highlighting>
<list name="attributetypes">
<item>IPPhone</item>

@ -0,0 +1,674 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="LessCSS" version="0.2" kateversion="2.5" section="Markup" extensions="*.less" indenter="cstyle" author="Massimiliano Torromeo (massimiliano.torromeo@gmail.com)" license="LGPL">
<highlighting>
<list name="properties">
<!-- CSS2 -->
<item> azimuth </item>
<item> background </item>
<item> background-attachment </item>
<item> background-color </item>
<item> background-image </item>
<item> background-position </item>
<item> background-repeat </item>
<item> border </item>
<item> border-bottom </item>
<item> border-bottom-color </item>
<item> border-bottom-style </item>
<item> border-bottom-width </item>
<item> border-collapse </item>
<item> border-color </item>
<item> border-left </item>
<item> border-left-color </item>
<item> border-left-style </item>
<item> border-left-width </item>
<item> border-right </item>
<item> border-right-color </item>
<item> border-right-style </item>
<item> border-right-width </item>
<item> border-spacing </item>
<item> border-style </item>
<item> border-top </item>
<item> border-top-color </item>
<item> border-top-style </item>
<item> border-top-width </item>
<item> border-width </item>
<item> bottom </item>
<item> caption-side </item>
<item> clear </item>
<item> clip </item>
<item> color </item>
<item> content </item>
<item> counter-increment </item>
<item> counter-reset </item>
<item> cue </item>
<item> cue-after </item>
<item> cue-before </item>
<item> cursor </item>
<item> direction </item>
<item> display </item>
<item> elevation </item>
<item> empty-cells </item>
<item> float </item>
<item> font </item>
<item> font-family </item>
<item> font-size </item>
<item> font-size-adjust </item>
<item> font-stretch </item>
<item> font-style </item>
<item> font-variant </item>
<item> font-weight </item>
<item> height </item>
<item> left </item>
<item> letter-spacing </item>
<item> line-height </item>
<item> list-style </item>
<item> list-style-image </item>
<item> list-style-keyword </item>
<item> list-style-position </item>
<item> list-style-type </item>
<item> margin </item>
<item> margin-bottom </item>
<item> margin-left </item>
<item> margin-right </item>
<item> margin-top </item>
<item> marker-offset </item>
<item> max-height </item>
<item> max-width </item>
<item> min-height </item>
<item> min-width </item>
<item> orphans </item>
<item> outline </item>
<item> outline-color </item>
<item> outline-style </item>
<item> outline-width </item>
<item> overflow </item>
<item> padding </item>
<item> padding-bottom </item>
<item> padding-left </item>
<item> padding-right </item>
<item> padding-top </item>
<item> page </item>
<item> page-break-after </item>
<item> page-break-before </item>
<item> page-break-inside </item>
<item> pause </item>
<item> pause-after </item>
<item> pause-before </item>
<item> pitch </item>
<item> pitch-range </item>
<item> play-during </item>
<item> position </item>
<item> quotes </item>
<item> richness </item>
<item> right </item>
<item> size </item>
<item> speak </item>
<item> speak-header </item>
<item> speak-numeral </item>
<item> speak-punctuation </item>
<item> speech-rate </item>
<item> stress </item>
<item> table-layout </item>
<item> text-align </item>
<item> text-decoration </item>
<item> text-decoration-color </item>
<item> text-indent </item>
<item> text-shadow </item>
<item> text-transform </item>
<item> top </item>
<item> unicode-bidi </item>
<item> vertical-align </item>
<item> visibility </item>
<item> voice-family </item>
<item> volume </item>
<item> white-space </item>
<item> widows </item>
<item> width </item>
<item> word-spacing </item>
<item> z-index </item>
<!-- CSS3 -->
<item> box-sizing </item>
<item> opacity </item>
<item> text-shadow </item>
<!-- konq specific -->
<item> konq_bgpos_x </item>
<item> konq_bgpos_y </item>
<!-- font properties in @font-face -->
<item> font-family </item>
<item> font-size </item>
<item> font-stretch </item>
<item> font-style </item>
<item> font-variant </item>
<item> font-weight </item>
<item> unicode-range </item>
<item> units-per-em </item>
<item> src </item>
<item> panose-1 </item>
<item> stemv </item>
<item> stemh </item>
<item> slope </item>
<item> cap-height </item>
<item> x-height </item>
<item> ascent </item>
<item> descent </item>
<item> widths </item>
<item> bbox </item>
<item> definition-src </item>
<item> baseline </item>
<item> centerline </item>
<item> mathline </item>
<item> topline </item>
</list>
<list name="types">
<item> inherit </item>
<item> none </item>
<item> hidden </item>
<item> dotted </item>
<item> dashed </item>
<item> solid </item>
<item> double </item>
<item> groove </item>
<item> ridge </item>
<item> inset </item>
<item> outset </item>
<item> xx-small </item>
<item> x-small </item>
<item> small </item>
<item> medium </item>
<item> large </item>
<item> x-large </item>
<item> xx-large </item>
<item> smaller </item>
<item> larger </item>
<item> italic </item>
<item> oblique </item>
<item> small-caps </item>
<item> normal </item>
<item> bold </item>
<item> bolder </item>
<item> lighter </item>
<item> light </item>
<item> 100 </item>
<item> 200 </item>
<item> 300 </item>
<item> 400 </item>
<item> 500 </item>
<item> 600 </item>
<item> 700 </item>
<item> 800 </item>
<item> 900 </item>
<item> transparent </item>
<item> repeat </item>
<item> repeat-x </item>
<item> repeat-y </item>
<item> no-repeat </item>
<item> baseline </item>
<item> sub </item>
<item> super </item>
<item> top </item>
<item> text-top </item>
<item> middle </item>
<item> bottom </item>
<item> text-bottom </item>
<item> left </item>
<item> right </item>
<item> center </item>
<item> justify </item>
<item> konq-center </item>
<item> disc </item>
<item> circle </item>
<item> square </item>
<item> box </item>
<item> decimal </item>
<item> decimal-leading-zero </item>
<item> lower-roman </item>
<item> upper-roman </item>
<item> lower-greek </item>
<item> lower-alpha </item>
<item> lower-latin </item>
<item> upper-alpha </item>
<item> upper-latin </item>
<item> hebrew </item>
<item> armenian </item>
<item> georgian </item>
<item> cjk-ideographic </item>
<item> hiragana </item>
<item> katakana </item>
<item> hiragana-iroha </item>
<item> katakana-iroha </item>
<item> inline </item>
<item> inline-block </item>
<item> block </item>
<item> list-item </item>
<item> run-in </item>
<item> compact </item>
<item> marker </item>
<item> table </item>
<item> inline-table </item>
<item> table-row-group </item>
<item> table-header-group </item>
<item> table-footer-group </item>
<item> table-row </item>
<item> table-column-group </item>
<item> table-column </item>
<item> table-cell </item>
<item> table-caption </item>
<item> auto </item>
<item> crosshair </item>
<item> default </item>
<item> pointer </item>
<item> move </item>
<item> e-resize </item>
<item> ne-resize </item>
<item> nw-resize </item>
<item> n-resize </item>
<item> se-resize </item>
<item> sw-resize </item>
<item> s-resize </item>
<item> w-resize </item>
<item> text </item>
<item> wait </item>
<item> help </item>
<item> above </item>
<item> absolute </item>
<item> always </item>
<item> avoid </item>
<item> below </item>
<item> bidi-override </item>
<item> blink </item>
<item> both </item>
<item> capitalize </item>
<item> caption </item>
<item> close-quote </item>
<item> collapse </item>
<item> condensed </item>
<item> crop </item>
<item> cross </item>
<item> embed </item>
<item> expanded </item>
<item> extra-condensed </item>
<item> extra-expanded </item>
<item> fixed </item>
<item> hand </item>
<item> hide </item>
<item> higher </item>
<item> icon </item>
<item> inside </item>
<item> invert </item>
<item> landscape </item>
<item> level </item>
<item> line-through </item>
<item> loud </item>
<item> lower </item>
<item> lowercase </item>
<item> ltr </item>
<item> menu </item>
<item> message-box </item>
<item> mix </item>
<item> narrower </item>
<item> no-close-quote </item>
<item> no-open-quote </item>
<item> nowrap </item>
<item> open-quote </item>
<item> outside </item>
<item> overline </item>
<item> portrait </item>
<item> pre </item>
<item> pre-line </item>
<item> pre-wrap </item>
<item> relative </item>
<item> rtl </item>
<item> scroll </item>
<item> semi-condensed </item>
<item> semi-expanded </item>
<item> separate </item>
<item> show </item>
<item> small-caption </item>
<item> static </item>
<item> static-position </item>
<item> status-bar </item>
<item> thick </item>
<item> thin </item>
<item> ultra-condensed </item>
<item> ultra-expanded </item>
<item> underline </item>
<item> uppercase </item>
<item> visible </item>
<item> wider </item>
<item> break </item>
<item> serif </item>
<item> sans-serif </item>
<item> cursive </item>
<item> fantasy </item>
<item> monospace </item>
<item> border-box </item>
<item> content-box </item>
</list>
<list name="colors">
<item> aqua </item>
<item> black </item>
<item> blue </item>
<item> fuchsia </item>
<item> gray </item>
<item> green </item>
<item> lime </item>
<item> maroon </item>
<item> navy </item>
<item> olive </item>
<item> purple </item>
<item> red </item>
<item> silver </item>
<item> teal </item>
<item> white </item>
<item> yellow </item>
<item> ActiveBorder </item>
<item> ActiveCaption </item>
<item> AppWorkspace </item>
<item> Background </item>
<item> ButtonFace </item>
<item> ButtonHighlight </item>
<item> ButtonShadow </item>
<item> ButtonText </item>
<item> CaptionText </item>
<item> GrayText </item>
<item> Highlight </item>
<item> HighlightText </item>
<item> InactiveBorder </item>
<item> InactiveCaption </item>
<item> InactiveCaptionText </item>
<item> InfoBackground </item>
<item> InfoText </item>
<item> Menu </item>
<item> MenuText </item>
<item> Scrollbar </item>
<item> ThreeDDarkShadow </item>
<item> ThreeDFace </item>
<item> ThreeDHighlight </item>
<item> ThreeDLightShadow </item>
<item> ThreeDShadow </item>
<item> Window </item>
<item> WindowFrame </item>
<item> WindowText </item>
</list>
<list name="paren">
<item> url </item>
<item> attr </item>
<item> rect </item>
<item> rgb </item>
<item> counter </item>
<item> counters </item>
<!-- in @font-face -->
<item> local </item>
<item> format </item>
</list>
<list name="mediatypes">
<item> all </item>
<item> aural </item>
<item> braille </item>
<item> embossed </item>
<item> handheld </item>
<item> print </item>
<item> projection </item>
<item> screen </item>
<item> tty </item>
<item> tv </item>
</list>
<list name="pseudoclasses">
<item> hover </item>
<item> link </item>
<item> visited </item>
<item> active </item>
<item> focus </item>
<item> first-child </item>
<item> last-child </item>
<item> only-child </item>
<item> first-of-type </item>
<item> last-of-type </item>
<item> only-of-type </item>
<item> first-letter </item>
<item> first-line </item>
<item> before </item>
<item> after </item>
<item> selection </item>
<item> root </item>
<item> empty </item>
<item> target </item>
<item> enabled </item>
<item> disabled </item>
<item> checked </item>
<item> indeterminate </item>
<item> nth-child </item>
<item> nth-last-child </item>
<item> nth-of-type </item>
<item> nth-last-of-type </item>
<item> not </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Base">
<LineContinue/>
<DetectSpaces/>
<IncludeRules context="FindRuleSets" />
</context>
<!-- finds rules -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">
<RegExpr attribute="Media" context="Media" String="@media\b" />
<RegExpr attribute="At Rule" context="Import" String="@import\b" />
<RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />
<RegExpr attribute="Variable" context="Variable Declaration" String="@[A-Za-z0-9_-]+(?=\s*:)" />
<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
<!--parse selectors-->
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
<RegExpr attribute="Selector Id" context="#stay" String="#[A-Za-z0-9][\w\-]*" />
<RegExpr attribute="Selector Class" context="#stay" String="\.[A-Za-z0-9][\w\-]*" />
<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<!-- finds arguments to properties -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindValues">
<RegExpr attribute="Variable" context="#stay" String="@[A-Za-z0-9_-]+" />
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|px|in|cm|mm|pt|pc|deg|rad|grad|ms|s|Hz|kHz)\b" />
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />
<RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />
</context>
<!-- finds strings -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">
<DetectChar attribute="String" context="StringDQ" char="&quot;" />
<DetectChar attribute="String" context="StringSQ" char="'" />
</context>
<!-- finds comments -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindComments">
<RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />
<RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="comment" />
</context>
<!-- other contexts -->
<context attribute="Normal Text" lineEndContext="#stay" name="Media">
<DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />
<keyword attribute="Media" context="#stay" String="mediatypes" />
<DetectChar attribute="Media" context="#stay" char="," />
<IncludeRules context="FindComments" />
<RegExpr attribute="Error" context="#stay" String="\S+" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Media2">
<DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />
<IncludeRules context="FindRuleSets" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Variable Declaration">
<DetectChar attribute="Property" context="Variable Declaration 2" char=":" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Variable Declaration 2">
<DetectChar attribute="Property" context="#pop#pop" char=";" />
<IncludeRules context="FindPropertyValues" />
<IncludeRules context="FindComments" />
</context>
<context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">
<DetectChar attribute="Selector Attr" context="#pop" char="]" />
<IncludeRules context="FindStrings" />
</context>
<context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo" fallthrough="true" fallthroughContext="#pop">
<keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />
<RegExpr attribute="Unknown Selector Pseudo" context="#pop" String="[A-Za-z_-]+(?=\s*\{)" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Import">
<DetectChar attribute="At Rule" context="#pop" char=";" />
<keyword attribute="Media" context="#stay" String="mediatypes" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Multi/inline Comment">
<DetectSpaces/>
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">
<DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />
<keyword attribute="Property" context="Rule" String="properties" />
<RegExpr attribute="Mixin" context="Mixin" String="\.[A-Za-z_-]+(?=\s*\()" />
<RegExpr attribute="Unknown Property" context="Rule" String="[A-Za-z_-]+(?=\s*:)" />
<IncludeRules context="FindComments" />
<IncludeRules context="FindRuleSets" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Rule">
<DetectChar attribute="Property" context="Rule2" char=":" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Rule2">
<DetectChar attribute="Property" context="#pop#pop" char=";" />
<DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />
<IncludeRules context="FindPropertyValues" />
<IncludeRules context="FindComments" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="FindPropertyValues">
<keyword attribute="Value" context="#stay" String="types" />
<keyword attribute="Value" context="#stay" String="colors" />
<RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />
<keyword attribute="Value" context="PropParen" String="paren" />
<RegExpr attribute="Important" context="#stay" String="!important\b" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Mixin">
<DetectChar attribute="Mixin" context="Mixin2" char="(" />
<DetectChar attribute="Property" context="#pop" char=";" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="Mixin2">
<DetectChar attribute="Mixin" context="#pop" char=")" />
<DetectChar attribute="Mixin" context="#pop#pop#pop" char="}" endRegion="ruleset" />
<!-- parse property values -->
<keyword attribute="Value" context="#stay" String="types" />
<keyword attribute="Value" context="#stay" String="colors" />
<RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />
<keyword attribute="Value" context="PropParen" String="paren" />
<RegExpr attribute="Important" context="#stay" String="!important\b" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="PropParen">
<DetectChar attribute="Value" context="PropParen2" char="(" />
<IncludeRules context="FindComments" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">
<DetectChar attribute="Value" context="#pop#pop" char=")" />
<IncludeRules context="FindValues" />
<IncludeRules context="FindStrings" />
<IncludeRules context="FindComments" />
</context>
<!-- string contexts -->
<context attribute="String" lineEndContext="#stay" name="StringDQ">
<DetectChar attribute="String" context="#pop" char="&quot;" />
<IncludeRules context="InsideString" />
</context>
<context attribute="String" lineEndContext="#stay" name="StringSQ">
<DetectChar attribute="String" context="#pop" char="'" />
<IncludeRules context="InsideString" />
</context>
<context attribute="String" lineEndContext="#stay" name="InsideString">
<RegExpr attribute="String" context="#stay" String="\\[&quot;']" />
<DetectIdentifier/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Property" defStyleNum="dsKeyword"/>
<itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1"/>
<itemData name="Media" defStyleNum="dsDecVal" bold="1"/>
<itemData name="At Rule" defStyleNum="dsDecVal" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Value" defStyleNum="dsDataType" />
<itemData name="Variable" defStyleNum="dsDataType" bold="1" />
<itemData name="Important" defStyleNum="dsKeyword" />
<itemData name="Mixin" defStyleNum="dsKeyword" bold="1" />
<itemData name="Selector Attr" defStyleNum="dsChar" />
<itemData name="Selector Id" defStyleNum="dsFloat" bold="1"/>
<itemData name="Selector Class" defStyleNum="dsFloat" />
<itemData name="Selector Pseudo" defStyleNum="dsDecVal" />
<itemData name="Unknown Selector Pseudo" defStyleNum="dsDecVal" italic="1" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker"/>
<itemData name="Alert" defStyleNum="dsAlert"/>
<itemData name="Error" defStyleNum="dsError"/>
</itemDatas>
</highlighting>
<general>
<keywords casesensitive="0" weakDeliminator="-%"/>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
</general>
</language>

@ -10,8 +10,6 @@
========================================================================
Updates for LEX.XML can be obtained from http://kate.kde.org/hl/
UPDATE HISTORY:-
2004.05.25 - LEX.XML 1.00 - First released.
@ -20,7 +18,7 @@
========================================================================
-->
<language name="Lex/Flex" version="1.01" kateversion="2.4" section="Sources" extensions="*.l;*.lex;*.flex" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">
<language name="Lex/Flex" version="1.02" kateversion="2.5" section="Sources" extensions="*.l;*.lex;*.flex" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">
<highlighting>
<contexts>

@ -20,7 +20,7 @@
<!ENTITY schemename "[a-zA-Z#][^\s(){}[\];$&quot;]*">
<!ENTITY schemefunc "\b(define|defined\?|define\*(-public)?|define-(\*|builtin-markup-(list-)?command|class|(extra-)?display-method|fonts?|grob-property|ly-syntax(-loc|-simple)?|macro(-public)?|markup-(list-)command|method|module|music-function|post-event-display-method|public(-macro|-toplevel)?|safe-public|span-event-display-method)|defmacro(\*(-public)?)?|lambda\*?|and|or|if|cond|case|let\*?|letrec|begin|do|delay|set!|else|(quasi)?quote|unquote(-splicing)?|(define|let|letrec)-syntax|syntax-rules|not|boolean\?|eq\?|eqv\?|equal\?|pair\?|cons|set-c[ad]r!|c[ad]{1,4}r|null\?|list\?|list|length|append|reverse|list-ref|mem[qv]|member|ass[qv]|assoc|symbol\?|symbol-&gt;string|string-&gt;symbol|number\?|complex\?|real\?|rational\?|integer\?|exact\?|inexact\?|zero\?|positive\?|negative\?|odd\?|even\?|max|min|abs|quotient|remainder|modulo|gcd|lcm|numerator|denominator|floor|ceiling|truncate|round|rationalize|exp|log|sin|cos|tan|asin|acos|atan|sqrt|expt|make-rectangular|make-polar|real-part|imag-part|magnitude|angle|exact-&gt;inexact|inexact-&gt;exact|number-&gt;string|string-&gt;number|char((-ci)?(=\?|&lt;\?|&gt;\?|&lt;=\?|&gt;=\?)|-alphabetic\?|\?|-numeric\?|-whitespace\?|-upper-case\?|-lower-case\?|-&gt;integer|-upcase|-downcase|-ready\?)|integer-&gt;char|make-string|string(\?|-copy|-fill!|-length|-ref|-set!|(-ci)?(=\?|&lt;\?|&gt;\?|&lt;=\?|&gt;=\?)|-append)|substring|make-vector|vector(\?|-length|-ref|-set!|-fill!)?|procedure\?|apply|map|for-each|force|call-with-(current-continuation|(in|out)put-file)|(in|out)put-port\?|current-(in|out)put-port|open-(in|out)put-file|close-(in|out)put-port|eof-object\?|read|(read|peek)-char|write(-char)?|display|newline|call/cc|list-tail|string-&gt;list|list-&gt;string|vector-&gt;list|list-&gt;vector|with-input-from-file|with-output-to-file|load|transcript-(on|off)|eval|dynamic-wind|port\?|values|call-with-values|(scheme-report-|null-|interaction-)environment)(?=($|\s|\)))">
]>
<language name="LilyPond" section="Other" version="2.20" kateversion="2.4" extensions="*.ly;*.LY;*.ily;*.ILY" mimetype="text/x-lilypond" author="Wilbert Berendsen (info@wilbertberendsen.nl)" license="LGPL">
<language name="LilyPond" section="Other" version="2.21" kateversion="2.5" extensions="*.ly;*.LY;*.ily;*.ILY" mimetype="text/x-lilypond" author="Wilbert Berendsen (info@wilbertberendsen.nl)" license="LGPL">
<!--

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Literate Curry" version="0.3" kateversion="2.5"
section="Sources" extensions="*.lcurry" mimetype="text/x-curry"
author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL"
indenter="haskell">
<highlighting>
<contexts>
<context attribute="Text" lineEndContext="#stay" name="Text">
<!-- Bird Tracks -->
<DetectChar attribute="BirdTrack" context="Code" char="&gt;" column="0"/>
<DetectChar attribute="BirdTrack" context="Code" char="&lt;" column="0"/>
<!-- \begin{code} and \begin{spec} -->
<StringDetect attribute="Text" context="normals" String="&#92;begin&#123;code&#125;"/>
<StringDetect attribute="Text" context="normals" String="&#92;begin&#123;spec&#125;"/>
</context>
<context attribute="Normal" lineEndContext="#pop" name="Code">
<RegExpr attribute="Comment" context="multiline" String="\{-[^#]" />
<IncludeRules context="##Curry" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="normals">
<StringDetect attribute="Normal" context="#pop" String="&#92;end&#123;code&#125;"/>
<StringDetect attribute="Normal" context="#pop" String="&#92;end&#123;spec&#125;"/>
<IncludeRules context="##Curry" />
</context>
<!-- Handle comments in presence of bird tracks -->
<context attribute="Comment" lineEndContext="lineend" name="multiline" >
<Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" />
</context>
<context attribute="Text" lineEndContext="#stay" name="lineend">
<DetectChar attribute="BirdTrack" context="restart" char="&gt;" column="0"/>
<DetectChar attribute="BirdTrack" context="restart" char="&lt;" column="0"/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="restart">
<Detect2Chars attribute="Comment" context="#pop#pop#pop" char="-" char1="}" />
</context>
</contexts>
<itemDatas>
<itemData name="Text" defStyleNum="dsNormal" spellChecking="true" />
<itemData name="BirdTrack" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Comment" defStyleNum="dsComment" />
</itemDatas>
</highlighting>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Literate Haskell" version="2.0.1" kateversion="2.3" section="Sources" extensions="*.lhs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell">
<language name="Literate Haskell" version="2.0.2" kateversion="2.5" section="Sources" extensions="*.lhs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell">
<highlighting>
<contexts>
<context attribute="Text" lineEndContext="#stay" name="text">

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Logtalk" version="1.51" kateversion="2.4" section="Sources" extensions="*.lgt;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0">
<language name="Logtalk" version="1.52" kateversion="2.5" section="Sources" extensions="*.lgt;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0">
<highlighting>

@ -16,7 +16,7 @@ License: Artistic
-->
<language name="LPC" version="0.76" kateversion="2.4" section="Sources" extensions="*.c;*.h;*.inc;*.o" author="Andreas Klauer (Andreas.Klauer@metamorpher.de)" license="Artistic" >
<language name="LPC" version="0.77" kateversion="2.5" section="Sources" extensions="*.c;*.h;*.inc;*.o" author="Andreas Klauer (Andreas.Klauer@metamorpher.de)" license="Artistic" >
<highlighting>

@ -35,7 +35,7 @@
- improved highlighting
-->
<language name="Lua" version="1.05" indenter="lua" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua">
<language name="Lua" version="1.07" indenter="lua" kateversion="2.5" section="Scripts" extensions="*.lua" mimetype="text/x-lua">
<highlighting>
<list name="keywords">
<item> and </item>
@ -249,7 +249,7 @@
<Detect2Chars attribute="Error" context="#stay" char="+" char1="="/>
<Detect2Chars attribute="Error" context="#stay" char="+" char1="+"/>
<Detect2Chars attribute="Error" context="#stay" char="." char1="="/>
<AnyChar attribute="Symbols" context="#stay" String="[]().=~+-*/^&gt;&lt;#;" />
<AnyChar attribute="Symbols" context="#stay" String="[]().,=~+-*/^&gt;&lt;#;" />
</context>
<context name="Comment" attribute="Comment" lineEndContext="#pop">
<Detect2Chars attribute="Alerts" context="#stay" char="-" char1="-" />
@ -276,18 +276,18 @@
</context>
</contexts>
<itemDatas>
<itemData name="Alerts" defStyleNum="dsAlert" />
<itemData name="BFunc" defStyleNum="dsFunction"/>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Alerts" defStyleNum="dsAlert" spellChecking="false"/>
<itemData name="BFunc" defStyleNum="dsFunction" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Constant" defStyleNum="dsKeyword"/>
<itemData name="Control" defStyleNum="dsKeyword" color="#A1A100" selColor="#ffffff" bold="0" italic="0"/>
<itemData name="Error" defStyleNum="dsError"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Numbers" defStyleNum="dsDecVal"/>
<itemData name="Constant" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Control" defStyleNum="dsKeyword" color="#A1A100" selColor="#ffffff" bold="0" italic="0" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Numbers" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Strings" defStyleNum="dsString"/>
<itemData name="Symbols" defStyleNum="dsOthers"/>
<itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" />
<itemData name="Symbols" defStyleNum="dsOthers" spellChecking="false"/>
<itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>

@ -11,7 +11,7 @@ v1.0:
-first Release
-->
<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/mpegurl" version="1.10" author="Jan Janssen (medhefgo@web.de)" license="LGPL" >
<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/mpegurl" version="1.11" author="Jan Janssen (medhefgo@web.de)" license="LGPL" >
<highlighting>
<contexts>

@ -6,7 +6,7 @@
Corresponds to GNU M4 version 1.4.16.
For KatePart (Kate, KWrite etc) copy this file to
$TDEHOME/share/apps/katepart/syntax/
~/.trinity/share/apps/katepart/syntax/
For Qt Creator copy this file to
~/.config/Nokia/qtcreator/generic-highlighter/
@ -38,7 +38,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<language name="GNU M4" version="1.0" section="Sources" kateversion="2.5" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">
<language name="GNU M4" version="1.2" section="Sources" kateversion="2.5" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">
<highlighting>
<list name="optbuiltins">
<item> __gnu__ </item>
@ -153,7 +153,7 @@
<item> m4_undivert </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text">
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text">
<keyword attribute="Builtins" String="builtins" context="#stay"/>
<keyword attribute="Builtins (prefixed with m4_)" String="m4_builtins" context="#stay"/>
<keyword attribute="Optional builtins" String="optbuiltins" context="#stay"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="MAB-DB" version="1.03" kateversion="2.4" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0">
<language name="MAB-DB" version="1.04" kateversion="2.5" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0">
<highlighting>
<contexts>
<context attribute="Normal Text" name="Section" lineEndContext="#stay" >

@ -3,8 +3,13 @@
<!-- Makefile syntaxfile v0.9 by Per Wigren <wigren@home.se> -->
<!-- Modified by Joseph Wenninger <jowenn@kde.org> -->
<!-- Modified by Rui Santana <santana.rui@gmail.com> -->
<!-- v2.0 by Andreas Nordal <andreas.nordal@gmail.com> -->
<!-- small priority to allow for example Makefile.cpp to be detected as cpp file -->
<language name="Makefile" version="1.12" kateversion="2.4" section="Other" extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*" mimetype="text/x-makefile" author="Per Wigren (wigren@home.se)" license="">
<language name="Makefile" section="Other"
version="2.01" kateversion="2.5"
extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*"
mimetype="text/x-makefile"
author="Per Wigren (wigren@home.se)" license="">
<highlighting>
<list name = "keywords">
<item> include </item>
@ -16,128 +21,189 @@
<item> ifeq </item>
<item> ifndef </item>
<item> ifneq </item>
<item> override </item>
</list>
<list name = "functions">
<item> call </item>
<item> subst </item>
<item> patsubst </item>
<item> strip </item>
<item> findstring </item>
<item> filter </item>
<item> filter-out </item>
<item> sort </item>
<item> word </item>
<item> wordlist </item>
<item> words </item>
<item> firstword </item>
<item> lastword </item>
<item> dir </item>
<item> notdir </item>
<item> suffix </item>
<item> basename </item>
<item> addsuffix </item>
<item> addprefix </item>
<item> join </item>
<item> wildcard </item>
<item> realpath </item>
<item> abspath </item>
<item> if </item>
<item> or </item>
<item> and </item>
<item> foreach </item>
<item> value </item>
<item> eval </item>
<item> origin </item>
<item> flavor </item>
<item> shell </item>
<item> error </item>
<item> warning </item>
<item> info </item>
<item> call </item>
<item> subst </item>
<item> patsubst </item>
<item> strip </item>
<item> findstring </item>
<item> filter </item>
<item> filter-out </item>
<item> sort </item>
<item> word </item>
<item> wordlist </item>
<item> words </item>
<item> firstword </item>
<item> lastword </item>
<item> dir </item>
<item> notdir </item>
<item> suffix </item>
<item> basename </item>
<item> addsuffix </item>
<item> addprefix </item>
<item> join </item>
<item> wildcard </item>
<item> realpath </item>
<item> abspath </item>
<item> if </item>
<item> or </item>
<item> and </item>
<item> foreach </item>
<item> value </item>
<item> eval </item>
<item> origin </item>
<item> flavor </item>
<item> shell </item>
<item> error </item>
<item> warning </item>
<item> info </item>
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<context name="normal" attribute="Normal" lineEndContext="#stay">
<DetectSpaces/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<RegExpr attribute="Variable" context="Value" String="[_\w\d]*\s*(?=:=|=|\+=|\?=)"/>
<RegExpr attribute="Target" context="#stay" String="[_\w\d-]*\s*:" firstNonSpace="true"/>
<RegExpr attribute="Section" context="#stay" String="^[.].*:"/>
<DetectChar attribute="String" context="String" char="&quot;"/>
<Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>
<Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>
<RegExpr attribute="Variable" context="assign" String="[^\s:+?]*\s*(?=:=|=|\+=|\?=)"/>
<RegExpr attribute="Section" context="prereq" String="^[.].*:"/>
<RegExpr attribute="Target" context="prereq" String="^.*:"/>
<DetectIdentifier/>
<DetectChar attribute="String" context="string&quot;" char="&quot;"/>
<DetectChar attribute="String" context="string'" char="'"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>
<AnyChar attribute="Operator" context="#stay" String="+*=%$():\&#059;"/>
<AnyChar attribute="Operator" context="Commands" String="@-" firstNonSpace="true"/>
<AnyChar attribute="Operator" context="silent" String="@-" firstNonSpace="1"/>
<RegExpr attribute="Comment" context="#stay" String="#.*$"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="#stay"/>
<context name="prereq" attribute="Prereq" lineEndContext="rule">
<DetectSpaces/>
<DetectIdentifier/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>
<RegExpr attribute="Comment" context="#stay" String="#.*$"/>
</context>
<context name="rule" attribute="Normal" lineEndContext="#stay">
<LineContinue attribute="Operator" context="#stay"/>
<!-- pop if there is a leading non-tab,
and in particular, mark leading spaces as errors -->
<RegExpr attribute="Error" context="#pop#pop#pop" String="^ +" firstNonSpace="1"/>
<RegExpr context="#pop#pop#pop" String="^[^\t]" lookAhead="1" firstNonSpace="1"/>
<DetectSpaces/>
<DetectIdentifier/>
<DetectChar attribute="String" context="string&quot;" char="&quot;"/>
<DetectChar attribute="String" context="string'" char="'"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>
<AnyChar attribute="Operator" context="silent" String="@-" firstNonSpace="1"/>
<RegExpr attribute="Comment" context="#stay" String="#.*$"/>
</context>
<context name="silent" attribute="Silent" lineEndContext="#pop">
<LineContinue attribute="Operator" context="#stay"/>
<DetectSpaces/>
<DetectIdentifier/>
<DetectChar attribute="String" context="string&quot;" char="&quot;"/>
<DetectChar attribute="String" context="string'" char="'"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>
<Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>
<RegExpr attribute="Comment" context="#stay" String="#.*$"/>
</context>
<context name="string&quot;" attribute="String" lineEndContext="#pop">
<LineContinue attribute="Operator" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
</context>
<context name="string'" attribute="String" lineEndContext="#pop">
<LineContinue attribute="String" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="'"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
</context>
<context name="assign" attribute="Operator" lineEndContext="#pop">
<DetectChar attribute="Operator" context="value" char="="/>
</context>
<context name="Value" attribute="String" lineEndContext="#pop">
<context name="value" attribute="String" lineEndContext="#pop#pop">
<LineContinue attribute="Operator"/>
<Detect2Chars attribute="Operator" context="VarFromValue{" char="$" char1="{"/>
<Detect2Chars attribute="Operator" context="VarFromValue(" char="$" char1="("/>
<RegExpr attribute="Special" context="#pop" String="@[-_\d\w]*@" />
<DetectChar attribute="Operator" char="&#059;" context="#pop"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<RegExpr attribute="Special" context="#pop#pop" String="@[-_\d\w]*@"/>
<DetectChar attribute="Operator" char=";" context="#pop#pop"/>
</context>
<context name="VarFromValue(" attribute="Variable" lineEndContext="#stay">
<DetectChar attribute="Operator" char=")" context="#pop"/>
<context name="dollar" attribute="Operator" lineEndContext="#pop">
<DetectChar attribute="Operator" context="call(" char="("/>
<DetectChar attribute="Operator" context="call{" char="{"/>
<RegExpr attribute="Operator" context="#pop" String="."/>
</context>
<context name="VarFromValue{" attribute="Variable" lineEndContext="#stay">
<DetectChar attribute="Operator" char="}" context="#pop"/>
<context name="call(" attribute="Variable" lineEndContext="#stay" fallthroughContext="callVar(" fallthrough="1">
<keyword attribute="Keyword" context="callFunc(" String="functions"/>
</context>
<context name="VarFromNormal(" attribute="Variable" lineEndContext="#stay">
<keyword attribute="Keyword" context="FunctionCall(" String="functions"/>
<DetectChar attribute="Operator" char=")" context="#pop"/>
<context name="call{" attribute="Variable" lineEndContext="#stay" fallthroughContext="callVar{" fallthrough="1">
<keyword attribute="Keyword" context="callFunc{" String="functions"/>
</context>
<context name="VarFromNormal{" attribute="Variable" lineEndContext="#stay">
<keyword attribute="Keyword" context="FunctionCall{" String="functions"/>
<DetectChar attribute="Comment" char="}" context="#pop"/>
<context name="callVar(" attribute="Variable" lineEndContext="#stay">
<DetectChar attribute="Operator" char=")" context="#pop#pop#pop"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<DetectSpaces attribute="Error" context="#stay"/>
<AnyChar attribute="Error" context="#stay" String="=#:"/>
</context>
<context name="FunctionCall(" attribute="String" lineEndContext="#stay">
<Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>
<Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>
<DetectChar attribute="Operator" char=")" context="#pop#pop"/>
<context name="callVar{" attribute="Variable" lineEndContext="#stay">
<DetectChar attribute="Operator" char="}" context="#pop#pop#pop"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<DetectSpaces attribute="Error" context="#stay"/>
<AnyChar attribute="Error" context="#stay" String="=#:"/>
</context>
<context name="FunctionCall{" attribute="String" lineEndContext="#stay">
<Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>
<Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>
<DetectChar attribute="Operator" char="}" context="#pop#pop"/>
<context name="callFunc(" attribute="FuncParam" lineEndContext="#stay">
<DetectChar attribute="Operator" char=")" context="#pop#pop#pop"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<DetectChar attribute="Keyword" context="#stay" char=","/>
<DetectChar attribute="String" context="string'" char="'"/>
</context>
<context name="Commands" attribute="Normal Text" lineEndContext="#pop">
<Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>
<Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>
<RegExpr attribute="Commands" context="#pop" String="[_\w-]*\b"/>
<context name="callFunc{" attribute="FuncParam" lineEndContext="#stay">
<DetectChar attribute="Operator" char="}" context="#pop#pop#pop"/>
<DetectChar attribute="Operator" context="dollar" char="$"/>
<DetectChar attribute="Keyword" context="#stay" char=","/>
<DetectChar attribute="String" context="string'" char="'"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Variable" defStyleNum="dsDataType"/>
<itemData name="Target" defStyleNum="dsDecVal"/>
<itemData name="Section" defStyleNum="dsOthers"/>
<itemData name="Operator" defStyleNum="dsChar"/>
<itemData name="Commands" defStyleNum="dsBaseN"/>
<itemData name="Special" defStyleNum="dsFloat"/>
<itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/>
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="String" defStyleNum="dsString" spellChecking="0"/>
<itemData name="Variable" defStyleNum="dsDataType" spellChecking="0"/>
<itemData name="Target" defStyleNum="dsDecVal" spellChecking="0"/>
<itemData name="Section" defStyleNum="dsOthers" spellChecking="0"/>
<itemData name="Prereq" defStyleNum="dsDataType" spellChecking="0"/>
<itemData name="FuncParam" defStyleNum="dsString" spellChecking="0"/>
<itemData name="Operator" defStyleNum="dsChar" spellChecking="0"/>
<itemData name="Silent" defStyleNum="dsFunction" spellChecking="0"/>
<itemData name="Special" defStyleNum="dsFloat" spellChecking="0"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="0"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name = "singleLine" start = "#"/>
</comments>
<keywords casesensitive = "1" />
<!-- '-' is not a deliminator in function filter-out -->
<keywords casesensitive="1" weakDeliminator = "-"/>
</general>
</language>
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->

@ -0,0 +1,255 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="Mako" version="1.01" kateversion="2.5" section="Markup" extensions="*.mako;*.mak" author="Massimiliano Torromeo (massimiliano.torromeo@gmail.com)" license="LGPL">
<highlighting>
<list name="flow">
<item> endfor </item>
<item> endif </item>
</list>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindMako" />
<IncludeRules context="FindHTML" />
</context>
<context name="FindMako" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="MakoKeyword" context="NoMakoHTML" String="&lt;%text(?:\s+[^&gt;]*)?&gt;" beginRegion="nomako" />
<Detect2Chars attribute="MakoKeyword" context="Mako" char="&lt;" char1="%" />
<RegExpr attribute="MakoKeyword" context="Mako" String="&lt;/?%" />
<RegExpr attribute="MakoKeyword" context="MakoOneLiner" String="^\s*% " />
<Detect2Chars attribute="MakoKeyword" context="MakoPrint" char="$" char1="{" />
</context>
<context name="Mako" attribute="Mako" lineEndContext="#stay">
<RegExpr attribute="MakoKeyword" context="#pop" String="[%/]?&gt;" />
<IncludeRules context="##Python" includeAttrib="true"/>
</context>
<context name="MakoOneLiner" attribute="MakoKeyword" lineEndContext="#pop">
<keyword attribute="Flow Control Keyword" String="flow" context="#stay"/>
<IncludeRules context="##Python" includeAttrib="true"/>
</context>
<context name="MakoPrint" attribute="Mako" lineEndContext="#stay">
<DetectChar attribute="MakoKeyword" context="#pop" char="}" />
<IncludeRules context="##Python" includeAttrib="true"/>
</context>
<context name="NoMakoHTML" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="MakoKeyword" context="#pop" String="&lt;/%text&gt;" endRegion="nomako" />
<IncludeRules context="##HTML" includeAttrib="true"/>
</context>
<context name="NoMakoJS" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="MakoKeyword" context="#pop" String="&lt;/%text&gt;" endRegion="nomako" />
<IncludeRules context="##JavaScript" includeAttrib="true"/>
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="&lt;!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="&lt;![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="&lt;!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="&lt;\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="&lt;style\b" insensitive="TRUE" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="&lt;script\b" insensitive="TRUE" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="&lt;pre\b" insensitive="TRUE" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="&lt;div\b" insensitive="TRUE" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="&lt;table\b" insensitive="TRUE" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="&lt;ul\b" insensitive="TRUE" beginRegion="ul" />
<RegExpr attribute="Element" context="El Open" String="&lt;ol\b" insensitive="TRUE" beginRegion="ol" />
<RegExpr attribute="Element" context="El Open" String="&lt;dl\b" insensitive="TRUE" beginRegion="dl" />
<RegExpr attribute="Element" context="El Open" String="&lt;&name;" />
<RegExpr attribute="Element" context="El Close" String="&lt;/pre\b" insensitive="TRUE" endRegion="pre" />
<RegExpr attribute="Element" context="El Close" String="&lt;/div\b" insensitive="TRUE" endRegion="div" />
<RegExpr attribute="Element" context="El Close" String="&lt;/table\b" insensitive="TRUE" endRegion="table" />
<RegExpr attribute="Element" context="El Close" String="&lt;/ul\b" insensitive="TRUE" endRegion="ul" />
<RegExpr attribute="Element" context="El Close" String="&lt;/ol\b" insensitive="TRUE" endRegion="ol" />
<RegExpr attribute="Element" context="El Close" String="&lt;/dl\b" insensitive="TRUE" endRegion="dl" />
<RegExpr attribute="Element" context="El Close" String="&lt;/&name;" />
<!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&amp;&lt;" />
</context>
<context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" />
<AnyChar attribute="Error" context="#stay" String="&amp;%" />
</context>
<context name="FindAttributes" attribute="Normal Text" lineEndContext="#stay">
<!--<RegExpr attribute="Attribute" context="#stay" String="&name;" column="0"/>
<RegExpr attribute="Attribute" context="#stay" String="\s+&name;" />-->
<RegExpr attribute="Attribute" context="#stay" String="&name;" />
<DetectChar attribute="Attribute" context="Value" char="=" />
</context>
<context name="FindDTDRules" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Doctype" context="Doctype Markupdecl" String="&lt;!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" />
</context>
<context name="Comment" attribute="Comment" lineEndContext="#stay">
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="--&gt;" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!-&gt;))+" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]&gt;" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&amp;gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1="&gt;" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char="&gt;" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
</context>
<context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" />
<IncludeRules context="FindDTDRules" />
<StringDetect attribute="Comment" context="Comment" String="&lt;!--" beginRegion="comment" />
<RegExpr attribute="Processing Instruction" context="PI" String="&lt;\?[\w:-]*" beginRegion="pi" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char="&gt;" />
<DetectChar attribute="Value" context="Doctype Markupdecl DQ" char="&quot;" />
<DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="&apos;" />
</context>
<context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop" char="&quot;" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop" char="&apos;" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="El Open" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" />
<DetectChar attribute="Element" context="#pop" char="&gt;" />
<IncludeRules context="FindAttributes" />
<IncludeRules context="FindMako" />
</context>
<context name="El Close" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Element" context="#pop" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close 2" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Element" context="#pop#pop#pop" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close 3" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Element" context="#pop#pop#pop#pop" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="CSS" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" endRegion="style" />
<DetectChar attribute="Element" context="CSS content" char="&gt;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="CSS content" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Element" context="El Close 2" String="&lt;/style\b" insensitive="TRUE" endRegion="style" />
<IncludeRules context="##CSS" includeAttrib="true"/>
</context>
<context name="JS" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" endRegion="script" />
<DetectChar attribute="Element" context="JS content" char="&gt;" />
<IncludeRules context="FindAttributes" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="JS content" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Element" context="El Close 2" String="&lt;/script\b" insensitive="TRUE" endRegion="script" />
<RegExpr attribute="Comment" context="JS comment close" String="//(?=.*&lt;/script\b)" insensitive="TRUE" />
<RegExpr attribute="MakoKeyword" context="NoMakoJS" String="&lt;%text(?:\s+[^&gt;]*)?&gt;" beginRegion="nomako" />
<IncludeRules context="FindMako" />
<IncludeRules context="##JavaScript" includeAttrib="true"/>
</context>
<context name="JS comment close" attribute="Comment" lineEndContext="#pop">
<RegExpr attribute="Element" context="El Close 3" String="&lt;/script\b" insensitive="TRUE" endRegion="script" />
<IncludeRules context="##Alerts" />
</context>
<context name="Value" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ">
<DetectChar attribute="Value" context="Value DQ" char="&quot;" />
<DetectChar attribute="Value" context="Value SQ" char="&apos;" />
<DetectSpaces />
</context>
<context name="Value NQ" attribute="Normal Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop">
<IncludeRules context="FindEntityRefs" />
<RegExpr attribute="Value" context="#stay" String="/(?!&gt;)" />
<RegExpr attribute="Value" context="#stay" String="[^/&gt;&lt;&quot;&apos;\s]" />
</context>
<context name="Value DQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop#pop" char="&quot;" />
<IncludeRules context="FindEntityRefs" />
<IncludeRules context="FindMako" />
</context>
<context name="Value SQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop#pop" char="&apos;" />
<IncludeRules context="FindEntityRefs" />
<IncludeRules context="FindMako" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="CDATA" defStyleNum="dsBaseN" bold="1" />
<itemData name="Processing Instruction" defStyleNum="dsKeyword" />
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" />
<itemData name="Element" defStyleNum="dsKeyword" />
<itemData name="Flow Control Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Attribute" defStyleNum="dsOthers" />
<itemData name="Value" defStyleNum="dsString" color="#a00" />
<itemData name="EntityRef" defStyleNum="dsDecVal" />
<itemData name="PEntityRef" defStyleNum="dsDecVal" />
<itemData name="Error" defStyleNum="dsError" />
<itemData name="Mako" defStyleNum="dsDataType" />
<itemData name="MakoVar" defStyleNum="dsOthers" bold="1" />
<itemData name="MakoString" defStyleNum="dsString" />
<itemData name="MakoKeyword" defStyleNum="dsDataType" bold="1" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="multiLine" start="&lt;!--" end="--&gt;" />
<comment name="multiLine" start="&lt;%doc&gt;" end="&lt;/%doc&gt;" />
<comment name="singleLine" start="##" position="afterwhitespace"/>
</comments>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language version="1.05" kateversion="2.1" name="Mason" section="Scripts" extensions="*.html;" mimetype="">
<language version="1.07" kateversion="2.5" name="Mason" section="Scripts" extensions="*.html;" mimetype="">
<highlighting>
<list name="keywords">
<item> sub </item>
@ -14,6 +14,7 @@
<item> lt </item>
<item> le </item>
<item> local </item>
<item> defined </item>
<item> last </item>
<item> ! </item>
<item> || </item>
@ -68,14 +69,23 @@
<contexts>
<context attribute="HTML" lineEndContext="#stay" name="HTML">
<RegExpr attribute="Mason Tag" context="EmbeddedPerl" String="&lt;\%method[^&gt;]*&gt;" />
<RegExpr attribute="Mason Tag" context="EmbeddedPerl" String="&lt;\%def[^&gt;]*&gt;" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%method&gt;" insensitive="FALSE" />
<StringDetect attribute="Comment" context="Documentation" String="&lt;%doc&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%perl&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%init&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%once&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%args&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%filter&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%cleanup&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%flags&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%attr&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="&lt;%shared&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="UnparsedText" String="&lt;%text&gt;" insensitive="FALSE" />
<Detect2Chars attribute="Mason Tag" context="EmbeddedPerl" char="&lt;" char1="%" />
<Detect2Chars attribute="Mason Method" context="MethodCall" char="&lt;" char1="&amp;" />
<StringDetect attribute="Mason Tag" context="#stay" String="&lt;/&amp;&gt;" />
<RegExpr attribute="Mason Tag" context="PerlOneLiner" String="^%" />
</context>
@ -83,8 +93,15 @@
<Detect2Chars attribute="Mason Tag" context="#pop" char="%" char1="&gt;" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%perl&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%method&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%def&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%init&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%once&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%args&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%filter&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%cleanup&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%flags&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%attr&gt;" insensitive="FALSE" />
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%shared&gt;" insensitive="FALSE" />
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<HlCOct attribute="Octal" context="#stay"/>
@ -99,10 +116,11 @@
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/>
<Detect2Chars attribute="Pattern" context="Pattern2" char="s" char1="/" />
<DetectChar attribute="Pattern" context="Pattern" char="/" />
<AnyChar attribute="Symbol" context="#stay" String="!%&amp;()+,-&lt;=&gt;?[]^{|}~"/>
<RegExpr attribute="Decimal" context="#stay" String="\$[0-9]+" />
<RegExpr attribute="Data Type" context="#stay" String="\$\#?[a-zA-Z_]+[a-zA-Z0-9_]*" />
<DetectIdentifier attribute="normal" context="#stay" />
<RegExpr attribute="Decimal" context="#stay" String="[0-9]+" />
<AnyChar attribute="Data Type" context="Variable" String="$@%" />
<RegExpr attribute="Pattern" context="#stay" String="\s+\:" />
<AnyChar attribute="Symbol" context="#stay" String="!&amp;()+,-&lt;=&gt;?[]^{|}~"/>
<DetectChar attribute="Comment" context="Commentar 1" char="#" />
</context>
@ -110,8 +128,19 @@
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
<RegExpr attribute="Decimal" context="#stay" String="\$[0-9]+" />
<RegExpr attribute="Data Type" context="#stay" String="\$[a-zA-Z_]*[a-zA-Z0-9_]*" />
<RegExpr attribute="Decimal" context="#stay" String="[0-9]+" />
<AnyChar attribute="Data Type" context="Variable" String="$@%" />
</context>
<context attribute="String" lineEndContext="#stay" name="UnparsedText">
<StringDetect attribute="Mason Tag" context="#pop" String="&lt;/%text&gt;" insensitive="FALSE" />
</context>
<context attribute="Data Type" lineEndContext="#pop" name="Variable">
<Detect2Chars attribute="normal" context="#stay" char="-" char1="&gt;" />
<DetectChar attribute="String" context="String" char="&quot;" />
<DetectChar attribute="String" context="String2" char="'" />
<AnyChar attribute="normal" context="#pop" String=" &amp; ()+,-&lt;=&gt;?^|~" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/>
@ -148,7 +177,7 @@
<DetectChar attribute="String" context="#pop" char="'"/>
</context>
<context attribute="String" lineEndContext="#pop" name="PerlOneLiner">
<context attribute="normal" lineEndContext="#pop" name="PerlOneLiner">
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<HlCOct attribute="Octal" context="#stay"/>
@ -162,9 +191,9 @@
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/>
<Detect2Chars attribute="Pattern" context="Pattern2" char="s" char1="/" />
<RegExpr attribute="Decimal" context="#stay" String="[0-9]+" />
<AnyChar attribute="Data Type" context="Variable" String="$@%" />
<AnyChar attribute="Symbol" context="#stay" String="!%&amp;()+,-&lt;=&gt;?[]^{|}~"/>
<RegExpr attribute="Decimal" context="#stay" String="\$[0-9]+" />
<RegExpr attribute="Data Type" context="#stay" String="\$\#?[a-zA-Z_]+[a-zA-Z0-9_]*" />
<RegExpr attribute="Pattern" context="#stay" String="\s+\:" />
<RegExpr attribute="Comment" context="#stay" String="\#.*" />
</context>
@ -199,7 +228,7 @@
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
<comment name="singleLine" start="#" />
<comment name="multiLine" start="&lt;%doc&gt;" end="&lt;%doc&gt;"/>
</comments>
<keywords casesensitive="1" />

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
====================================================================
MATLAB syntax highlighting file for the KDE editors Kate and Kwrite
MATLAB syntax highlighting file for the TDE editors Kate and Kwrite
====================================================================
works (at least) for MATLAB versions 5.3, 6.0, 6.1, 6.5, 6.5sp1
works with Kate 2.2 and with Kwrite 4.2 (KDE 3.2)
works with Kate 2.2 and with Kwrite 4.2 (TDE 3.2)
This file works only for syntactically correct MATLAB code. For incorrect
code, the behaviour is undefined. One exception is made: Incomplete strings
@ -57,7 +57,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Matlab" version="1.30" kateversion="2.2" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1">
<language name="Matlab" version="1.32" kateversion="2.5" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1">
<highlighting>
<!-- Reserved keywords in MATLAB -->
@ -89,7 +89,7 @@
<contexts>
<context name="_normal" attribute="Normal Text" lineEndContext="#pop">
<context name="_normal" attribute="Normal Text" lineEndContext="#stay">
<!-- Look-ahead for adjoint ' after variable, number literal, closing braces and .' -->
<RegExpr context="_adjoint" attribute="Variable" String="[a-zA-Z]\w*(?=')" />

@ -21,7 +21,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Maxima" version="0.16" kateversion="2.0" section="Scientific" extensions="*.mac;*.MAC;*.dem;*.DEM" casesensitive="1" author="Alexey Beshenov &lt;al@beshenov.ru>" license="LGPL">
<language name="Maxima" version="0.17" kateversion="2.5" section="Scientific" extensions="*.mac;*.MAC;*.dem;*.DEM" casesensitive="1" author="Alexey Beshenov &lt;al@beshenov.ru>" license="LGPL">
<highlighting>
<list name="MaximaKeyword">

@ -1,79 +1,384 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="MediaWiki" section="Markup" version="1.03" kateversion="2.4" extensions="" mimetype="" license="FDL" >
<!DOCTYPE language SYSTEM "language.dtd" [
<!ENTITY url "(http:|https:|ftp:|mailto:)[^]| ]*(?=$|[]|\s])">
<!ENTITY htmlTagName "(?![0-9])[\w_:][\w.:_-]*">
<!ENTITY htmlEntity "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&htmlTagName;);">
]>
<language name="MediaWiki" section="Markup" version="1.10" kateversion="2.5" extensions="*.mediawiki" mimetype="" license="FDL" >
<highlighting>
<contexts>
<context attribute="Normal" lineEndContext="#stay" name="normal" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="([=]{2,2}[^=]+[=]{2,2}|[=]{3,3}[^=]+[=]{3,3}|[=]{4,4}[^=]+[=]{4,4}|[=]{5,5}[^=]+[=]{5,5})" attribute="Section" column="0" />
<RegExpr String="[~]{3,4}" attribute="Wiki-Tag" context="#stay" />
<RegExpr String="[*#;:\s]*[*#:]+" attribute="Wiki-Tag" context="#stay" column="0" />
<RegExpr String="[[](?![[])" attribute="Wiki-Tag" context="URL" />
<RegExpr String="(http:|ftp:|mailto:)[\S]*($|[\s])" attribute="URL" context="#stay" />
<RegExpr String="[']{2,}" attribute="Wiki-Tag" context="#stay" />
<Detect2Chars char="{" char1="|" context="Table" attribute="Wiki-Tag" column="0" beginRegion="table" />
<Detect2Chars char="{" char1="{" context="Template" attribute="Wiki-Tag" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="Wiki-Tag" />
<RangeDetect char="&amp;" char1=";" attribute="HTML-Entity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="Wiki-Tag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HTML-Tag" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HTML-Tag" context="#stay" />
<RegExpr String="[=]{5,5}(?!=)" context="Section5" attribute="Section" column="0" />
<RegExpr String="[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" />
<RegExpr String="[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" />
<RegExpr String="[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorations" />
<Detect2Chars char="{" char1="|" context="Table" attribute="WikiTag" column="0" beginRegion="table" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="WikiTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="[\s]" context="Unformatted" column="0" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="Table" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" />
<RegExpr String="([=]{2,2}[^=]+[=]{2,2}|[=]{3,3}[^=]+[=]{3,3}|[=]{4,4}[^=]+[=]{4,4}|[=]{5,5}[^=]+[=]{5,5})" attribute="Section" context="#stay" column="0" />
<RegExpr String="[*#;:\s]*[*#:]+" attribute="Wiki-Tag" context="#stay" column="0" />
<RegExpr String="[[](?![[])" context="URL" attribute="Wiki-Tag" />
<RegExpr String="(http:|ftp:|mailto:)[\S]*($|[\s])" attribute="URL" context="#stay" />
<RegExpr String="[']{2,}" attribute="Wiki-Tag" context="#stay" />
<Detect2Chars char="|" char1="}" context="#pop" attribute="Wiki-Tag" column="0" endRegion="table" />
<DetectChar char="|" attribute="Wiki-Tag" context="#stay"/>
<Detect2Chars char="{" char1="{" context="Template" attribute="Wiki-Tag" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="Wiki-Tag" />
<RangeDetect char="&amp;" char1=";" attribute="HTML-Entity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="Wiki-Tag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HTML-Tag" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HTML-Tag" context="#stay" />
<RegExpr String="[=]{5,5}(?!=)" context="Section5" attribute="Section" column="0" />
<RegExpr String="[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" />
<RegExpr String="[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" />
<RegExpr String="[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" />
<DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorations" />
<Detect2Chars char="{" char1="|" context="Table" attribute="WikiTag" column="0" beginRegion="table" />
<Detect2Chars char="|" char1="}" context="#pop" attribute="WikiTag" column="0" endRegion="table" />
<DetectChar char="|" attribute="WikiTag" context="#stay"/>
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="WikiTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="[\s]" context="Unformatted" column="0" />
<RegExpr String="[~]{3,4}" attribute="Wiki-Tag" context="#stay" />
<RegExpr String="[-]{4,}" attribute="Wiki-Tag" context="#stay" />
<DetectChar char="!" attribute="Wiki-Tag" context="#stay" column="0" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<RegExpr String="[-]{4,}" attribute="WikiTag" context="#stay" />
<DetectChar char="!" attribute="WikiTag" context="#stay" column="0" />
</context>
<context attribute="Section" lineEndContext="#pop" name="Section5" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsBeingBold" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="HtmlTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="={6,}$" context="#pop" attribute="Normal" />
<RegExpr String="={5,5}$" context="#pop" attribute="Section" />
<RegExpr String="={1,4}$" context="#pop" attribute="Normal" />
<RegExpr String="={1,4}$" context="#pop" attribute="Normal" />
<RegExpr String="=*[^=]+$" context="#pop" attribute="Normal" />
</context>
<context attribute="Section" lineEndContext="#pop" name="Section4" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsBeingBold" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="HtmlTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="={5,}$" context="#pop" attribute="Normal" />
<RegExpr String="={4,4}$" context="#pop" attribute="Section" />
<RegExpr String="={1,3}$" context="#pop" attribute="Normal" />
<RegExpr String="=*[^=]+$" context="#pop" attribute="Normal" />
</context>
<context attribute="Section" lineEndContext="#pop" name="Section3" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsBeingBold" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="HtmlTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="={4,}$" context="#pop" attribute="Normal" />
<RegExpr String="={3,3}$" context="#pop" attribute="Section" />
<RegExpr String="={1,2}$" context="#pop" attribute="Normal" />
<RegExpr String="=*[^=]+$" context="#pop" attribute="Normal" />
</context>
<context attribute="Section" lineEndContext="#pop" name="Section2" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsBeingBold" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="HtmlTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="={3,}$" context="#pop" attribute="Normal" />
<RegExpr String="={2,2}$" context="#pop" attribute="Section" />
<RegExpr String="={1,1}$" context="#pop" attribute="Normal" />
<RegExpr String="=*[^=]+$" context="#pop" attribute="Normal" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="comment" >
<StringDetect String="--&gt;" context="#pop" attribute="Comment" endRegion="comment" />
</context>
<context attribute="Link" lineEndContext="#stay" name="URL" >
<DetectChar char="]" context="#pop" attribute="Wiki-Tag" />
<!-- <DetectChar char="'" context="Error" attribute="Error" /> -->
<context attribute="Link" lineEndContext="#stay" name="DelimitedURL" >
<DetectChar char="]" context="#pop" attribute="WikiTag" />
<DetectChar char="[" context="#stay" attribute="WikiTag" />
<RegExpr String="&url;" context="DelimitedUrlLink" lookAhead="true" />
<DetectChar char=" " context="URLTag" attribute="WikiTag" />
</context>
<context attribute="Link" lineEndContext="#stay" name="WikiLink" >
<DetectChar char="|" attribute="Wiki-Tag" context="WikiLinkDescription" />
<Detect2Chars char="]" char1="]" context="#pop" attribute="Wiki-Tag" />
<!-- <DetectChar char="'" context="Error" attribute="Error" /> -->
<context attribute="Link" lineEndContext="#stay" name="DelimitedUrlLink" >
<IncludeRules context="FindTemplate" />
<DetectChar char=" " context="#pop" lookAhead="true" />
<DetectChar char="]" context="#pop" lookAhead="true" />
</context>
<context attribute="Link" lineEndContext="#pop" name="LooseURL" >
<IncludeRules context="FindTemplate" />
<DetectChar char=" " context="#pop" attribute="WikiTag" />
</context>
<context attribute="Link" lineEndContext="#stay" name="WikiLinkDescription" >
<Detect2Chars char="]" char1="]" context="#pop" attribute="Wiki-Tag" lookAhead="true" />
<context attribute="Link" lineEndContext="#pop" name="LooseURLWithinTemplate" >
<IncludeRules context="FindTemplate" />
<Detect2Chars char="}" char1="}" context="#pop" lookAhead="true" />
<DetectChar char=" " context="#pop" attribute="WikiTag" />
</context>
<context attribute="dsNormal" lineEndContext="#stay" name="URLTag" >
<IncludeRules context="FindTextDecorations" />
<IncludeRules context="FindTemplate" />
<DetectChar char="]" context="#pop" lookAhead="true" />
</context>
<context attribute="Link" lineEndContext="#stay" name="WikiLink" >
<IncludeRules context="FindTemplate" />
<DetectChar char="#" attribute="WikiTag" context="#stay"/>
<DetectChar char="|" attribute="WikiTag" context="WikiLinkDescription" />
<Detect2Chars char="]" char1="]" context="#pop" attribute="WikiTag" />
</context>
<context attribute="Template" lineEndContext="#stay" name="Link" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="Wiki-Tag" />
<AnyChar String="'[]" context="Error" attribute="Error" />
<context attribute="dsNormal" lineEndContext="#stay" name="WikiLinkDescription" >
<IncludeRules context="FindTemplate" />
<Detect2Chars char="]" char1="]" context="#pop" attribute="WikiTag" lookAhead="true" />
</context>
<context attribute="Error" lineEndContext="#pop" name="Error" />
<context attribute="Link" lineEndContext="#stay" name="Template" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="Wiki-Tag" />
<!-- <DetectChar char="'" context="Error" attribute="Error" /> -->
<context attribute="TemplateName" lineEndContext="#stay" name="Template" >
<StringDetect String="|" context="TemplateParameterSlot" attribute="WikiTag" />
<Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" endRegion="template" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlot" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" />
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrlWithinTemplate" />
<IncludeRules context="FindTextDecorations" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="HtmlTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<StringDetect String="|" context="#pop" attribute="WikiTag" lookAhead="true" />
<RegExpr String="[^{}|=]+(?=[=])" attribute="Parameter" context="TemplateParameterSlotEqual" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotEqual" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" />
<StringDetect String="|" context="#pop" attribute="WikiTag" lookAhead="true" />
<StringDetect String="=" context="TemplateParameterSlotValue" attribute="WikiTag" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotValue" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrlWithinTemplate" />
<IncludeRules context="FindTextDecorations" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
<IncludeRules context="FindTemplate" />
<Detect2Chars char="[" char1="[" context="WikiLink" attribute="WikiTag" />
<RangeDetect char="&amp;" char1=";" attribute="HtmlEntity" context="#stay" />
<StringDetect String="&lt;nowiki&gt;" context="NoWiki" attribute="HtmlTag" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" />
<StringDetect String="|" context="#pop" attribute="WikiTag" lookAhead="true" />
</context>
<context attribute="Parameter" lineEndContext="#stay" name="TemplateParameter" >
<StringDetect String="}}}" context="#pop" attribute="WikiTag" />
</context>
<context attribute="NoWiki" lineEndContext="#stay" name="NoWiki" >
<RegExpr String="&lt;!--[^-]*--&gt;" attribute="NoWiki" />
<StringDetect String="&lt;/nowiki&gt;" context="#pop" attribute="Wiki-Tag" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HTML-Tag" context="#stay" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HTML-Tag" />
<StringDetect String="&lt;/nowiki&gt;" context="#pop" attribute="HtmlTag" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
</context>
<context attribute="Unformatted" lineEndContext="#pop" name="Unformatted" />
<context attribute="NoWiki" lineEndContext="#stay" name="Pre" >
<StringDetect String="&lt;/pre&gt;" context="#pop" attribute="Wiki-Tag" />
<StringDetect String="&lt;/pre&gt;" context="#pop" attribute="HtmlTag" />
</context>
<!-- <source> and <syntaxhighlight> tags. -->
<context name="SourceStartTag" attribute="Normal" lineEndContext="#stay">
<RegExpr String="(^|\s+)lang\=(&quot;javascript&quot;|&apos;javascript&apos;)" context="JavaScriptSourceStartTag" lookAhead="true" />
<DetectChar attribute="HtmlTag" context="UnsupportedLanguageSourceStartTag" char="&gt;" lookAhead="true" />
<IncludeRules context="FindHtmlStartTagAttributes" />
</context>
<context name="SyntaxHighlightStartTag" attribute="Normal" lineEndContext="#stay">
<RegExpr String="(^|\s+)lang\=(&quot;javascript&quot;|&apos;javascript&apos;)" context="JavaScriptSyntaxHighlightStartTag" lookAhead="true" />
<DetectChar attribute="HtmlTag" context="UnsupportedLanguageSyntaxHighlightStartTag" char="&gt;" lookAhead="true" />
<IncludeRules context="FindHtmlStartTagAttributes" />
</context>
<context name="UnsupportedLanguageSourceStartTag" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="HtmlTag" context="UnsupportedLanguageSourceContent" char="&gt;" />
<IncludeRules context="FindHtmlStartTagAttributes" />
</context>
<context name="UnsupportedLanguageSyntaxHighlightStartTag" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="HtmlTag" context="UnsupportedLanguageSyntaxHighlightContent" char="&gt;" />
<IncludeRules context="FindHtmlStartTagAttributes" />
</context>
<context name="JavaScriptSourceStartTag" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="HtmlTag" context="JavaScriptSourceContent" char="&gt;" />
<IncludeRules context="FindHtmlStartTagAttributes" />
</context>
<context name="JavaScriptSyntaxHighlightStartTag" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="HtmlTag" context="JavaScriptSyntaxHighlightContent" char="&gt;" />
<IncludeRules context="FindHtmlStartTagAttributes" />
</context>
<context name="UnsupportedLanguageSourceContent" attribute="NoWiki" lineEndContext="#stay">
<IncludeRules context="SourceEnd" />
</context>
<context name="UnsupportedLanguageSyntaxHighlightContent" attribute="NoWiki" lineEndContext="#stay">
<IncludeRules context="SyntaxHighlightEnd" />
</context>
<context name="JavaScriptSourceContent" attribute="NoWiki" lineEndContext="#stay">
<IncludeRules context="SourceEnd" />
<IncludeRules context="##JavaScript" />
</context>
<context name="JavaScriptSyntaxHighlightContent" attribute="NoWiki" lineEndContext="#stay">
<StringDetect String="&lt;/syntaxhighlight&gt;" context="#pop#pop#pop" attribute="HtmlTag" />
<IncludeRules context="SyntaxHighlightEnd" />
<IncludeRules context="##JavaScript" />
</context>
<context name="SourceEnd" >
<StringDetect String="&lt;/source&gt;" context="#pop#pop#pop" attribute="HtmlTag" />
</context>
<context name="SyntaxHighlightEnd" >
<StringDetect String="&lt;/syntaxhighlight&gt;" context="#pop#pop#pop" attribute="HtmlTag" />
</context>
<context name="HtmlAttribute" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="HtmlAttribute" context="HtmlValue" char="=" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="HtmlValue" attribute="Normal" lineEndContext="#stay">
<DetectChar attribute="HtmlValue" context="ValueWithDoubleQuotes" char="&quot;" />
<DetectChar attribute="HtmlValue" context="ValueWithSingleQuotes" char="&apos;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="ValueWithDoubleQuotes" attribute="HtmlValue" lineEndContext="#stay">
<DetectChar attribute="HtmlValue" context="#pop#pop#pop" char="&quot;" />
<IncludeRules context="FindHtmlEntities" />
</context>
<context name="ValueWithSingleQuotes" attribute="HtmlValue" lineEndContext="#stay">
<DetectChar attribute="HtmlValue" context="#pop#pop#pop" char="&apos;" />
<IncludeRules context="FindHtmlEntities" />
</context>
<context attribute="DefinitionListHeader" lineEndContext="#pop" name="DefinitionListHeader" >
<DetectChar char=":" context="#pop" attribute="WikiTag" />
</context>
<context attribute="Bold" lineEndContext="#pop" name="Bold" >
<IncludeRules context="FindTemplate" />
<StringDetect String="'''" context="#pop" attribute="WikiTag" />
<StringDetect String="''" context="BoldItalic" attribute="WikiTag" />
</context>
<context attribute="Italic" lineEndContext="#pop" name="Italic" >
<IncludeRules context="FindTemplate" />
<StringDetect String="'''" context="ItalicBold" attribute="WikiTag" />
<StringDetect String="''" context="#pop" attribute="WikiTag" />
</context>
<context attribute="BoldItalic" lineEndContext="#pop" name="BoldItalic" >
<IncludeRules context="FindTemplate" />
<StringDetect String="''" context="#pop" attribute="WikiTag" />
</context>
<context attribute="BoldItalic" lineEndContext="#pop" name="ItalicBold" >
<IncludeRules context="FindTemplate" />
<StringDetect String="'''" context="#pop" attribute="WikiTag" />
</context>
<context attribute="Underlined" lineEndContext="#stay" name="Underlined" >
<IncludeRules context="FindTemplate" />
<RegExpr String="&lt;/u *&gt;" context="#pop" attribute="HtmlTag" />
</context>
<!-- Contexts for inclusion. -->
<context name="FindHtmlEntities" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="HtmlEntity" context="#stay" String="&htmlEntity;" />
<AnyChar attribute="Error" context="#stay" String="&amp;&lt;" />
</context>
<context name="FindHtmlStartTagAttributes">
<RegExpr attribute="HtmlAttribute" context="HtmlAttribute" String="^&htmlTagName;" />
<RegExpr attribute="HtmlAttribute" context="HtmlAttribute" String="\s+&htmlTagName;" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindListItem" >
<RegExpr String="[*#;:\s]*[*#:]+" attribute="WikiTag" context="#stay" column="0" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindSyntaxHighlightingHtmlElement" >
<RegExpr String="&lt;source(?=\s)" context="SourceStartTag" attribute="HtmlTag" />
<RegExpr String="&lt;syntaxhighlight(?=\s)" context="SyntaxHighlightStartTag" attribute="HtmlTag" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindTemplate" >
<Detect2Chars char="{" char1="{" context="Template" attribute="WikiTag" beginRegion="template" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindTextDecorations" >
<StringDetect String="'''" attribute="WikiTag" context="Bold" />
<StringDetect String="''" attribute="WikiTag" context="Italic" />
<RegExpr String="&lt;u *&gt;" attribute="HtmlTag" context="Underlined" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindTextDecorationsBeingBold" >
<StringDetect String="'''" attribute="WikiTag" context="Bold" />
<StringDetect String="''" attribute="WikiTag" context="BoldItalic" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindUrl" >
<RegExpr String="\[&url;" attribute="WikiTag" context="DelimitedURL" lookAhead="true" />
<RegExpr String="&url;" attribute="URL" context="LooseURL" lookAhead="true" />
</context>
<context attribute="Normal" lineEndContext="#stay" name="FindUrlWithinTemplate" >
<RegExpr String="\[&url;" attribute="WikiTag" context="DelimitedURL" lookAhead="true" />
<RegExpr String="&url;" attribute="URL" context="LooseURLWithinTemplate" lookAhead="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal" defStyleNum="dsNormal" />
@ -81,12 +386,21 @@
<itemData name="URL" defStyleNum="dsOthers" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Section" defStyleNum="dsKeyword" />
<itemData name="HTML-Entity" defStyleNum="dsDecVal" />
<itemData name="HTML-Tag" defStyleNum="dsKeyword" />
<itemData name="Wiki-Tag" defStyleNum="dsDecVal" bold="true" />
<itemData name="DefinitionListHeader" defStyleNum="dsKeyword" />
<itemData name="HtmlEntity" defStyleNum="dsDecVal" />
<itemData name="HtmlTag" defStyleNum="dsKeyword" />
<itemData name="WikiTag" defStyleNum="dsDecVal" bold="true" />
<itemData name="Error" defStyleNum="dsError" />
<itemData name="NoWiki" defStyleNum="dsNormal" />
<itemData name="Unformatted" defStyleNum="dsNormal" />
<itemData name="Parameter" defStyleNum="dsNormal" bold="true" />
<itemData name="TemplateName" defStyleNum="dsOthers" bold="true" />
<itemData name="Bold" defStyleNum="dsNormal" bold="true" />
<itemData name="Italic" defStyleNum="dsNormal" italic="true" />
<itemData name="BoldItalic" defStyleNum="dsNormal" bold="true" italic="true" />
<itemData name="Underlined" defStyleNum="dsNormal" underline="true" />
<itemData name="HtmlAttribute" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="HtmlValue" defStyleNum="dsString" color="#a00" spellChecking="false" />
</itemDatas>
</highlighting>
<general>
@ -94,5 +408,6 @@
<comment end="//-->" start="&lt;!--" name="multiLine" />
</comments>
<keywords casesensitive="0" />
<indentation mode="normal" />
</general>
</language>

@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<language name="MEL" section="Scripts" version="1.00" kateversion="2.4" extensions="*.mel" mimetype="" author="Karl Erlandsen (karlerlandsen@yahoo.com)" license="GPL">
<language name="MEL" section="Scripts" version="1.02" kateversion="2.5" extensions="*.mel" mimetype="" author="Karl Erlandsen (karlerlandsen@yahoo.com)" license="GPL">
<highlighting>
<list name="keywords">
<item> break </item>
@ -1310,7 +1310,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal" >
<context attribute="Normal Text" lineEndContext="#stay" name="Normal" >
<DetectSpaces />
<Detect2Chars attribute="Block comments" context="Block comments" char="/" char1="*" beginRegion="Block comments" />
<Detect2Chars attribute="Line comments" context="Line comments" char="/" char1="/" />

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="MIPS Assembler" version="1.03" kateversion="2.4" section="Assembler" extensions="*.s;" mimetype="text/x-mips" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="-1">
<language name="MIPS Assembler" version="1.04" kateversion="2.5" section="Assembler" extensions="*.s;" mimetype="text/x-mips" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="-1">
<highlighting>
<list name="type">
<item> .align </item>

@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!--
====================================================================
Modelica syntax highlighting file for the KDE editors Kate and Kwrite
Modelica syntax highlighting file for the TDE editors Kate and Kwrite
====================================================================
Based on Modelica 3.0, available at the following link:
http://www.modelica.org/documents/ModelicaSpec30.pdf
@ -16,7 +16,7 @@
-->
<language name="Modelica" version="3.1" kateversion="2.0" casesensitive="1" section="Sources" extensions="*.mo" author="Federico Zenith" >
<language name="Modelica" version="3.3" kateversion="2.5" casesensitive="1" section="Sources" extensions="*.mo" author="Federico Zenith" >
<highlighting>
<!-- Classes in Modelica can be called different names; "class" is the
@ -188,7 +188,7 @@
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<RegExpr attribute="Keyword" String="\bend\s+(for|while|loop)\b" endRegion="loopBlock"/>
<RegExpr attribute="Keyword" String="\bloop\b" beginRegion="loopBlock"/>
<RegExpr attribute="Keyword" String="\bend\s+(if|when)\b" endRegion="thenBlock"/>

@ -10,8 +10,8 @@
Homepage: http://kde-files.org/content/show.php?content=90660
-->
<language name="Modelines"
version="0.3"
kateversion="2.4"
version="1.01"
kateversion="2.5"
section="Other"
extensions=""
mimetype=""
@ -33,7 +33,8 @@
</list>
<list name="Booleans">
<item> auto-brackets </item>
<!-- NOTE Deprecated -->
<!-- <item> auto-brackets </item> -->
<item> auto-insert-doxygen </item>
<item> backspace-indents </item>
<item> block-selection </item>
@ -41,12 +42,15 @@
<item> byte-order-marker </item>
<item> folding-markers </item>
<item> icon-border </item>
<!-- Since TDE 14 -->
<item> indent-pasted-text </item>
<item> keep-extra-spaces </item>
<item> line-numbers </item>
<item> newline-at-eof </item> <!-- Since KDE 4.9 -->
<item> newline-at-eof </item>
<item> overwrite-mode </item>
<item> persistent-selection </item>
<item> remove-trailing-space </item>
<!-- NOTE Deprecated -->
<!-- <item> remove-trailing-space </item> -->
<item> replace-tabs-save </item>
<item> replace-tabs </item>
<item> replace-trailing-space-save </item>
@ -96,6 +100,25 @@
<item> word-wrap-marker-color </item>
</list>
<list name="RemoveSpaces">
<item> remove-trailing-spaces </item>
</list>
<list name="RemoveSpacesOptions">
<item> 0 </item>
<item> - </item>
<item> none </item>
<item> modified </item>
<item> mod </item>
<item> + </item>
<item> 1 </item>
<item> all </item>
<item> * </item>
<item> 2 </item>
</list>
<contexts>
<context name="Normal" attribute="Comment" lineEndContext="#pop">
<DetectSpaces />
@ -108,13 +131,14 @@
<keyword String="Booleans" context="Booleans" attribute="Variable" />
<keyword String="Integrals" context="Integrals" attribute="Variable" />
<keyword String="Strings" context="Strings" attribute="Variable" />
<keyword String="RemoveSpaces" context="RemoveSpaces" attribute="Variable" />
<LineContinue context="#pop" />
</context>
<context name="Booleans" attribute="Comment" lineEndContext="#pop">
<DetectSpaces />
<keyword String="True" attribute="Boolean True" context="#stay" />
<keyword String="False" attribute="Boolean False" context="#stay" />
<keyword String="True" attribute="Option ON" context="#stay" />
<keyword String="False" attribute="Option OFF" context="#stay" />
<DetectChar char="&end;" context="#pop" attribute="Variable" />
<LineContinue context="#pop" />
</context>
@ -133,16 +157,24 @@
<LineContinue context="#pop" />
</context>
<context name="RemoveSpaces" attribute="Comment" lineEndContext="#pop">
<DetectSpaces />
<keyword String="RemoveSpacesOptions" attribute="Value" context="#pop" />
<DetectChar char="&end;" context="#pop" attribute="Variable" />
<LineContinue context="#pop" />
</context>
</contexts>
<itemDatas>
<itemData name="Comment" defStyleNum="dsComment" spellChecking="true" />
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />
<itemData name="Variable" defStyleNum="dsFunction" spellChecking="false" />
<itemData name="Boolean True" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Boolean False" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Number" defStyleNum="dsDecVal" spellChecking="false" />
<itemData name="String" defStyleNum="dsString" spellChecking="false" />
<itemData name="Value" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Option ON" defStyleNum="dsOthers" spellChecking="false" />
<itemData name="Option OFF" defStyleNum="dsOthers" spellChecking="false" />
</itemDatas>
</highlighting>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Modula-2" version="1.03" kateversion="2.1" section="Sources" extensions="*.mod;*.def;*.mi;*.md" mimetype="text/x-modula-2">
<language name="Modula-2" version="1.04" kateversion="2.5" section="Sources" extensions="*.mod;*.def;*.mi;*.md" mimetype="text/x-modula-2">
<highlighting>
<list name="directives">
<item> ASSEMBLER </item>

@ -10,7 +10,7 @@
License: GNU General Public License
-->
<language name="MonoBasic" section="Sources" version="1.01" kateversion="2.3" extensions="*.vb" mimetype="" author="Davide Bettio (davide.bettio@kdemail.net)" license="GPL">
<language name="MonoBasic" section="Sources" version="1.02" kateversion="2.5" extensions="*.vb" mimetype="" author="Davide Bettio (davide.bettio@kdemail.net)" license="GPL">
<highlighting>
<list name="keywords">
<item> Option </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Music Publisher" version="1.06" kateversion="2.4" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<language name="Music Publisher" version="1.07" kateversion="2.5" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>

@ -40,7 +40,7 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<language name="Intel x86 (NASM)" section="Assembler" version="1.40" kateversion="2.3" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL">
<language name="Intel x86 (NASM)" section="Assembler" version="1.41" kateversion="2.5" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL">
<highlighting>
<list name="registers">
<!-- General purpose registers -->

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Nemerle syntax highlighting v0.2 by caminoix, approved of and corrected by Kamil Skalski (Nazgul) -->
<language name="Nemerle" version="0.32" kateversion="2.4" section="Sources" extensions="*.n" mimetype="text/x-nemerle" casesensitive="1" author="caminoix + Kamil Skalski (Nazgul)" license="">
<language name="Nemerle" version="0.33" kateversion="2.5" section="Sources" extensions="*.n" mimetype="text/x-nemerle" casesensitive="1" author="caminoix + Kamil Skalski (Nazgul)" license="">
<highlighting>
<list name="Attributes">
<item>abstract</item>

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="nesC" author="Shakthi Kannan" license="GPLv2" version="1.01" kateversion="2.5" section="Sources" extensions="*.nc" mimetype="text/x-ncsrc" priority="5">
<highlighting>
<list name="keywords">
<item> break </item>
<item> case </item>
<item> continue </item>
<item> default </item>
<item> do </item>
<item> else </item>
<item> enum </item>
<item> extern </item>
<item> for </item>
<item> goto </item>
<item> if </item>
<item> inline </item>
<item> return </item>
<item> sizeof </item>
<item> struct </item>
<item> switch </item>
<item> typedef </item>
<item> union </item>
<item> while </item> <item> interface </item>
<item> module </item>
<item> configuration </item>
<item> implementation </item>
<item> components </item>
<item> as </item>
<item> uses </item>
<item> provides </item>
<item> includes </item>
<item> command </item>
<item> event </item>
<item> async </item>
<item> task </item>
<item> norace </item>
<item> default </item>
<item> __attribute__ </item>
<item> atomic </item>
<item> call </item>
<item> signal </item>
<item> post </item>
</list>
<list name="types">
<item> auto </item>
<item> char </item>
<item> const </item>
<item> double </item>
<item> float </item>
<item> int </item>
<item> long </item>
<item> register </item>
<item> restrict </item>
<item> short </item>
<item> signed </item>
<item> static </item>
<item> unsigned </item>
<item> void </item>
<item> volatile </item>
<item> _Imaginary </item>
<item> _Complex </item>
<item> _Bool </item>
<item> bool </item>
<item> uint8_t </item>
<item> uint16_t </item>
<item> uint32_t </item>
<item> uint64_t </item>
<item> result_t </item>
<item> SUCCESS </item>
<item> FAIL </item>
<item> TRUE </item>
<item> FALSE </item>
<item> TOSH_INTERRUPT </item>
<item> TOSH_SIGNAL </item>
<item> TOS_MsgPtr </item>
<item> TOS_Msg </item>
</list>
<list name="attention">
<item> FIXME </item>
<item> TODO </item>
<item> ### </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1"/>
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1"/>
<Float attribute="Float" context="#stay">
<AnyChar String="fF" attribute="Float" context="#stay"/>
</Float>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay">
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
</Int>
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="String" char="&quot;"/>
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<StringDetect attribute="Preprocessor" context="Outscoped" String="#if 0" insensitive="FALSE"/>
<DetectChar attribute="Preprocessor" context="Preprocessor" char="#"/>
<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])"/>
<RegExpr attribute="Symbol" context="Member" String="[.]{1,1}"/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^;"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="Member">
<RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)"/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<IncludeRules context="##Alerts"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<keyword attribute="Decimal" context="#stay" String="attention"/>
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/>
<RegExpr attribute="Preprocessor" context="#stay" String="define.*"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;"/>
<Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2"/>
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Define">
<LineContinue attribute="Preprocessor" context="#stay"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2"/>
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context"/>
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context2"/>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped">
<keyword attribute="Decimal" context="#stay" String="attention"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="^#if"/>
<RegExpr attribute="Preprocessor" context="#pop" String="#endif"/>
<RegExpr attribute="Preprocessor" context="#pop" String="#else"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
<RegExpr attribute="Comment" context="Outscoped intern" String="#if"/>
<RegExpr attribute="Comment" context="#pop" String="#endif"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Function" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="0" italic="0"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Symbol" defStyleNum="dsNormal"/>
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
<itemData name="Prep. Lib" defStyleNum="dsOthers"/> <!--,Qt::darkYellow,Qt::yellow,false,false)); -->
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//"/>
<comment name="multiLine" start="/*" end="*/"/>
</comments>
<keywords casesensitive="1"/>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="noweb" version="1.0" kateversion="2.4" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)">
<language name="noweb" version="1.01" kateversion="2.5" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)">
<!--
#########################################################################
# First version added to repository was 0.4, added as 1.0 .

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Objective-C" version="1.07" kateversion="2.3" section="Sources" extensions="*.m;*.h" mimetype="text/x-objc-src;text/x-c-hdr">
<language name="Objective-C" version="1.08" kateversion="2.5" section="Sources" extensions="*.m;*.h" mimetype="text/x-objc-src;text/x-c-hdr">
<highlighting>
<list name="keywords">
<item> break </item>
@ -35,6 +35,121 @@
<item> self </item>
<item> super </item>
</list>
<!-- QT/TQT extensions -->
<list name="extensions">
<item> K_DCOP </item>
<item> Q_ARG </item>
<item> Q_ASSERT </item>
<item> Q_ASSERT_X </item>
<item> Q_CHECK_PTR </item>
<item> Q_CLASSINFO </item>
<item> Q_CLEANUP_RESOURCE </item>
<item> Q_D </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_DECLARE_INTERFACE </item>
<item> Q_DECLARE_METATYPE </item>
<item> Q_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> Q_DECLARE_PRIVATE </item>
<item> Q_DECLARE_PUBLIC </item>
<item> Q_DECLARE_SHARED </item>
<item> Q_DECLARE_TYPEINFO </item>
<item> Q_DISABLE_COPY </item>
<item> Q_EMIT </item>
<item> Q_ENUMS </item>
<item> Q_EXPORT </item>
<item> Q_FLAGS </item>
<item> Q_FOREACH </item>
<item> Q_FOREVER </item>
<item> Q_GADGET </item>
<item> Q_GLOBAL_STATIC </item>
<item> Q_GLOBAL_STATIC_WITH_ARGS </item>
<item> Q_INIT_RESOURCE </item>
<item> Q_INTERFACES </item>
<item> Q_INVOKABLE </item>
<item> Q_NOREPLY </item>
<item> Q_OBJECT </item>
<item> Q_OVERRIDE </item>
<item> Q_PRIVATE_SLOT </item>
<item> Q_PROPERTY </item>
<item> Q_Q </item>
<item> Q_RETURN_ARG </item>
<item> Q_SCRIPTABLE </item>
<item> Q_SETS </item>
<item> Q_SIGNALS </item>
<item> Q_SLOTS </item>
<item> Q_UNUSED </item>
<item> SIGNAL </item>
<item> SLOT </item>
<item> TRUE </item>
<item> FALSE </item>
<item> TQ_ARG </item>
<item> TQ_ASSERT </item>
<item> TQ_ASSERT_X </item>
<item> TQ_CHECK_PTR </item>
<item> TQ_CLASSINFO </item>
<item> TQ_CLEANUP_RESOURCE </item>
<item> TQ_D </item>
<item> TQ_DECLARE_FLAGS </item>
<item> TQ_DECLARE_INTERFACE </item>
<item> TQ_DECLARE_METATYPE </item>
<item> TQ_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> TQ_DECLARE_PRIVATE </item>
<item> TQ_DECLARE_PUBLIC </item>
<item> TQ_DECLARE_SHARED </item>
<item> TQ_DECLARE_TYPEINFO </item>
<item> TQ_DISABLE_COPY </item>
<item> TQ_EMIT </item>
<item> TQ_ENUMS </item>
<item> TQ_EXPORT </item>
<item> TQ_FLAGS </item>
<item> TQ_FOREACH </item>
<item> TQ_FOREVER </item>
<item> TQ_GADGET </item>
<item> TQ_GLOBAL_STATIC </item>
<item> TQ_GLOBAL_STATIC_WITH_ARGS </item>
<item> TQ_INIT_RESOURCE </item>
<item> TQ_INTERFACES </item>
<item> TQ_INVOKABLE </item>
<item> TQ_NOREPLY </item>
<item> TQ_OBJECT </item>
<item> TQ_OVERRIDE </item>
<item> TQ_PRIVATE_SLOT </item>
<item> TQ_PROPERTY </item>
<item> TQ_Q </item>
<item> TQ_RETURN_ARG </item>
<item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item>
<item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item>
<item> TQT_SIGNAL </item>
<item> TQT_SLOT </item>
<item> TQT_TQOBJECT </item>
<item> connect </item>
<item> disconnect </item>
<item> emit </item>
<item> signals </item>
<item> slots </item>
<item> foreach </item>
<item> forever </item>
<item> qint8 </item>
<item> qint16 </item>
<item> qint32 </item>
<item> qint64 </item>
<item> qlonglong </item>
<item> qptrdiff </item>
<item> qreal </item>
<item> quint8 </item>
<item> quint16 </item>
<item> quint32 </item>
<item> quint64 </item>
<item> quintptr </item>
<item> qulonglong </item>
</list>
<list name="types">
<item> auto </item>
<item> char </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Objective-C++" version="1.01" kateversion="2.4" section="Sources" extensions="*.mm;*.M;*.h" mimetype="text/x-objcpp-src;text/x-c-hdr" author="Gennady Telegin (gepo@lvk.cs.msu.su">
<language name="Objective-C++" version="1.02" kateversion="2.5" section="Sources" extensions="*.mm;*.M;*.h" mimetype="text/x-objcpp-src;text/x-c-hdr" author="Gennady Telegin (gepo@lvk.cs.msu.su">
<highlighting>
<list name="keywords">
<item> break </item>
@ -80,47 +80,99 @@
<item> xor </item>
<item> xor_eq </item>
</list>
<!-- QT/TQT extensions -->
<list name="extensions">
<item> K_DCOP </item>
<item> SLOT </item>
<item> SIGNAL </item>
<item> Q_ARG </item>
<item> Q_ASSERT </item>
<item> Q_ASSERT_X </item>
<item> Q_CHECK_PTR </item>
<item> Q_CLASSINFO </item>
<item> Q_ENUMS </item>
<item> Q_EXPORT </item>
<item> Q_OBJECT </item>
<item> Q_OVERRIDE </item>
<item> Q_PROPERTY </item>
<item> Q_SETS </item>
<item> Q_SIGNALS </item>
<item> Q_SLOTS </item>
<item> Q_FOREACH </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_INIT_RESOURCE </item>
<item> Q_CLEANUP_RESOURCE </item>
<item> Q_GLOBAL_STATIC </item>
<item> Q_GLOBAL_STATIC_WITH_ARGS </item>
<item> Q_DECLARE_INTERFACE </item>
<item> Q_DECLARE_TYPEINFO </item>
<item> Q_DECLARE_SHARED </item>
<item> Q_D </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_DECLARE_INTERFACE </item>
<item> Q_DECLARE_METATYPE </item>
<item> Q_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> Q_FOREVER </item>
<item> Q_DECLARE_PRIVATE </item>
<item> Q_DECLARE_PUBLIC </item>
<item> Q_D </item>
<item> Q_Q </item>
<item> Q_DECLARE_SHARED </item>
<item> Q_DECLARE_TYPEINFO </item>
<item> Q_DISABLE_COPY </item>
<item> Q_INTERFACES </item>
<item> Q_EMIT </item>
<item> Q_ENUMS </item>
<item> Q_EXPORT </item>
<item> Q_FLAGS </item>
<item> Q_SCRIPTABLE </item>
<item> Q_INVOKABLE </item>
<item> Q_FOREACH </item>
<item> Q_FOREVER </item>
<item> Q_GADGET </item>
<item> Q_ARG </item>
<item> Q_GLOBAL_STATIC </item>
<item> Q_GLOBAL_STATIC_WITH_ARGS </item>
<item> Q_INIT_RESOURCE </item>
<item> Q_INTERFACES </item>
<item> Q_INVOKABLE </item>
<item> Q_NOREPLY </item>
<item> Q_OBJECT </item>
<item> Q_OVERRIDE </item>
<item> Q_PRIVATE_SLOT </item>
<item> Q_PROPERTY </item>
<item> Q_Q </item>
<item> Q_RETURN_ARG </item>
<item> Q_ASSERT </item>
<item> Q_ASSERT_X </item>
<item> Q_SCRIPTABLE </item>
<item> Q_SETS </item>
<item> Q_SIGNALS </item>
<item> Q_SLOTS </item>
<item> Q_UNUSED </item>
<item> SIGNAL </item>
<item> SLOT </item>
<item> TRUE </item>
<item> FALSE </item>
<item> TQ_ARG </item>
<item> TQ_ASSERT </item>
<item> TQ_ASSERT_X </item>
<item> TQ_CHECK_PTR </item>
<item> TQ_CLASSINFO </item>
<item> TQ_CLEANUP_RESOURCE </item>
<item> TQ_D </item>
<item> TQ_DECLARE_FLAGS </item>
<item> TQ_DECLARE_INTERFACE </item>
<item> TQ_DECLARE_METATYPE </item>
<item> TQ_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> TQ_DECLARE_PRIVATE </item>
<item> TQ_DECLARE_PUBLIC </item>
<item> TQ_DECLARE_SHARED </item>
<item> TQ_DECLARE_TYPEINFO </item>
<item> TQ_DISABLE_COPY </item>
<item> TQ_EMIT </item>
<item> TQ_ENUMS </item>
<item> TQ_EXPORT </item>
<item> TQ_FLAGS </item>
<item> TQ_FOREACH </item>
<item> TQ_FOREVER </item>
<item> TQ_GADGET </item>
<item> TQ_GLOBAL_STATIC </item>
<item> TQ_GLOBAL_STATIC_WITH_ARGS </item>
<item> TQ_INIT_RESOURCE </item>
<item> TQ_INTERFACES </item>
<item> TQ_INVOKABLE </item>
<item> TQ_NOREPLY </item>
<item> TQ_OBJECT </item>
<item> TQ_OVERRIDE </item>
<item> TQ_PRIVATE_SLOT </item>
<item> TQ_PROPERTY </item>
<item> TQ_Q </item>
<item> TQ_RETURN_ARG </item>
<item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item>
<item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item>
<item> TQT_SIGNAL </item>
<item> TQT_SLOT </item>
<item> TQT_TQOBJECT </item>
<item> connect </item>
<item> disconnect </item>
<item> emit </item>
@ -128,7 +180,21 @@
<item> slots </item>
<item> foreach </item>
<item> forever </item>
<item> qint8 </item>
<item> qint16 </item>
<item> qint32 </item>
<item> qint64 </item>
<item> qlonglong </item>
<item> qptrdiff </item>
<item> qreal </item>
<item> quint8 </item>
<item> quint16 </item>
<item> quint32 </item>
<item> quint64 </item>
<item> quintptr </item>
<item> qulonglong </item>
</list>
<list name="types">
<item> auto </item>
<item> char </item>

@ -9,7 +9,7 @@
<!ENTITY ESC "(\\[ntbr'&quot;\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})"> <!-- OCaml character code escapes. -->
<!ENTITY DEC "[0-9][0-9_]*"> <!-- Decimal digits with underscores. -->
]>
<language name="Objective Caml" version="1.05" kateversion="2.4" section="Sources" extensions="*.ml;*.mli" mimetype="" priority="10" author="Glyn Webster (glyn@wave.co.nz)" license="LGPL">
<language name="Objective Caml" version="1.06" kateversion="2.5" section="Sources" extensions="*.ml;*.mli" mimetype="" priority="10" author="Glyn Webster (glyn@wave.co.nz)" license="LGPL">
<highlighting>
<!-- Revised Syntax keywords are highlighted as identifiers by default. -->

@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!--
====================================================================
Octave syntax highlighting file for the KDE editors Kate and Kwrite
Octave syntax highlighting file for the TDE editors Kate and Kwrite
====================================================================
based on Octave 2.1.64
function and variable list obtained by dispatch_help()'s output
@ -15,7 +15,7 @@
-->
<language name="Octave" version="1.01" kateversion="2.3" section="Scientific" extensions="*.octave;*.m;*.M" mimetype="text/octave" casesensitive="1" license="GPL" author="Luis Silvestre and Federico Zenith">
<language name="Octave" version="1.02" kateversion="2.5" section="Scientific" extensions="*.octave;*.m;*.M" mimetype="text/octave" casesensitive="1" license="GPL" author="Luis Silvestre and Federico Zenith">
<highlighting>

@ -1,15 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="OORS" version="1.0" kateversion="2.4" section="Sources" extensions="*.oors" author="Gernot Gebhard (gebhard@cs.uni-sb.de)" license="LGPL">
<language name="OORS" version="1.2" kateversion="2.5" section="Sources" extensions="*.oors" author="Gernot Gebhard (gebhard@cs.uni-sb.de)" license="LGPL">
<highlighting>
<list name="oors">
<item>allow</item>
<item>apply</item>
<item>backtrack</item>
<item>copy</item>
<item>condition</item>
<item>deny</item>
<item>extends</item>
<item>graph</item>
<item>if</item>
<item>else</item>
<item>linear</item>
<item>profile</item>
<item>rule</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="OPAL" version="1.1" kateversion="2.1" section="Sources" extensions="*.impl;*.sign" mimetype="" author="Sebastian Pipping (webmaster@hartwork.org)">
<language name="OPAL" version="1.2" kateversion="2.5" section="Sources" extensions="*.impl;*.sign" mimetype="" author="Sebastian Pipping (webmaster@hartwork.org)">
<highlighting>

@ -0,0 +1,257 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="OpenCL" section="Sources"
version="1.45" kateversion="2.5"
indenter="cstyle"
extensions="*.cl"
mimetype="text/x-clsrc"
priority="5">
<highlighting>
<list name="keywords">
<item> __constant </item>
<item> __global </item>
<item> __local </item>
<item> __private </item>
<item> __kernel </item>
<item> __read_only </item>
<item> __write_only </item>
<item> constant </item>
<item> global </item>
<item> local </item>
<item> private </item>
<item> kernel </item>
<item> read_only </item>
<item> write_only </item>
<item> break </item>
<item> case </item>
<item> continue </item>
<item> default </item>
<item> do </item>
<item> else </item>
<item> enum </item>
<item> for </item>
<item> goto </item>
<item> if </item>
<item> inline </item>
<item> return </item>
<item> sizeof </item>
<item> struct </item>
<item> switch </item>
<item> typedef </item>
<item> union </item>
<item> while </item>
</list>
<list name="types">
<item> bool </item>
<item> uchar </item>
<item> uchar2 </item>
<item> uchar3 </item>
<item> uchar4 </item>
<item> uchar8 </item>
<item> uchar16 </item>
<item> char </item>
<item> char2 </item>
<item> char3 </item>
<item> char4 </item>
<item> char8 </item>
<item> char16 </item>
<item> const </item>
<item> double </item>
<item> double2 </item>
<item> double3 </item>
<item> double4 </item>
<item> double8 </item>
<item> double16 </item>
<item> event_t </item>
<item> float </item>
<item> float2 </item>
<item> float3 </item>
<item> float4 </item>
<item> float8 </item>
<item> float16 </item>
<item> half </item>
<item> half2 </item>
<item> half3 </item>
<item> half4 </item>
<item> half8 </item>
<item> half16 </item>
<item> image1d_t </item>
<item> image2d_t </item>
<item> image3d_t </item>
<item> uint </item>
<item> uint2 </item>
<item> uint3 </item>
<item> uint4 </item>
<item> uint8 </item>
<item> uint16 </item>
<item> int </item>
<item> int2 </item>
<item> int3 </item>
<item> int4 </item>
<item> int8 </item>
<item> int16 </item>
<item> ulong </item>
<item> ulong2 </item>
<item> ulong3 </item>
<item> ulong4 </item>
<item> ulong8 </item>
<item> ulong16 </item>
<item> long </item>
<item> long2 </item>
<item> long3 </item>
<item> long4 </item>
<item> long8 </item>
<item> long16 </item>
<item> restrict </item>
<item> sampler_t </item>
<item> ushort </item>
<item> ushort2 </item>
<item> ushort3 </item>
<item> ushort4 </item>
<item> ushort8 </item>
<item> ushort16 </item>
<item> short </item>
<item> short2 </item>
<item> short3 </item>
<item> short4 </item>
<item> short8 </item>
<item> short16 </item>
<item> signed </item>
<item> static </item>
<item> unsigned </item>
<item> void </item>
<item> volatile </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<DetectSpaces />
<RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0\s*$" beginRegion="PP" firstNonSpace="true" />
<DetectChar context="AfterHash" char="#" firstNonSpace="true" lookAhead="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//BEGIN" beginRegion="Region1" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//END" endRegion="Region1" firstNonSpace="true" />
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<DetectIdentifier />
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<Float attribute="Float" context="#stay">
<AnyChar String="fF" attribute="Float" context="#stay"/>
</Float>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay" >
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
</Int>
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="String" char="&quot;"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^&#59;"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
</context>
<context attribute="Region Marker" lineEndContext="#pop" name="Region Marker">
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<LineContinue attribute="Comment" context="#stay"/>
<IncludeRules context="##Alerts" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<IncludeRules context="##Alerts" />
</context>
<context attribute="Error" lineEndContext="#pop" name="AfterHash">
<!-- define, elif, else, endif, error, if, ifdef, ifndef, include, include_next, line, pragma, undef, warning -->
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*if(?:def|ndef)?(?=\s+\S)" insensitive="true" beginRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*endif" insensitive="true" endRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Define" String="#\s*define.*((?=\\))" insensitive="true" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*(?:el(?:se|if)|include(?:_next)?|define|undef|line|error|warning|pragma)" insensitive="true" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s+[0-9]+" insensitive="true" firstNonSpace="true" />
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/" />
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Define">
<LineContinue attribute="Preprocessor" context="#stay"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped" >
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<DetectChar attribute="String" context="String" char="&quot;"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="#pop" String="#\s*el(?:se|if)" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="#pop" String="#\s*endif" endRegion="PP" firstNonSpace="true" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<DetectChar attribute="String" context="String" char="&quot;"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="PP" firstNonSpace="true" />
<RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="PP" firstNonSpace="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Data Type" defStyleNum="dsDataType" spellChecking="false"/>
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Preprocessor" defStyleNum="dsOthers" spellChecking="false"/>
<itemData name="Prep. Lib" defStyleNum="dsOthers" spellChecking="false"/> <!--,Qt::darkYellow,Qt::yellow,false,false)); -->
<itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1" additionalDeliminator="'&quot;" />
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Pango" version="0.1" kateversion="2.4" section="Markup" extensions="" mimetype="" author="Jonathan Schmidt-Domniné &lt;devel@the-user.org&gt;" license="LGPL" priority="10">
<language name="Pango" version="0.2" kateversion="2.5" section="Markup" extensions="" mimetype="" author="Jonathan Schmidt-Domniné &lt;devel@the-user.org&gt;" license="LGPL" priority="10">
<highlighting>

@ -1,6 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Pascal" version="1.22" kateversion="2.5.9" section="Sources" extensions="*.pp;*.pas;*.p" mimetype="text/x-pascal" author="Unnamed people and Liu Sizhuang(oldherl@gmail.com)">
<language name="Pascal"
section="Sources"
version="1.23"
kateversion="2.5"
extensions="*.p;*.pas;*.pp"
mimetype="text/x-pascal"
priority="8"
indenter="pascal"
author="Unnamed people and Liu Sizhuang(oldherl@gmail.com)"
>
<highlighting>
<list name="keywords">
<item> and </item>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
This file is part of the KDE project
This file is part of the TDE project
Copyright (C) 2001, 2002, 2003, 2004 Anders Lund <anders@alweb.dk>
This library is free software; you can redistribute it and/or
@ -39,7 +39,7 @@
Enhance tr/// and y/// support.
-->
<language name="Perl" version="1.26" kateversion="2.4" section="Scripts" extensions="*.pl;*.pm" mimetype="application/x-perl;text/x-perl" author="Anders Lund (anders@alweb.dk)" license="LGPL">
<language name="Perl" version="1.30" kateversion="2.5" section="Scripts" extensions="*.pl;*.PL;*.pm" mimetype="application/x-perl;text/x-perl" priority="5" author="Anders Lund (anders@alweb.dk)" license="LGPL">
<highlighting>
<list name="keywords">
<item> if </item>
@ -350,9 +350,12 @@
<DetectSpaces />
<DetectChar attribute="Comment" context="comment" char="#" />
<HlCOct attribute="Octal" context="slash_safe_escape" />
<HlCHex attribute="Hex" context="slash_safe_escape" />
<Float attribute="Float" context="slash_safe_escape" />
<!-- Numeric values. Note that we have to allow underscores between two digits (thus the creepy regular expressions). -->
<RegExpr attribute="Hex" String="\b\-?0[xX]([0-9a-fA-F]|_[0-9a-fA-F])+" context="slash_safe_escape"/>
<RegExpr attribute="Bin" String="\b\-?0[bB]([01]|_[01])+" context="slash_safe_escape"/>
<RegExpr attribute="Octal" String="\b\-?0[1-7]([0-7]|_[0-7])*" context="slash_safe_escape"/>
<RegExpr attribute="Float" String="\b\-?[0-9]([0-9]|_[0-9])*\.[0-9]([0-9]|_[0-9])*([eE]\-?[1-9]([0-9]|_[0-9])*(\.[0-9]*)?)?" context="slash_safe_escape"/>
<RegExpr attribute="Decimal" String="\b\-?[1-9]([0-9]|_[0-9])*\b" context="slash_safe_escape"/>
<Int attribute="Decimal" context="slash_safe_escape" />
<RegExpr attribute="Normal Text" context="#stay" String="\\([&quot;'])[^\1]" />
@ -382,7 +385,7 @@
<RegExpr attribute="Normal Text" context="#stay" String="[\w_]+\s*/" />
<RegExpr attribute="Normal Text" context="#stay" String="[&lt;&gt;&quot;':]/" />
<DetectChar attribute="Operator" context="pattern_slash" char="/" beginRegion="Pattern" />
<RegExpr attribute="Operator" context="#stay" String="-[rwxoRWXOeszfdlpSbctugkTBMAC]" />
<RegExpr attribute="Operator" context="#stay" String="-[rwxoRWXOeszfdlpSbctugkTBMAC]\b" />
<DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Block" />
<DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Block" />
@ -573,9 +576,9 @@
</context>
<context name="tr" attribute="Pattern" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop" >
<RegExpr attribute="Pattern" context="#pop" String="([^)]*\)\s*\(?:[^)]*\)" />
<RegExpr attribute="Pattern" context="#pop" String="{[^}]*\}\s*\{[^}]*\}" />
<RegExpr attribute="Pattern" context="#pop" String="\[[^}]*\]\s*\[[^\]]*\]" />
<RegExpr attribute="Pattern" context="#pop" String="\([^)]*\)\s*\(?:[^)]*\)" />
<RegExpr attribute="Pattern" context="#pop" String="\{[^}]*\}\s*\{[^}]*\}" />
<RegExpr attribute="Pattern" context="#pop" String="\[[^]]*\]\s*\[[^\]]*\]" />
<RegExpr attribute="Pattern" context="#pop" String="([^a-zA-Z0-9_\s[\]{}()]).*\1.*\1" minimal="true"/>
</context>
@ -815,6 +818,7 @@
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="Octal" defStyleNum="dsBaseN" />
<itemData name="Hex" defStyleNum="dsBaseN" />
<itemData name="Bin" defStyleNum="dsBaseN" />
<itemData name="Float" defStyleNum="dsFloat" />
<itemData name="String" defStyleNum="dsString" color="#FF6C6C" selColor="#FF6C6C" bold="0" italic="0" />
<itemData name="String (interpolated)" defStyleNum="dsString" />

@ -2,7 +2,7 @@
====================================================================
PGN - Portable Game Notation syntax highlighting file for the
KDE editors Kate and Kwrite
TDE editors Kate and Kwrite
====================================================================
// PGN - Portable Game Notation highlighter
// To write your chess (and others) games
@ -12,7 +12,7 @@
- Know bugs:
* None.
-->
<language name="PGN" version="2.01" kateversion="2.4" section="Other" extensions="*.pgn;*.PGN" priority="5" mimetype="" casesensitive="1" author="Ruben Carlo Benante (dr.beco@gmail.com)" license="GNU/GPL">
<language name="PGN" version="2.02" kateversion="2.5" section="Other" extensions="*.pgn;*.PGN" priority="5" mimetype="" casesensitive="1" author="Ruben Carlo Benante (dr.beco@gmail.com)" license="GNU/GPL">
<highlighting>
<list name="keywords_list">
<item> Event </item>

Diff onderdrukt omdat het te groot bestand Laad Diff

@ -8,7 +8,7 @@
* Updated for 16-bit devices, etc.: Laurence Withers <lwithers@users.sf.net>
-->
<language name="PicAsm" version="1.07" kateversion="2.3" section="Assembler" extensions="*.src;*.SRC;*.asm;*.ASM;*.pic;*.PIC" mimetype="text/x-PicSrc;text/x-PicHdr" author="Alain GIBAUD (alain.gibaud@univ-valenciennes.fr)" license="LGPL">
<language name="PicAsm" version="1.08" kateversion="2.5" section="Assembler" extensions="*.src;*.SRC;*.asm;*.ASM;*.pic;*.PIC" mimetype="text/x-PicSrc;text/x-PicHdr" author="Alain GIBAUD (alain.gibaud@univ-valenciennes.fr)" license="LGPL">
<highlighting>
<list name="directives">

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Pig syntax highlighting v3.0, Copyright © 2012 Johannes Schwenk, johannes.schwenk@adition.com -->
<language name="Pig" version="3.0" kateversion="2.4" section="Scripts" extensions="*.pig" mimetype="application/x-pig;text/x-pig" casesensitive="0" author="Johannes Schwenk, johannes.schwenk@adition.com" license="GNU GPL">
<language name="Pig" version="3.1" kateversion="2.5" section="Scripts" extensions="*.pig" mimetype="application/x-pig;text/x-pig" casesensitive="0" author="Johannes Schwenk, johannes.schwenk@adition.com" license="GNU GPL">
<highlighting>
<list name="keywords">
<item> load </item>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- FIXME: Find a way to prevent ranges (e.g. [1..] or [0..99]) from matching as floats. -pp -->
<language name="Pike" version="1.07" kateversion="2.4" section="Scripts" extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1" author="Paul Pogonyshev" license="">
<language name="Pike" version="1.08" kateversion="2.5" section="Scripts" extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1" author="Paul Pogonyshev" license="">
<highlighting>
<list name="keywords">
<item> break </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="PostScript" version="1.01" kateversion="2.1" section="Markup" extensions="*.ps;*.ai;*.eps" mimetype="application/postscript">
<language name="PostScript" version="1.02" kateversion="2.5" section="Markup" extensions="*.ps;*.ai;*.eps" mimetype="application/postscript">
<highlighting>
<list name="keywords">
<item> abs </item>

@ -5,7 +5,7 @@
<!-- features full POV-Ray 3.6 syntax with special highlighting -->
<!-- of variable and macro declarations -->
<!-- v1.1: added MegaPOV 1.2.1 keywords (Febuary 2006) -->
<language name="POV-Ray" version="1.1" kateversion="2.4" section="Other" extensions="*.inc;*.pov" mimetype="text/x-povray-script;text/x-povray-include" author="Christoph Hormann (chris_hormann@gmx.de)" license="LGPL" priority="2">
<language name="POV-Ray" version="1.2" kateversion="2.5" section="Other" extensions="*.inc;*.pov" mimetype="text/x-povray-script;text/x-povray-include" author="Christoph Hormann (chris_hormann@gmx.de)" license="LGPL" priority="2">
<highlighting>
<list name="keywords">
<item> aa_threshold </item>

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd" []>
<!--
The following documentation is available for PPD:
- File Format Specification: http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf
- Update to the Specification: http://partners.adobe.com/public/developer/en/ps/5645.PPD_Update.pdf
- CUPS PPD Extensions: http://www.cups.org/documentation.php/doc-1.4/spec-ppd.html
-->
<language name="PostScript Printer Description" version="0.2" kateversion="2.5" section="Markup" extensions="*.ppd" author="Lukas Sommer" mimetype="application/vnd.cups-ppd" license="public domain">
<highlighting>
<contexts>
<context attribute="Option" lineEndContext="#stay" name="contextNormal">
<Detect2Chars context="contextComment" char="*" char1="%" column="0"/>
<DetectChar attribute="Colon" context="contextValue" char=":" />
<StringDetect attribute="Keyword" String="*OpenUI" beginRegion="ui"/>
<StringDetect attribute="Keyword" String="*CloseUI" endRegion="ui"/>
<StringDetect attribute="Keyword" String="*OpenGroup" beginRegion="group"/>
<StringDetect attribute="Keyword" String="*CloseGroup" endRegion="group"/>
<RegExpr attribute="Keyword" String="\*[&#33;-&#46;&#48;-&#57;&#59;-&#126;]*"/> <!-- According to http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf page 16 (page 20 in the PDF file), all characters from 33 to 126 are allowed, except ':' and '/'. -->
</context>
<context attribute="Comment" lineEndContext="#pop" name="contextComment">
<IncludeRules context="##Alerts"/>
</context>
<context attribute="Value" lineEndContext="#pop" name="contextValue"></context>
</contexts>
<itemDatas>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Colon" defStyleNum="dsKeyword"/>
<itemData name="Value" defStyleNum="dsString"/>
<itemData name="Option" defStyleNum="dsOthers"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="*%"/>
</comments>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="progress" version="1.10" kateversion="2.4" section="Database" extensions="*.p;*.w;*.i;*.cls;" author="Rares Stanciulescu (rstanciu@operamail.com)" license="GPL">
<language name="progress" version="1.11" kateversion="2.5" section="Database" extensions="*.p;*.w;*.i;*.cls;" author="Rares Stanciulescu (rstanciu@operamail.com)" license="GPL">
<highlighting>

Diff onderdrukt omdat het te groot bestand Laad Diff

@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Protobuf" version="2.41" kateversion="2.5" section="Sources" extensions="*.proto" mimetype="text/x-protobuf" author="Slawomir Mikula (slawek.mikula@gmail.com)" license="LGPL">
<highlighting>
<list name="keywords">
<item> message </item>
<item> required </item>
<item> optional </item>
<item> repeated </item>
<item> packed </item>
<item> enum </item>
<item> default </item>
<item> import </item>
<item> public </item>
<item> extensions </item>
<item> package </item>
<item> option </item>
<item> deprecated </item>
<item> extend </item>
</list>
<list name="operators">
<item> = </item>
<item> ; </item>
</list>
<list name="datatypes">
<item> double </item>
<item> float </item>
<item> int32 </item>
<item> int64 </item>
<item> uint32 </item>
<item> uint64 </item>
<item> sint32 </item>
<item> sint64 </item>
<item> fixed32 </item>
<item> fixed64 </item>
<item> sfixed32 </item>
<item> sfixed64 </item>
<item> bool </item>
<item> string </item>
<item> bytes </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<DetectSpaces />
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Operator" context="#stay" String="operators"/>
<keyword attribute="Data Type" context="#stay" String="datatypes"/>
<RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b" />
<DetectIdentifier />
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<DetectChar attribute="String" context="String" char="&quot;"/>
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^&#59;"/>
<Float attribute="Float" context="#stay">
<AnyChar String="fF" attribute="Float" context="#stay"/>
</Float>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay">
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
</Int>
<HlCChar attribute="Char" context="#stay"/>
<RegExpr attribute="Char" context="#stay" String="'\\u[0-9a-fA-F]{4}'"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="Imports">
<RegExpr attribute="Imports" context="#pop" String="\s*.*;" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<LineContinue attribute="Comment" context="#stay"/>
<IncludeRules context="##Alerts" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<IncludeRules context="##Alerts" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Data Type" defStyleNum="dsDataType" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Imports" defStyleNum="dsOthers"/>
<itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1" />
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="PureBasic" version="3.91" kateversion="2.3" section="Sources" extensions="*.pb" mimetype="text/x-purebasic" author="Sven Langenkamp (ace@kylixforum.de)" license="LGPL">
<language name="PureBasic" version="3.92" kateversion="2.5" section="Sources" extensions="*.pb" mimetype="text/x-purebasic" author="Sven Langenkamp (ace@kylixforum.de)" license="LGPL">
<highlighting>
<list name="keywords">
<item> For </item>

@ -13,7 +13,7 @@
<!-- v2.06 decorator names can (and often do) contain periods -->
<!-- v2.07 add support for %prog and co, see bug 142832 -->
<!-- v2.08 add missing overloaders, new Python 3 statements, builtins, and keywords -->
<language name="Python" version="2.11" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license="">
<language name="Python" version="2.23" style="python" kateversion="2.5" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license="">
<highlighting>
<list name="prep">
<item> import </item>
@ -35,10 +35,6 @@
<item> not </item>
<item> or </item>
</list>
<list name="commands">
<item> exec </item>
<item> print </item>
</list>
<list name="flow">
<item> assert </item>
<item> break </item>
@ -58,17 +54,18 @@
<item> yield </item>
</list>
<list name="builtinfuncs">
<item> __future__ </item>
<item> __import__ </item>
<item> __name__ </item>
<item> abs </item>
<item> all </item>
<item> any </item>
<item> apply </item>
<item> ascii </item>
<item> basestring </item>
<item> bin </item>
<item> bool </item>
<item> buffer </item>
<item> bytearray </item>
<item> bytes </item>
<item> callable </item>
<item> chr </item>
<item> classmethod </item>
@ -82,6 +79,7 @@
<item> divmod </item>
<item> enumerate </item>
<item> eval </item>
<item> exec </item>
<item> execfile </item>
<item> file </item>
<item> filter </item>
@ -107,6 +105,7 @@
<item> long </item>
<item> map </item>
<item> max </item>
<item> memoryview </item>
<item> min </item>
<item> next </item>
<item> object </item>
@ -114,6 +113,7 @@
<item> open </item>
<item> ord </item>
<item> pow </item>
<item> print </item>
<item> property </item>
<item> range </item>
<item> raw_input </item>
@ -147,6 +147,7 @@
<item> Ellipsis </item>
<item> __debug__ </item>
<item> __file__ </item>
<item> __name__ </item>
</list>
<list name="bindings">
<item> SIGNAL </item>
@ -243,33 +244,60 @@
<item>__coerce__</item>
<item>__enter__</item>
<item>__exit__</item>
<item>__bytes__</item>
<item>__format__</item>
<item>__next__</item>
<item>__dir__</item>
</list>
<list name="exceptions">
<!--
Exceptions list resources used:
- http://docs.python.org/2.7/library/exceptions.html#exception-hierarchy
- http://docs.python.org/3.4/library/exceptions.html#exception-hierarchy
-->
<item>ArithmeticError</item>
<item>AssertionError</item>
<item>AttributeError</item>
<item>BaseException</item>
<item>BlockingIOError</item>
<item>BrokenPipeError</item>
<item>BufferError</item>
<item>BytesWarning</item>
<item>ChildProcessError</item>
<item>ConnectionAbortedError</item>
<item>ConnectionError</item>
<item>ConnectionRefusedError</item>
<item>ConnectionResetError</item>
<item>DeprecationWarning</item>
<item>EnvironmentError</item>
<item>EOFError</item>
<item>Exception</item>
<item>FileExistsError</item>
<item>FileNotFoundError</item>
<item>FloatingPointError</item>
<item>FutureWarning</item>
<item>GeneratorExit</item>
<item>IOError</item>
<item>ImportError</item>
<item>ImportWarning</item>
<item>IndentationError</item>
<item>IndexError</item>
<item>KeyError</item>
<item>InterruptedError</item>
<item>IOError</item>
<item>IsADirectoryError</item>
<item>KeyboardInterrupt</item>
<item>KeyError</item>
<item>LookupError</item>
<item>MemoryError</item>
<item>NameError</item>
<item>NotADirectoryError</item>
<item>NotImplementedError</item>
<item>OSError</item>
<item>OverflowError</item>
<item>PendingDeprecationWarning</item>
<item>PermissionError</item>
<item>ProcessLookupError</item>
<item>ReferenceError</item>
<item>ResourceWarning</item>
<item>RuntimeError</item>
<item>RuntimeWarning</item>
<item>StandardError</item>
@ -278,14 +306,16 @@
<item>SyntaxWarning</item>
<item>SystemError</item>
<item>SystemExit</item>
<item>TabError</item>
<item>TimeoutError</item>
<item>TypeError</item>
<item>UnboundLocalError</item>
<item>UserWarning</item>
<item>UnicodeError</item>
<item>UnicodeWarning</item>
<item>UnicodeEncodeError</item>
<item>UnicodeDecodeError</item>
<item>UnicodeEncodeError</item>
<item>UnicodeError</item>
<item>UnicodeTranslateError</item>
<item>UnicodeWarning</item>
<item>UserWarning</item>
<item>ValueError</item>
<item>Warning</item>
<item>WindowsError</item>
@ -293,7 +323,6 @@
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<LineContinue context="CheckForString" attribute="Normal Text"/>
<keyword attribute="Preprocessor" String="prep" context="#stay"/>
<keyword attribute="Definition Keyword" String="defs" context="#stay"/>
<keyword attribute="Operator" String="operators" context="#stay"/>
@ -304,7 +333,7 @@
<keyword attribute="Extensions" String="bindings" context="#stay"/>
<keyword attribute="Exceptions" String="exceptions" context="#stay"/>
<keyword attribute="Overloaders" String="overloaders" context="#stay"/>
<RegExpr attribute="Normal" String="[a-zA-Z_][a-zA-Z_0-9]+" context="#stay"/>
<RegExpr attribute="Normal" String="[a-zA-Z_][a-zA-Z_0-9]{2,}" context="#stay"/>
<RegExpr attribute="Complex" String=" ((([0-9]*\.[0-9]+|[0-9]+\.)|([0-9]+|([0-9]*\.[0-9]+|[0-9]+\.))[eE](\+|-)?[0-9]+)|[0-9]+)[jJ]" context="#stay"/>
<Float attribute="Float" context="#stay" />
@ -314,54 +343,115 @@
<StringDetect attribute="Int" String="L" insensitive="true" context="#stay"/>
</Int>
<StringDetect attribute="Raw String" String="r'''" insensitive="true" context="Raw Tripple A-string"/>
<StringDetect attribute="Raw String" String="r&quot;&quot;&quot;" insensitive="true" context="Raw Tripple Q-string"/>
<DetectChar attribute="Normal Text" char="{" context="Dictionary" beginRegion="Dictionary"/>
<DetectChar attribute="Normal Text" char="[" context="List" beginRegion="List"/>
<DetectChar attribute="Normal Text" char="(" context="Tuple" beginRegion="Tuple"/>
<StringDetect attribute="Raw String" String="r'" insensitive="true" context="Raw A-string"/>
<StringDetect attribute="Raw String" String="r&quot;" insensitive="true" context="Raw Q-string"/>
<IncludeRules context="CommentVariants" />
<DetectChar attribute="Comment" char="#" context="Hash comment"/>
<RegExpr attribute="Comment" String="u?'''" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>
<RegExpr attribute="Comment" String="u?&quot;&quot;&quot;" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>
<IncludeRules context="StringVariants" />
<AnyChar attribute="Operator" String="+*/%\|=;\!&lt;&gt;!^&amp;~-" context="#stay"/>
<RegExpr attribute="Decorator" String="@[_a-zA-Z][\._a-zA-Z0-9]*" firstNonSpace="true"/>
</context>
<context name="#CheckForString" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<DetectSpaces/>
<LineContinue attribute="Normal Text" context="CheckForStringNext"/>
</context>
<context name="CheckForStringNext" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<DetectSpaces/>
<LineContinue attribute="Normal Text" context="CheckForStringNext"/>
<IncludeRules context="StringVariants"/>
</context>
<context name="StringVariants" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<!-- ''' -->
<StringDetect attribute="String" String="'''" context="Tripple A-string" beginRegion="Tripple A-region"/>
<StringDetect attribute="String" String="u'''" context="Tripple A-string" beginRegion="Tripple A-region"/>
<StringDetect attribute="String" String="u'''" insensitive="true" context="Tripple A-string" beginRegion="Tripple A-region"/>
<!-- """ -->
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="Tripple Q-string" beginRegion="Tripple Q-region"/>
<StringDetect attribute="String" String="u&quot;&quot;&quot;" context="Tripple Q-string" beginRegion="Tripple Q-region"/>
<StringDetect attribute="String" String="u&quot;&quot;&quot;" insensitive="true" context="Tripple Q-string" beginRegion="Tripple Q-region"/>
<!-- ' -->
<DetectChar attribute="String" char="'" context="Single A-string"/>
<Detect2Chars attribute="String" char="u" char1="'" context="Single A-string"/>
<Detect2Chars attribute="String" char="u" char1="'" insensitive="true" context="Single A-string"/>
<!-- " -->
<DetectChar attribute="String" char="&quot;" context="Single Q-string"/>
<Detect2Chars attribute="String" char="u" char1="&quot;" context="Single Q-string"/>
<DetectChar attribute="Normal" char="(" context="parenthesised" beginRegion="parenthesis"/>
<DetectChar attribute="Normal" char=")" context="#pop" endRegion="parenthesis"/>
<Detect2Chars attribute="String" char="u" char1="&quot;" insensitive="true" context="Single Q-string"/>
<AnyChar attribute="Operator" String="+*/%\|=;\!&lt;&gt;!^&amp;~-" context="#stay"/>
<RegExpr attribute="Decorator" String="@[_a-zA-Z][\._a-zA-Z0-9]*" firstNonSpace="true"/>
<!-- ''' -->
<StringDetect attribute="Raw String" String="r'''" insensitive="true" context="Raw Tripple A-string" beginRegion="Tripple A-region"/>
<StringDetect attribute="Raw String" String="ur'''" insensitive="true" context="Raw Tripple A-string" beginRegion="Tripple A-region"/>
<!-- """ -->
<StringDetect attribute="Raw String" String="r&quot;&quot;&quot;" insensitive="true" context="Raw Tripple Q-string" beginRegion="Tripple Q-region"/>
<StringDetect attribute="Raw String" String="ur&quot;&quot;&quot;" insensitive="true" context="Raw Tripple Q-string" beginRegion="Tripple Q-region"/>
<!-- ' -->
<StringDetect attribute="Raw String" String="r'" insensitive="true" context="Raw A-string"/>
<StringDetect attribute="Raw String" String="ur'" insensitive="true" context="Raw A-string"/>
<!-- " -->
<StringDetect attribute="Raw String" String="r&quot;" insensitive="true" context="Raw Q-string"/>
<StringDetect attribute="Raw String" String="ur&quot;" insensitive="true" context="Raw Q-string"/>
</context>
<!-- The context CheckForString only exists to catch LineContinue with \ at end of previous line. So that we don't interpret it as comment. -->
<context name="CheckForString" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<context name="CommentVariants" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<StringDetect attribute="String" String="'''" context="Tripple A-string" beginRegion="Tripple A-region"/>
<StringDetect attribute="String" String="u'''" context="Tripple A-string" beginRegion="Tripple A-region"/>
<!-- ''' -->
<StringDetect attribute="Comment" String="'''" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>
<StringDetect attribute="Comment" String="u'''" insensitive="true" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>
<!-- """ -->
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="Tripple Q-string" beginRegion="Tripple Q-region"/>
<StringDetect attribute="String" String="u&quot;&quot;&quot;" context="Tripple Q-string" beginRegion="Tripple Q-region"/>
<StringDetect attribute="Comment" String="&quot;&quot;&quot;" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>
<StringDetect attribute="Comment" String="u&quot;&quot;&quot;" insensitive="true" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>
<!-- ' -->
<DetectChar attribute="Comment" char="'" firstNonSpace="true" context="Single A-comment"/>
<Detect2Chars attribute="Comment" char="u" char1="'" insensitive="true" firstNonSpace="true" context="Single A-comment"/>
<!-- " -->
<DetectChar attribute="Comment" char="&quot;" firstNonSpace="true" context="Single Q-comment"/>
<Detect2Chars attribute="Comment" char="u" char1="&quot;" insensitive="true" firstNonSpace="true" context="Single Q-comment"/>
<!-- ''' -->
<StringDetect attribute="Comment" String="r'''" insensitive="true" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>
<StringDetect attribute="Comment" String="ur'''" insensitive="true" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>
<!-- """ -->
<StringDetect attribute="Comment" String="r&quot;&quot;&quot;" insensitive="true" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>
<StringDetect attribute="Comment" String="ur&quot;&quot;&quot;" insensitive="true" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>
<!-- ' -->
<StringDetect attribute="Comment" String="r'" insensitive="true" firstNonSpace="true" context="Single A-comment"/>
<StringDetect attribute="Comment" String="ur'" insensitive="true" firstNonSpace="true" context="Single A-comment"/>
<!-- " -->
<StringDetect attribute="Comment" String="r&quot;" insensitive="true" firstNonSpace="true" context="Single Q-comment"/>
<StringDetect attribute="Comment" String="ur&quot;" insensitive="true" firstNonSpace="true" context="Single Q-comment"/>
</context>
<context name="Dictionary" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<DetectChar attribute="Normal Text" char="}" context="#pop" endRegion="Dictionary"/>
<IncludeRules context="StringVariants" />
<IncludeRules context="Normal" />
</context>
<context name="List" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<DetectChar attribute="Normal Text" char="]" context="#pop" endRegion="List"/>
<IncludeRules context="StringVariants" />
<IncludeRules context="Normal" />
</context>
<context name="parenthesised" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<context name="Tuple" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<DetectChar attribute="Normal Text" char=")" context="#pop" endRegion="Tuple"/>
<IncludeRules context="StringVariants" />
<IncludeRules context="Normal" />
</context>
<!-- Comments -->
<context name="Hash comment" attribute="Comment" lineEndContext="#pop">
<IncludeRules context="##Alerts_indent" />
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
<context name="Tripple A-comment" attribute="Comment" lineEndContext="#stay" noIndentationBasedFolding="true">
@ -402,71 +492,88 @@
[Special cases: %prog and %default - see http://docs.python.org/library/optparse.html]
-->
<RegExpr attribute="String Substitution" String="%((\([a-zA-Z0-9_]+\))?[#0\- +]?([1-9][0-9]*|\*)?(\.([1-9][0-9]*|\*))?[hlL]?[crsdiouxXeEfFgG%]|prog|default)" context="#stay"/>
<!-- http://docs.python.org/2/library/string.html#format-string-syntax:
replacement_field ::= "{" field_name ["!" conversion] [":" format_spec] "}"
field_name ::= (identifier | integer) ("." attribute_name | "[" element_index "]")*
attribute_name ::= identifier
element_index ::= integer | index_string
index_string ::= <any source character except "]"> +
conversion ::= "r" | "s"
format_spec ::= [[fill]align][sign][#][0][width][.precision][type]
fill ::= <a character other than '}'>
align ::= "<" | ">" | "=" | "^"
sign ::= "+" | "-" | " "
width ::= integer
precision ::= integer
type ::= "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"
-->
<RegExpr attribute="String Substitution" String="\{([a-zA-Z0-9_]+|[0-9]+)(\.[a-zA-Z0-9_]+|\[[^ \]]+\])*(![rs])?(:([^}]?[&lt;&gt;=^])?[ +-]?#?0?[0-9]*(\.[0-9]+)?[bcdeEfFgGnosxX%]?)?\}" context="#stay"/>
<Detect2Chars attribute="String Substitution" char="{" char1="{" context="#stay" />
<Detect2Chars attribute="String Substitution" char="}" char1="}" context="#stay" />
</context>
<context name="Tripple A-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="true">
<HlCStringChar attribute="String Char" context="#stay"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="String" String="'''" context="#pop" endRegion="Tripple A-region"/>
<StringDetect attribute="String" String="'''" context="#pop#CheckForString" endRegion="Tripple A-region"/>
</context>
<context name="Raw Tripple A-string" attribute="Raw String" lineEndContext="#stay" noIndentationBasedFolding="true">
<HlCStringChar attribute="Raw String" context="#stay"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="String" String="'''" context="#pop" endRegion="Tripple A-region"/>
<StringDetect attribute="String" String="'''" context="#pop#CheckForString" endRegion="Tripple A-region"/>
</context>
<context name="Tripple Q-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="true">
<HlCStringChar attribute="String Char" context="#stay"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="#pop" endRegion="Tripple Q-region"/>
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="#pop#CheckForString" endRegion="Tripple Q-region"/>
</context>
<context name="Raw Tripple Q-string" attribute="Raw String" lineEndContext="#stay" noIndentationBasedFolding="true">
<HlCStringChar attribute="Raw String" context="#stay"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="#pop" endRegion="Tripple Q-region"/>
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="#pop#CheckForString" endRegion="Tripple Q-region"/>
</context>
<context name="Single A-string" attribute="String" lineEndContext="#stay">
<HlCStringChar attribute="String Char" context="#stay"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="String" char="'" context="#pop"/>
<DetectChar attribute="String" char="'" context="#pop#CheckForString"/>
</context>
<context name="Single Q-string" attribute="String" lineEndContext="#stay">
<HlCStringChar attribute="String Char" context="#stay"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="String" char="&quot;" context="#pop"/>
<DetectChar attribute="String" char="&quot;" context="#pop#CheckForString"/>
</context>
<context name="Raw A-string" attribute="Raw String" lineEndContext="#stay">
<HlCStringChar attribute="Raw String" context="#stay"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="Raw String" char="'" context="#pop"/>
<DetectChar attribute="Raw String" char="'" context="#pop#CheckForString"/>
</context>
<context name="Raw Q-string" attribute="Raw String" lineEndContext="#stay">
<HlCStringChar attribute="Raw String" context="#stay"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="Raw String" char="&quot;" context="#pop"/>
<DetectChar attribute="Raw String" char="&quot;" context="#pop#CheckForString"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Definition Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Operator" defStyleNum="dsNormal" bold="1" spellChecking="false"/>
<itemData name="String Substitution" defStyleNum="dsOthers" color="#0057ae" selColor="#ffffff" spellChecking="false"/>
<itemData name="String Substitution" defStyleNum="dsOthers" color="#0057ae" selColor="#0057ae" spellChecking="false"/>
<itemData name="Command Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Flow Control Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Builtin Function" defStyleNum="dsDataType" spellChecking="false"/>
<itemData name="Special Variable" defStyleNum="dsOthers" spellChecking="false"/>
<itemData name="Extensions" defStyleNum="dsOthers" color="#0095ff" selColor="#ffffff" bold="1" italic="0" spellChecking="false"/>
<itemData name="Exceptions" defStyleNum="dsOthers" color="#054d00" selColor="#ffffff" bold="1" italic="0" spellChecking="false"/>
<itemData name="Overloaders" defStyleNum="dsOthers" color="#000e52" selColor="#ffffff" bold="1" italic="0" spellChecking="false"/>
<itemData name="Extensions" defStyleNum="dsOthers" color="#0095ff" selColor="#0095ff" bold="1" italic="0" spellChecking="false"/>
<itemData name="Exceptions" defStyleNum="dsOthers" color="#054d00" selColor="#054d00" bold="1" italic="0" spellChecking="false"/>
<itemData name="Overloaders" defStyleNum="dsOthers" color="#000e52" selColor="#000e52" bold="1" italic="0" spellChecking="false"/>
<itemData name="Preprocessor" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="String Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
@ -477,7 +584,7 @@
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Raw String" defStyleNum="dsString"/>
<itemData name="Decorator" defStyleNum="dsOthers" color="#8f6b32" selColor="#ffffff" italic="0" spellChecking="false"/>
<itemData name="Decorator" defStyleNum="dsOthers" color="#8f6b32" selColor="#8f6b32" italic="0" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>
@ -488,6 +595,9 @@
<comments>
<comment name="singleLine" start="#" position="afterwhitespace"/>
</comments>
<indentation mode="python" />
<keywords casesensitive="1" additionalDeliminator="#'"/>
</general>
</language>
<!-- kate: space-indent off; indent-width 4; -->

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="QMake" section="Other" extensions="*.pro;*.pri;*.prf;" mimetype="" version="1.2" kateversion="2.0" author="Milian Wolff (mail@milianw.de)" license="LGPL">
<language name="QMake" section="Other" extensions="*.pro;*.pri;*.prf;" mimetype="" version="1.3" kateversion="2.5" author="Milian Wolff (mail@milianw.de)" license="LGPL">
<highlighting>
<list name="variables">

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Milian Wolff <mail@milianw.de> -->
<language name="QML" version="1.3" kateversion="2.4" section="Scripts" extensions="*.qml"
<language name="QML" version="1.4" kateversion="2.5" section="Scripts" extensions="*.qml"
mimetype="text/x-qml;application/x-qml" indenter="cstyle"
author="Milian Wolff (mail@milianw.de)" license="">
<highlighting>

Diff onderdrukt omdat het te groot bestand Laad Diff

@ -1,14 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Kate 2.5 (KDE 3.5) highlighting module for R
<!-- Kate 2.5 (TDE 3.5) highlighting module for R
based on an earlier version by E.L. Willighagen. Code folding code by Ben Goodrich
version 2.0: (c) 2006 Thomas Friedrichsmeier, Arne Henningsen, and the RKWard Team
license: GPL v2
Kate : http://kate.kde.org/
R : http://www.r-project.org/
RKWard : http://rkward.sourceforge.net/
-->
<language version="2.07" kateversion="2.5" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL">
<language version="2.08" kateversion="2.5" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL">
<highlighting>
<list name="controls">
@ -120,19 +119,19 @@
</contexts>
<itemDatas>
<!-- KDE default colors: http://accessibility.kde.org/oxygen.php?color=white -->
<!-- TDE default colors: http://accessibility.kde.org/oxygen.php?color=white -->
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Symbol" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Identifier" defStyleNum="dsDataType"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Headline" defStyleNum="dsNormal" color="#b00000" selColor="#b00000" bold="1" italic="0"/> <!-- KDE default color: text 5 -->
<itemData name="Headline" defStyleNum="dsNormal" color="#b00000" selColor="#b00000" bold="1" italic="0"/> <!-- TDE default color: text 5 -->
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Assign" defStyleNum="dsNormal" color="#336366" selColor="#ccc099" bold="1" italic="0"/> <!-- KDE default color: text 7 -->
<itemData name="Control Structure" defStyleNum="dsNormal" color="#0000bf" selColor="#bfbf00"/> <!-- KDE default color: text 2 -->
<itemData name="Assign" defStyleNum="dsNormal" color="#336366" selColor="#ccc099" bold="1" italic="0"/> <!-- TDE default color: text 7 -->
<itemData name="Control Structure" defStyleNum="dsNormal" color="#0000bf" selColor="#bfbf00"/> <!-- TDE default color: text 2 -->
<itemData name="Reserved Words" defStyleNum="dsOthers"/>
<itemData name="Error" defStyleNum="dsError"/>
<itemData name="Operator" defStyleNum="dsNormal" color="#803f00" selColor="#000077" bold="0" italic="0"/> <!-- KDE default color: focussed text -->
<itemData name="Operator" defStyleNum="dsNormal" color="#803f00" selColor="#000077" bold="0" italic="0"/> <!-- TDE default color: focussed text -->
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Int" defStyleNum="dsDecVal"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="RapidQ" version="1.01" kateversion="2.1" section="Sources" extensions="*.rqb" author="Tiberiu Dragulinescu" license="LGPL">
<language name="RapidQ" version="1.02" kateversion="2.5" section="Sources" extensions="*.rqb" author="Tiberiu Dragulinescu" license="LGPL">
<highlighting>
<list name="keywords">
<item>abs</item>

@ -16,8 +16,8 @@
- Namespace rules
-->
<language version="0.8"
kateversion="2.1"
<language version="0.9"
kateversion="2.5"
name="RELAX NG"
section="Markup"
extensions="*.rng;*.RNG"

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="RelaxNG-Compact" version="0.2" kateversion="2.4" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL">
<language name="RelaxNG-Compact" version="0.3" kateversion="2.5" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL">
<highlighting>
<list name="Keywords">
<item> default </item>

@ -6,7 +6,7 @@
<!ENTITY SimpleReferenceNameChars "\w-_\.:\+">
]>
<!-- Copyright Matt Williams <matt@milliams.com> June 2010 -->
<language name="reStructuredText" extensions="*.rst" section="Markup" mimetype="text/x-rst" version="1.01" kateversion="2.4" casesensitive="1">
<language name="reStructuredText" extensions="*.rst" section="Markup" mimetype="text/x-rst" version="1.02" kateversion="2.5" casesensitive="1">
<highlighting>

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Restructured Text" version="1.01" kateversion="2.5" section="Markup" extensions="*.rst" author="Massimiliano Torromeo (massimiliano.torromeo@gmail.com)" license="LGPL">
<highlighting>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Emphasys" String="\*[^* ].*\S\*" context="#stay" />
<RegExpr attribute="Strong" String="\*\*\S.*\S\*\*" context="#stay" />
<RegExpr attribute="Literal" String="``\S.*\S``" context="#stay" />
<RegExpr attribute="Directive" String="^\.\. " context="Directive" />
<RegExpr attribute="Title" String="^(#{3,}|\*{3,}|={3,}|-{3,}|\^{3,}|&quot;{3,}|&apos;{3,}|~{3,}|`{3,}|\+{3,})$" context="#stay" />
<RegExpr attribute="OrderedList" String="[#0-9]\.\s" firstNonSpace="1" context="#stay" />
<AnyChar attribute="UnorderedList" String="*+-" firstNonSpace="1" context="#stay" />
<DetectChar attribute="Link" char="`" context="Link" />
<RegExpr attribute="Code" String="::$" context="CodeBlock" />
</context>
<context name="CodeBlock" attribute="Code" lineEndContext="#stay">
<RegExpr attribute="Code" String="^\s" context="Code" />
</context>
<context name="Code" attribute="Code" lineEndContext="#stay">
<RegExpr attribute="Normal" String="^\S" lookAhead="true" context="#pop#pop" />
</context>
<context name="Directive" attribute="Directive" lineEndContext="#pop">
<RegExpr attribute="Keyword" String="\w+" context="#stay" />
</context>
<context name="Link" attribute="Link" lineEndContext="#pop">
<DetectChar attribute="Link" char="&lt;" context="URL" />
<Detect2Chars attribute="Link" char="`" char1="_" context="#pop" />
</context>
<context name="URL" attribute="LinkUrl" lineEndContext="#stay">
<RegExpr attribute="LinkUrl" String="[^&gt;]+" context="#stay" />
<DetectChar attribute="Link" char="&gt;" context="#pop" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Directive" defStyleNum="dsDecVal" />
<itemData name="Emphasys" defStyleNum="dsNormal" italic="1" />
<itemData name="Strong" defStyleNum="dsNormal" bold="1" />
<itemData name="Literal" defStyleNum="dsDataType" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="OrderedList" defStyleNum="dsDecVal" />
<itemData name="UnorderedList" defStyleNum="dsFloat" />
<itemData name="Link" defStyleNum="dsString" />
<itemData name="LinkUrl" defStyleNum="dsString" bold="1" />
<itemData name="Title" defStyleNum="dsKeyword" bold="1" />
<itemData name="Code" defStyleNum="dsDataType" />
<itemData name="Error" defStyleNum="dsError" />
</itemDatas>
</highlighting>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="REXX" version="1.01" kateversion="2.3" section="Scripts" extensions="*.rex" mimetype="">
<language name="REXX" version="1.02" kateversion="2.5" section="Scripts" extensions="*.rex" mimetype="">
<highlighting>
<list name="instructions">
<item> arg </item>

@ -44,7 +44,7 @@
-->
<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". -->
<language name="Ruby/Rails/RHTML" version="1.01" kateversion="2.4" section="Markup" extensions="*.rhtml;*.html.erb" mimetype="" author="Richard Dale rdale@foton.es" license="LGPL">
<language name="Ruby/Rails/RHTML" version="1.02" kateversion="2.5" section="Markup" extensions="*.rhtml;*.html.erb" mimetype="" author="Richard Dale rdale@foton.es" license="LGPL">
<highlighting>

@ -5,7 +5,7 @@
<!--By David Williams-->
<!--Email david@david-williams.info-->
<language name="RenderMan RIB" version="1.00" kateversion="2.3" section="Other" mimetype="" extensions="*.rib" author="David Williams &lt;david@david-williams.info&gt;" license="LGPL">
<language name="RenderMan RIB" version="1.01" kateversion="2.5" section="Other" mimetype="" extensions="*.rib" author="David Williams &lt;david@david-williams.info&gt;" license="LGPL">
<highlighting>
<list name="Graphics States">
<item> AreaLightSource </item>

@ -8,7 +8,7 @@
<!ENTITY os_conditionals_names "(ifos|ifnos)">
<!ENTITY lookahead_whitespace_eol "(?=($| |\t))">
]>
<language name="RPM Spec" version="2.03" kateversion="2.4" section="Other" extensions="*.spec" mimetype="" license="public domain">
<language name="RPM Spec" version="2.04" kateversion="2.5" section="Other" extensions="*.spec" mimetype="" license="public domain">
<!-- The entities "arch" and "os" are based on /usr/lib/rpm/rpmrc (in the version coming with openSUSE 11.4). -->

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <!-- KATE Syntax Highlighting for RSI IDL -->
<!DOCTYPE language SYSTEM "language.dtd"><!-- Created by Markus Fraenz,fraenz@linmpi.mpg.de Aug 2002 -->
<language name="RSI IDL" version="1.04" kateversion="2.1" section="Sources" extensions="*.pro" mimetype="text/x-rsiidl-src" author="Markus Fraenz (fraenz@linmpi.mpg.de)" license="">
<language name="RSI IDL" version="1.05" kateversion="2.5" section="Sources" extensions="*.pro" mimetype="text/x-rsiidl-src" author="Markus Fraenz (fraenz@linmpi.mpg.de)" license="">
<highlighting>
<list name="reserved words">
<item> For </item>

@ -31,14 +31,14 @@
<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". -->
<language name="Ruby" section="Scripts"
version="1.24" kateversion="2.4"
version="1.28" kateversion="2.5"
extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec"
mimetype="application/x-ruby"
style="ruby" indenter="ruby"
author="Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi), Robin Pedersen (robinpeder@gmail.com), Miquel Sabaté (mikisabate@gmail.com)" license="LGPL">
<highlighting>
<list name="keywords">
<item> BEGIN </item>
<item> END </item>
@ -55,7 +55,6 @@
<item> for </item>
<item> if </item>
<item> in </item>
<item> include </item>
<item> next </item>
<item> not </item>
<item> or </item>
@ -69,7 +68,7 @@
<item> when </item>
<item> yield </item>
</list>
<list name="access-control">
<item> private_class_method </item>
<item> private </item>
@ -83,7 +82,7 @@
<item> attr_writer </item>
<item> attr_accessor </item>
</list>
<list name="definitions">
<item> alias </item>
<item> module </item>
@ -91,7 +90,7 @@
<item> def </item>
<item> undef </item>
</list>
<list name="pseudo-variables">
<item> self </item>
<item> super </item>
@ -102,7 +101,7 @@
<item> __FILE__ </item>
<item> __LINE__ </item>
</list>
<list name="default-globals">
<item> $stdout </item>
<item> $defout </item>
@ -110,7 +109,7 @@
<item> $deferr </item>
<item> $stdin </item>
</list>
<!-- Kernel module methods.
NOTE: Methods ending in ? or !
are included below as regexes.
@ -180,17 +179,23 @@
<item> warn </item>
</list>
<list name="mixin-methods">
<item>extend</item>
<item>include</item>
<item>prepend</item>
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<!-- ruby ignores newline after \ -->
<LineContinue attribute="Normal Text" context="Line Continue"/>
<!-- __END__ token on own line. -->
<RegExpr attribute="Keyword" String="__END__$" context="DATA" column="0"/>
<!-- "shebang" line -->
<RegExpr attribute="Keyword" String="#!\/.*" context="#stay" column="0"/>
<!-- "def" - "end" blocks -->
<!-- check for statement modifiers with regexes -->
<DetectChar attribute="Operator" char="{" context="Find closing block brace" beginRegion="def block"/>
@ -209,16 +214,16 @@
<RegExpr attribute="Keyword" String="\bend\b" context="#stay" endRegion="def block"/>
<!-- elsif/else close the current block and start a new one -->
<RegExpr attribute="Keyword" String="\b(else|elsif|rescue|ensure)\b" context="#stay" endRegion="def block" beginRegion="def block"/>
<StringDetect attribute="Operator" String="..." context="#stay"/>
<Detect2Chars attribute="Operator" char="." char1="." context="#stay"/>
<!-- marks a message (being sent, not defined) -->
<RegExpr attribute="Message" String="\.[_a-z][_a-zA-Z0-9]*(\?|\!|\b)" context="check_div_2"/>
<!-- Check for "ASCII code operator". e.g.: ?a -->
<RegExpr attribute="Dec" String="\s\?(\\M\-)?(\\C\-)?\\?\S" context="check_div_1"/>
<keyword attribute="Keyword" String="keywords" context="#stay"/>
<keyword attribute="Attribute Definition" String="attribute-definitions" context="check_div_2"/>
<keyword attribute="Access Control" String="access-control" context="check_div_2"/>
@ -226,39 +231,41 @@
<keyword attribute="Pseudo variable" String="pseudo-variables" context="check_div_1"/>
<keyword attribute="Default globals" String="default-globals" context="check_div_2"/>
<keyword attribute="Kernel methods" String="kernel-methods" context="check_div_2"/>
<keyword attribute="Module mixin methods" String="mixin-methods" context="check_div_2"/>
<!-- (global) vars starting with $
Match them before $_.
-->
<RegExpr attribute="Global Variable" String="\$[a-zA-Z_0-9]+" context="check_div_1"/>
<RegExpr attribute="Global Variable" String="\$\-[a-zA-z_]\b" context="check_div_1"/>
<!-- special-character globals -->
<RegExpr attribute="Default globals" String="\$[\d_*`\!:?'/\\\-\&amp;&quot;]" context="check_div_1"/>
<RegExpr attribute="Default globals" String="\$[\d_*`+@;,.~=\!\$:?'/\\\-\&amp;&quot;&gt;&lt;]" context="check_div_1"/>
<RegExpr attribute="Global Constant" String="\b[_A-Z]+[A-Z_0-9]+\b" context="check_div_2"/>
<!-- Generally a module or class name like "File", "MyModule_1", .. -->
<RegExpr attribute="Constant" String="\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\b" context="check_div_2"/>
<RegExpr attribute="Hex" String="\b\-?0[xX][_0-9a-fA-F]+" context="check_div_1"/>
<RegExpr attribute="Bin" String="\b\-?0[bB][_01]+" context="check_div_1"/>
<RegExpr attribute="Octal" String="\b\-?0[1-7][_0-7]*" context="check_div_1"/>
<RegExpr attribute="Float" String="\b\-?[0-9][0-9_]*\.[0-9][0-9_]*([eE]\-?[1-9][0-9]*(\.[0-9]*)?)?" context="check_div_1"/>
<RegExpr attribute="Dec" String="\b\-?[1-9][0-9_]*\b" context="check_div_1"/>
<!-- Numeric values. Note that we have to allow underscores between two digits (thus the creepy regular expressions). -->
<RegExpr attribute="Hex" String="\b\-?0[xX]([0-9a-fA-F]|_[0-9a-fA-F])+" context="check_div_1"/>
<RegExpr attribute="Bin" String="\b\-?0[bB]([01]|_[01])+" context="check_div_1"/>
<RegExpr attribute="Octal" String="\b\-?0[1-7]([0-7]|_[0-7])*" context="check_div_1"/>
<RegExpr attribute="Float" String="\b\-?[0-9]([0-9]|_[0-9])*\.[0-9]([0-9]|_[0-9])*([eE]\-?[1-9]([0-9]|_[0-9])*(\.[0-9]*)?)?" context="check_div_1"/>
<RegExpr attribute="Dec" String="\b\-?[1-9]([0-9]|_[0-9])*\b" context="check_div_1"/>
<Int attribute="Dec" context="check_div_1"/>
<HlCChar attribute="Char" context="check_div_1"/>
<!-- Check for =begin before assignment operator. -->
<RegExpr attribute="Blockcomment" String="^=begin(?:\s|$)" context="Embedded documentation" beginRegion="comment block" column="0"/>
<!-- recognize the beginning of a HEREDOC
This uses new features in Kate 2.3 and later
There is no other chance of keeping heredoc apart from the
push operator '<<' than requiring to put space between the operator
and the string.
-->
<RegExpr attribute="Operator" context="find_indented_heredoc" String="\s*&lt;&lt;-(?=\w+|[&quot;'])" beginRegion="HereDocument" />
<RegExpr attribute="Operator" context="find_heredoc" String="\s*&lt;&lt;(?=\w+|[&quot;'])" beginRegion="HereDocument" />
<DetectChar attribute="Operator" char="." context="#stay"/>
<Detect2Chars attribute="Operator" char="&amp;" char1="&amp;" context="#stay"/>
<Detect2Chars attribute="Operator" char="|" char1="|" context="#stay"/>
@ -269,49 +276,49 @@
<RegExpr attribute="Operator" String="/=\s" context="#stay" insensitive="0"/>
<StringDetect attribute="Operator" String="%=" context="#stay" insensitive="0"/>
<Detect2Chars attribute="Operator" char=":" char1=":" context="Member Access"/>
<RegExpr attribute="Symbol" String=":(@{1,2}|\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?" context="check_div_1"/>
<RegExpr attribute="Symbol" String=":\[\]=?" contex="check_div_1"/>
<RegExpr attribute="Symbol" String=":\[\]=?" context="check_div_1"/>
<DetectChar attribute="String" char="&quot;" context="Quoted String"/>
<DetectChar attribute="Raw String" char="'" context="Apostrophed String"/>
<DetectChar attribute="Command" char="`" context="Command String"/>
<StringDetect attribute="Normal Text" String="?#" context="#stay"/>
<RegExpr attribute="Comment" String="#\s*BEGIN.*$" context="#stay" beginRegion="marker" column="0"/>
<RegExpr attribute="Comment" String="#\s*END.*$" context="#stay" endRegion="marker" column="0"/>
<DetectChar attribute="Comment" char="#" context="General Comment"/>
<DetectChar attribute="Delimiter" char="[" context="#stay"/>
<DetectChar attribute="Delimiter" char="]" context="check_div_1"/>
<DetectChar attribute="Delimiter" char="{" context="#stay" beginRegion="def block"/>
<DetectChar attribute="Delimiter" char="}" context="check_div_1" endRegion="def block"/>
<RegExpr attribute="Instance Variable" String="@[a-zA-Z_0-9]+" context="check_div_1"/>
<RegExpr attribute="Class Variable" String="@@[a-zA-Z_0-9]+" context="check_div_1"/>
<!-- handle the different regular expression formats -->
<DetectChar attribute="Regular Expression" char="/" context="RegEx 1"/>
<!-- recognize the beginning of a general delimited input format -->
<!-- this moves to the next context to separate out the exact nature of the GDL input -->
<RegExpr attribute="GDL input" context="find_gdl_input" String="\s*[%](?=[QqxwW]?[^\s])" beginRegion="GdlInput" />
<DetectChar attribute="Normal Text" char=")" context="check_div_1"/>
<DetectIdentifier attribute="Normal Text" context="check_div_2"/>
</context>
<!-- In the following contexts, a slash character ('/') is a division operator -->
<!-- Everywhere else, it's a regular expression delimiter -->
<!-- A slash is always a division operator, even if preceeded by whitespace -->
<context name="check_div_1" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop" lineEndContext="#pop">
<RegExpr attribute="Normal Text" String="\s*" context="#stay"/>
<AnyChar attribute="Operator" String="/%" context="#pop"/>
</context>
<!-- Same as check_div_1, but with double pop to exit the surrounding context -->
<context name="check_div_1_pop" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop" lineEndContext="#pop#pop">
<RegExpr attribute="Normal Text" String="\s*" context="#stay"/>
@ -323,19 +330,19 @@
<AnyChar attribute="Operator" String="/%" context="#pop"/>
<RegExpr attribute="Normal Text" String="\s+" context="check_div_2_internal"/>
</context>
<!-- Internal context used by check_div_2 -->
<context name="check_div_2_internal" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop" lineEndContext="#pop#pop">
<!-- <DetectChar attribute="Operator" char="%" context="#pop#pop"/> -->
<RegExpr attribute="Operator" String="[/%](?=\s)" context="#pop#pop"/>
</context>
<!-- Same as check_div_2, but with double pop to exit the surrounding context -->
<context name="check_div_2_pop" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop" lineEndContext="#pop#pop">
<AnyChar attribute="Operator" String="/%" context="#pop#pop"/>
<RegExpr attribute="Normal Text" String="\s+" context="check_div_2_pop_internal"/>
</context>
<!-- Internal context used by check_div_2_pop -->
<context name="check_div_2_pop_internal" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop#pop" lineEndContext="#pop#pop#pop">
<DetectChar attribute="Operator" char="%" context="#pop#pop#pop"/>
@ -352,7 +359,7 @@
<DetectChar attribute="Operator" char="}" context="check_div_1_pop" endRegion="def block"/>
<IncludeRules context="Normal"/>
</context>
<context name="Quoted String" attribute="String" lineEndContext="#stay">
<StringDetect attribute="String" String="\\" context="#stay"/>
<RegExpr attribute="String" String="\\\&quot;" context="#stay"/>
@ -360,13 +367,13 @@
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
<DetectChar char="&quot;" attribute="String" context="check_div_1_pop"/>
</context>
<context name="Apostrophed String" attribute="Raw String" lineEndContext="#stay">
<StringDetect attribute="String" String="\\" context="#stay"/>
<RegExpr attribute="String" String="\\\'" context="#stay"/>
<DetectChar char="'" attribute="Raw String" context="check_div_1_pop"/>
</context>
<context name="Command String" attribute="Command" lineEndContext="#stay">
<StringDetect attribute="String" String="\\" context="#stay"/>
<RegExpr attribute="String" String="\\\`" context="#stay"/>
@ -374,19 +381,19 @@
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
<DetectChar char="`" attribute="Command" context="check_div_1_pop"/>
</context>
<context name="Embedded documentation" attribute="Blockcomment" lineEndContext="#stay">
<RegExpr attribute="Comment" String="^=end(?:\s.*|$)" context="#pop" endRegion="comment block" column="0"/>
<IncludeRules context="##Alerts" />
</context>
<context name="RegEx 1" attribute="Regular Expression" lineEndContext="#stay">
<RegExpr attribute="Regular Expression" String="\\\/" context="#stay"/>
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
<RegExpr attribute="Regular Expression" String="/[uiomxn]*" context="check_div_1_pop"/>
</context>
<!-- Substitutions can be nested -->
<context name="Subst" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Substitution" char="}" context="#pop"/>
@ -399,7 +406,7 @@
<RegExpr attribute="Substitution" String="#@{1,2}" context="#stay"/>
<RegExpr attribute="Substitution" String="\w(?!\w)" context="#pop"/>
</context>
<!-- This handles access of nested module classes and class methods -->
<context name="Member Access" attribute="Member" lineEndContext="#pop">
<!-- marks a message (being sent, not defined) -->
@ -411,24 +418,24 @@
<RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*" context="#stay"/>
<Detect2Chars attribute="Operator" char=":" char1=":" context="#stay"/>
<DetectChar attribute="Member" char="." context="#stay"/>
<AnyChar attribute="Operator" String="=+-*/%|&amp;[]{}~" context="#pop"/>
<DetectChar attribute="Comment" char="#" context="#pop"/>
<AnyChar attribute="Normal Text" String="()\" context="#pop"/>
<RegExpr attribute="Member" String="\W" context="#pop"/>
</context>
<context name="Comment Line" attribute="Comment" lineEndContext="#pop">
<RegExpr attribute="Comment" String="\w\:\:\s" context="RDoc Label"/>
<IncludeRules context="##Alerts" />
</context>
<context name="General Comment" attribute="Comment" lineEndContext="#pop">
<IncludeRules context="##Alerts" />
</context>
<context name="RDoc Label" attribute="RDoc Value" lineEndContext="#pop"/>
<!-- HEREDOC support
The contexts below support both normal and indented heredocs
-->
@ -449,7 +456,7 @@
<context name="apostrophed_indented_heredoc" attribute="Here Document" lineEndContext="#stay" dynamic="true">
<RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" firstNonSpace="true"/>
</context>
<context name="normal_heredoc" attribute="Here Document" lineEndContext="#stay" dynamic="true">
<RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/>
<IncludeRules context="heredoc_rules" />
@ -457,18 +464,18 @@
<context name="apostrophed_normal_heredoc" attribute="Here Document" lineEndContext="#stay" dynamic="true">
<RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/>
</context>
<!-- rules for heredoc types -->
<context name="heredoc_rules" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
</context>
<!-- General delimited input support
The contexts below handle the various gdl formats
-->
<context name="find_gdl_input" attribute="Normal Text" lineEndContext="#pop">
<!-- handle token arrays -->
<RegExpr attribute="GDL input" context="gdl_token_array_1" String="w\(" />
<RegExpr attribute="GDL input" context="gdl_token_array_2" String="w\{" />
@ -492,7 +499,7 @@
<RegExpr attribute="GDL input" context="gdl_apostrophed_4" String="q&lt;" />
<!-- then we handle the 'any char' format -->
<RegExpr attribute="GDL input" context="gdl_apostrophed_5" String="q([^\s\w])" />
<!-- handle shell commands -->
<RegExpr attribute="GDL input" context="gdl_shell_command_1" String="x\(" />
<RegExpr attribute="GDL input" context="gdl_shell_command_2" String="x\{" />
@ -500,7 +507,7 @@
<RegExpr attribute="GDL input" context="gdl_shell_command_4" String="x&lt;" />
<!-- then we handle the 'any char' format -->
<RegExpr attribute="GDL input" context="gdl_shell_command_5" String="x([^\s\w])" />
<!-- handle regular expressions -->
<RegExpr attribute="GDL input" context="gdl_regexpr_1" String="r\(" />
<RegExpr attribute="GDL input" context="gdl_regexpr_2" String="r\{" />
@ -508,9 +515,9 @@
<RegExpr attribute="GDL input" context="gdl_regexpr_4" String="r&lt;" />
<!-- then we handle the 'any char' format -->
<RegExpr attribute="GDL input" context="gdl_regexpr_5" String="r([^\s\w])" />
<!-- handle double-quoted strings -->
<!--
<!--
be careful to make this the last GDL ruleset, because the rule for
the short form %?foo? will otherwise catch any of the other formats
-->
@ -520,7 +527,7 @@
<RegExpr attribute="GDL input" context="gdl_dq_string_4" String="Q?&lt;" />
<!-- then we handle the 'any char' format -->
<RegExpr attribute="GDL input" context="gdl_dq_string_5" String="Q?([^\s\w])" />
</context>
<!-- double-quoted string specific contexts follow -->
<context name="gdl_dq_string_1" attribute="String" lineEndContext="#stay" >
@ -546,7 +553,7 @@
<DetectChar attribute="String" context="#pop" char="}" />
<IncludeRules context="dq_string_rules" />
</context>
<context name="gdl_dq_string_3" attribute="String" lineEndContext="#stay" >
<IncludeRules context="dq_string_rules" />
<Detect2Chars attribute="String" char="\" char1="]" context="#stay"/>
@ -558,7 +565,7 @@
<DetectChar attribute="String" context="#pop" char="]" />
<IncludeRules context="dq_string_rules" />
</context>
<context name="gdl_dq_string_4" attribute="String" lineEndContext="#stay" >
<IncludeRules context="dq_string_rules" />
<Detect2Chars attribute="String" char="\" char1="&gt;" context="#stay"/>
@ -570,8 +577,8 @@
<DetectChar attribute="String" context="#pop" char="&gt;" />
<IncludeRules context="dq_string_rules" />
</context>
<!-- this format doesn't allow nesting. it is terminated by the next occurence of the
<!-- this format doesn't allow nesting. it is terminated by the next occurrence of the
delimiter character
-->
<context name="gdl_dq_string_5" attribute="String" lineEndContext="#stay" dynamic="true">
@ -585,9 +592,9 @@
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
</context>
<!-- token array specific contexts -->
<context name="gdl_token_array_1" attribute="String" lineEndContext="#stay" >
<IncludeRules context="token_array_rules" />
<Detect2Chars attribute="String" char="\" char1=")" context="#stay"/>
@ -599,7 +606,7 @@
<DetectChar attribute="String" context="gdl_token_array_1_nested" char="(" />
<DetectChar attribute="String" context="#pop" char=")" />
</context>
<context name="gdl_token_array_2" attribute="String" lineEndContext="#stay" >
<IncludeRules context="token_array_rules" />
<Detect2Chars attribute="String" char="\" char1="}" context="#stay"/>
@ -611,7 +618,7 @@
<DetectChar attribute="String" context="gdl_token_array_2_nested" char="{" />
<DetectChar attribute="String" context="#pop" char="}" />
</context>
<context name="gdl_token_array_3" attribute="String" lineEndContext="#stay" >
<IncludeRules context="token_array_rules" />
<Detect2Chars attribute="String" char="\" char1="]" context="#stay"/>
@ -623,7 +630,7 @@
<DetectChar attribute="String" context="gdl_token_array_3_nested" char="[" />
<DetectChar attribute="String" context="#pop" char="]" />
</context>
<context name="gdl_token_array_4" attribute="String" lineEndContext="#stay" >
<IncludeRules context="token_array_rules" />
<Detect2Chars attribute="String" char="\" char1="&gt;" context="#stay"/>
@ -635,8 +642,8 @@
<DetectChar attribute="String" context="gdl_token_array_4_nested" char="&lt;" />
<DetectChar attribute="String" context="#pop" char="&gt;" />
</context>
<!-- this format doesn't allow nesting. it is terminated by the next occurence of the
<!-- this format doesn't allow nesting. it is terminated by the next occurrence of the
delimiter character
-->
<context name="gdl_token_array_5" attribute="String" lineEndContext="#stay" dynamic="true">
@ -644,14 +651,14 @@
<RegExpr attribute="String" String="\\%1" context="#stay" dynamic="true"/>
<RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" />
</context>
<!-- rules to be included in all token_array contexts -->
<context name="token_array_rules" attribute="String" lineEndContext="#stay" >
<StringDetect attribute="String" String="\\" context="#stay"/>
</context>
<!-- apostrophed string specific contexts -->
<context name="gdl_apostrophed_1" attribute="Raw String" lineEndContext="#stay" >
<IncludeRules context="apostrophed_rules" />
<Detect2Chars attribute="Raw String" char="\" char1=")" context="#stay"/>
@ -663,7 +670,7 @@
<DetectChar attribute="Raw String" context="gdl_apostrophed_1_nested" char="(" />
<DetectChar attribute="Raw String" context="#pop" char=")" />
</context>
<context name="gdl_apostrophed_2" attribute="Raw String" lineEndContext="#stay" >
<IncludeRules context="apostrophed_rules" />
<Detect2Chars attribute="Raw String" char="\" char1="}" context="#stay"/>
@ -675,7 +682,7 @@
<DetectChar attribute="Raw String" context="gdl_apostrophed_2_nested" char="{" />
<DetectChar attribute="Raw String" context="#pop" char="}" />
</context>
<context name="gdl_apostrophed_3" attribute="Raw String" lineEndContext="#stay" >
<IncludeRules context="apostrophed_rules" />
<Detect2Chars attribute="Raw String" char="\" char1="]" context="#stay"/>
@ -687,7 +694,7 @@
<DetectChar attribute="Raw String" context="gdl_apostrophed_3_nested" char="[" />
<DetectChar attribute="Raw String" context="#pop" char="]" />
</context>
<context name="gdl_apostrophed_4" attribute="Raw String" lineEndContext="#stay" >
<IncludeRules context="apostrophed_rules" />
<Detect2Chars attribute="Raw String" char="\" char1="&gt;" context="#stay"/>
@ -699,8 +706,8 @@
<DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="&lt;" />
<DetectChar attribute="Raw String" context="#pop" char="&gt;" />
</context>
<!-- this format doesn't allow nesting. it is terminated by the next occurence of the
<!-- this format doesn't allow nesting. it is terminated by the next occurrence of the
delimiter character
-->
<context name="gdl_apostrophed_5" attribute="Raw String" lineEndContext="#stay" dynamic="true">
@ -708,14 +715,14 @@
<RegExpr attribute="Raw String" String="\\%1" context="#stay" dynamic="true"/>
<RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" />
</context>
<!-- rules to be included in all apostrophed contexts -->
<context name="apostrophed_rules" attribute="Raw String" lineEndContext="#stay" >
<Detect2Chars attribute="Raw String" char="\" char1="\" context="#stay"/>
</context>
<!-- shell command specific contexts -->
<context name="gdl_shell_command_1" attribute="Command" lineEndContext="#stay" >
<IncludeRules context="shell_command_rules" />
<Detect2Chars attribute="Command" char="\" char1=")" context="#stay"/>
@ -727,7 +734,7 @@
<DetectChar attribute="Command" context="gdl_shell_command_1_nested" char="(" />
<DetectChar attribute="Command" context="#pop" char=")" />
</context>
<context name="gdl_shell_command_2" attribute="Command" lineEndContext="#stay" >
<IncludeRules context="shell_command_rules" />
<Detect2Chars attribute="Command" char="\" char1="}" context="#stay"/>
@ -739,7 +746,7 @@
<DetectChar attribute="Command" context="gdl_shell_command_2_nested" char="{" />
<DetectChar attribute="Command" context="#pop" char="}" />
</context>
<context name="gdl_shell_command_3" attribute="Command" lineEndContext="#stay" >
<IncludeRules context="shell_command_rules" />
<Detect2Chars attribute="Command" char="\" char1="]" context="#stay"/>
@ -751,7 +758,7 @@
<DetectChar attribute="Command" context="gdl_shell_command_3_nested" char="[" />
<DetectChar attribute="Command" context="#pop" char="]" />
</context>
<context name="gdl_shell_command_4" attribute="Command" lineEndContext="#stay" >
<IncludeRules context="shell_command_rules" />
<Detect2Chars attribute="Command" char="\" char1="&gt;" context="#stay"/>
@ -763,8 +770,8 @@
<DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="&lt;" />
<DetectChar attribute="Command" context="#pop" char="&gt;" />
</context>
<!-- this format doesn't allow nesting. it is terminated by the next occurence of the
<!-- this format doesn't allow nesting. it is terminated by the next occurrence of the
delimiter character
-->
<context name="gdl_shell_command_5" attribute="Command" lineEndContext="#stay" dynamic="true">
@ -772,16 +779,16 @@
<RegExpr attribute="Command" String="\\%1" context="#stay" dynamic="true" />
<RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" />
</context>
<!-- rules to be included in all shell_command contexts -->
<context name="shell_command_rules" attribute="Command" lineEndContext="#stay" >
<Detect2Chars attribute="Command" char="\" char1="\" context="#stay"/>
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
</context>
<!-- regular expression specific contexts -->
<context name="gdl_regexpr_1" attribute="Regular Expression" lineEndContext="#stay" >
<IncludeRules context="regexpr_rules" />
<Detect2Chars attribute="Regular Expression" char="\" char1=")" context="#stay"/>
@ -793,7 +800,7 @@
<DetectChar attribute="Regular Expression" context="gdl_regexpr_1_nested" char="(" />
<DetectChar attribute="Regular Expression" context="#pop" char=")" />
</context>
<context name="gdl_regexpr_2" attribute="Regular Expression" lineEndContext="#stay" >
<IncludeRules context="regexpr_rules" />
<Detect2Chars attribute="Regular Expression" char="\" char1="}" context="#stay"/>
@ -805,7 +812,7 @@
<DetectChar attribute="Regular Expression" context="gdl_regexpr_2_nested" char="{" />
<DetectChar attribute="Regular Expression" context="#pop" char="}" />
</context>
<context name="gdl_regexpr_3" attribute="Regular Expression" lineEndContext="#stay" >
<IncludeRules context="regexpr_rules" />
<Detect2Chars attribute="Regular Expression" char="\" char1="]" context="#stay"/>
@ -817,7 +824,7 @@
<DetectChar attribute="Regular Expression" context="gdl_regexpr_3_nested" char="[" />
<DetectChar attribute="Regular Expression" context="#pop" char="]" />
</context>
<context name="gdl_regexpr_4" attribute="Regular Expression" lineEndContext="#stay" >
<IncludeRules context="regexpr_rules" />
<Detect2Chars attribute="Regular Expression" char="\" char1="&gt;" context="#stay"/>
@ -829,8 +836,8 @@
<DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="&lt;" />
<DetectChar attribute="Regular Expression" context="#pop" char="&gt;" />
</context>
<!-- this format doesn't allow nesting. it is terminated by the next occurence of the
<!-- this format doesn't allow nesting. it is terminated by the next occurrence of the
delimiter character
-->
<context name="gdl_regexpr_5" attribute="Regular Expression" lineEndContext="#stay" dynamic="true">
@ -838,36 +845,36 @@
<RegExpr attribute="Regular Expression" String="\\%1" context="#stay" dynamic="true" />
<RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1[uiomxn]*" dynamic="true" endRegion="GdlInput" />
</context>
<!-- rules to be included in all regexpr contexts -->
<context name="regexpr_rules" attribute="Regular Expression" lineEndContext="#stay" >
<Detect2Chars attribute="Regular Expression" char="\" char1="\" context="#stay"/>
<RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/>
<Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>
</context>
<!-- END of General delimited input support -->
<!-- handle data in script -->
<context name="DATA" attribute="Data" lineEndContext="#stay"/>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Attribute Definition" defStyleNum="dsOthers"/>
<itemData name="Access Control" defStyleNum="dsKeyword" color="#0000FF"/>
<itemData name="Definition" defStyleNum="dsKeyword"/>
<itemData name="Pseudo variable" defStyleNum="dsDecVal"/>
<itemData name="Dec" defStyleNum="dsDecVal"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="Bin" defStyleNum="dsBaseN"/>
<itemData name="Symbol" defStyleNum="dsString" color="#D40000"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Raw String" defStyleNum="dsString" color="#DD4A4A" selColor="#DD4A4A"/>
@ -878,27 +885,28 @@
<itemData name="Data" defStyleNum="dsNormal"/>
<!-- short for 'general delimited input' -->
<itemData name="GDL input" defStyleNum="dsOthers" />
<itemData name="Default globals" defStyleNum="dsDataType" color="#C00000" bold="1"/>
<itemData name="Global Variable" defStyleNum="dsDataType" color="#C00000"/>
<itemData name="Global Constant" defStyleNum="dsDataType" color="#bb1188" bold="1"/>
<itemData name="Constant" defStyleNum="dsDataType"/>
<itemData name="Constant Value" defStyleNum="dsDataType" color="#bb1188"/>
<itemData name="Kernel methods" defStyleNum="dsNormal" color="#000080" selColor="#ffffff"/> <!-- #CC0E86 -->
<itemData name="Module mixin methods" defStyleNum="dsNormal" color="#000080" selColor="#ffffff"/> <!-- #CC0E86 -->
<itemData name="Member" defStyleNum="dsNormal"/>
<itemData name="Instance Variable" defStyleNum="dsOthers"/>
<itemData name="Class Variable" defStyleNum="dsOthers"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Blockcomment" defStyleNum="dsComment"/>
<itemData name="Region Marker" defStyleNum="dsNormal" color="#0000ff"/>
<itemData name="RDoc Value" defStyleNum="dsOthers"/>
<itemData name="Here Document" defStyleNum="dsOthers"/>
<!-- use these to mark errors and alerts things -->
<itemData name="Error" defStyleNum="dsError" />
<itemData name="Delimiter" defStyleNum="dsNormal" color="#FF9FEC"/>
<itemData name="Expression" defStyleNum="dsOthers"/>
<itemData name="Operator" defStyleNum="dsNormal" color="#FF9FEC"/>
@ -908,6 +916,6 @@
<comments>
<comment name="singleLine" start="#"/>
</comments>
<keywords casesensitive="1" weakDeliminator="!?"/>
<keywords casesensitive="1" weakDeliminator="!?"/>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Sather" version="1.03" kateversion="2.1" section="Sources" extensions="*.sa" mimetype="text/x-sather-src" casesensitive="1">
<language name="Sather" version="1.04" kateversion="2.5" section="Sources" extensions="*.sa" mimetype="text/x-sather-src" casesensitive="1">
<highlighting>
<list name="keywords">
<item> and </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Scala" version="1.0" kateversion="2.4" section="Sources"
<language name="Scala" version="1.01" kateversion="2.5" section="Sources"
extensions="*.scala" mimetype="text/x-scala" license="LGPL"
author="Stephane Micheloud (stephane.micheloud@epfl.ch)">
<!--

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
This file is part of KDE's kate project.
This file is part of TDE's kate project.
copyright : (C) 2004-2005 by Dominik Haumann
email : dhdev at gmx dot de
@ -40,7 +40,7 @@
guile procedures (cause then almost everything would be highlighted) I
removed some to have a rather small but "senseful" list of highlighted words.
-->
<language version="1.12" kateversion="2.4" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">
<language version="1.14" kateversion="2.5" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="9">
<highlighting>
<list name="operators">
<item> &lt;= </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="scilab" version="1.03" kateversion="2.3" section="Scientific" extensions="*.sci;*.sce" mimetype="text/x-sci">
<language name="scilab" version="1.04" kateversion="2.5" section="Scientific" extensions="*.sci;*.sce" mimetype="text/x-sci">
<highlighting>
<list name="Structure-keywords">
<item> do </item>

@ -21,7 +21,7 @@
-->
<language name="SCSS" version="2.04" kateversion="2.4" section="Markup" extensions="*.scss" indenter="cstyle"
<language name="SCSS" version="2.05" kateversion="2.5" section="Markup" extensions="*.scss" indenter="cstyle"
mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="sed" section="Scripts" version="1.0" kateversion="2.4" extensions="*.sed" mimetype="text/x-sed" author="Bart Sas (bart.sas@gmail.com)" license="GPL">
<language name="sed" section="Scripts" version="1.01" kateversion="2.5" extensions="*.sed" mimetype="text/x-sed" author="Bart Sas (bart.sas@gmail.com)" license="GPL">
<highlighting>
<contexts>
<context name="BeginningOfLine" attribute="Normal" lineEndContext="#stay">

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="SGML" version="1.02" kateversion="2.1" section="Markup" extensions="*.sgml" mimetype="text/sgml">
<language name="SGML" version="1.03" kateversion="2.5" section="Markup" extensions="*.sgml" mimetype="text/sgml">
<highlighting>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Highlighting for Sieve scripts (RFC 3028) written by Petter E. Stokke -->
<language name="Sieve" version="1.05" kateversion="2.4" section="Scripts" extensions="*.siv" mimetype="application/sieve" priority="5" author="Petter E. Stokke" license="">
<language name="Sieve" version="1.06" kateversion="2.5" section="Scripts" extensions="*.siv" mimetype="application/sieve" priority="5" author="Petter E. Stokke" license="">
<highlighting>
<list name="keywords">
<item> require </item>

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="SiSU" version="1.01" section="Markup" kateversion="2.4" extensions="*.sst;*.ssm;*.ssi;*._sst;*.-sst;" author="Ralph Amissah (ralph.amissah@gmail.com)" license="LGPL" >
<language name="SiSU" version="1.03" section="Markup" kateversion="2.5" extensions="*.sst;*.ssm;*.ssi;*._sst;*.-sst;" author="Ralph Amissah (ralph.amissah@gmail.com)" license="LGPL" >
<highlighting>
<list name="somename">
<item> class </item>
<item> const </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<keyword attribute="Keyword" context="#stay" String="somename" />
<DetectChar attribute="String" context="string" char="&quot;" />
<RegExpr String="^(0~\S+|@\S+)\s.+$" attribute="Header" context="#pop" />

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="SML" version="1.06" kateversion="2.1" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann (cullmann@kde.org)" license="LGPL">
<language name="SML" version="1.07" kateversion="2.5" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann (cullmann@kde.org)" license="LGPL">
<highlighting>
<list name="keywords">
<item> abstype </item>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Spice" section="Hardware" version="1.01" kateversion="2.3" extensions="*.sp;*.hsp" mimetype="text/spice" author="Steven Robson (s.a.robson@sms.ed.ac.uk) and Anders Lund" license="LGPL">
<language name="Spice" section="Hardware" version="1.02" kateversion="2.5" extensions="*.sp;*.hsp" mimetype="text/spice" author="Steven Robson (s.a.robson@sms.ed.ac.uk) and Anders Lund" license="LGPL">
<highlighting>
<contexts>

@ -5,7 +5,7 @@
original by Shane Wright (me@shanewright.co.uk)
modifications by Milian Wolff (mail@milianw.de)
-->
<language name="SQL (MySQL)" version="1.13" kateversion="2.5" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">
<language name="SQL (MySQL)" version="1.15" kateversion="2.5" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">
<highlighting>
<list name="keywords">
<item> ACCESS </item>
@ -153,6 +153,7 @@
<item> VARYING </item>
<item> WHEN </item>
<item> WHERE </item>
<item> WHILE </item>
<item> WITH </item>
<item> WRITE </item>
<item> XOR </item>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- PostgreSQL SQL, syntax definition based on sql.xml by Yury Lebedev -->
<language name="SQL (PostgreSQL)" version="1.10" kateversion="2.4" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">
<language name="SQL (PostgreSQL)" version="1.13" kateversion="2.5" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">
<highlighting>
<list name="keywords">
<item> ABORT </item>
@ -491,6 +491,7 @@
<item> WHEN </item>
<item> WHENEVER </item>
<item> WHERE </item>
<item> WHILE </item>
<item> WITH </item>
<item> WITHOUT </item>
<item> WORK </item>

@ -3,7 +3,7 @@
<!-- Oracle10g SQL and PL/SQL syntax - ANSI SQL 2003 superset -->
<!-- This file is maintained by Anders Lund <anders@alweb.dk> since 2005-11-06 -->
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
<language name="SQL" version="1.14" kateversion="2.4" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL">
<language name="SQL" version="1.17" kateversion="2.5" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL">
<highlighting>
<list name="keywords">
<item> ACCESS </item>
@ -585,6 +585,7 @@
<item> WHEN </item>
<item> WHENEVER </item>
<item> WHERE </item>
<item> WHILE </item>
<item> WITH </item>
<item> WITHOUT </item>
<item> WORK </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Stata" version="2.00" kateversion="2.4" section="Sources" extensions="*.do; *.ado; *.doh; *.DO; *.ADO; *.DOH"
<language name="Stata" version="2.01" kateversion="2.5" section="Sources" extensions="*.do; *.ado; *.doh; *.DO; *.ADO; *.DOH"
casesensitive="1" priority="5" author="Larry Radbill (Larry.Radbill gmail com)" license="LGPL" >
<highlighting>
@ -1290,7 +1290,7 @@
<item> _svy_fpc_note </item>
<item> _svy_ftest </item>
<item> _svy_ivreg_first </item>
<item> _svy_mtdeff </item>
<item> _svy_mkdeff </item>
<item> _svy_mkmeff </item>
<item> _svy_mkvmsp </item>
<item> _svy_mkvsrs </item>

@ -1,19 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
This is a template for the XML format used for syntax highlight descriptions
for the Kate text editor (http://kate.kde.org), which is part of the KDE
desktop environment (http://www.kde.org).
for the Kate text editor, which is part of the Trinity Desktop Environment.
Use it as the base for your own syntax files.
Look at language.dtd for some documentation of the allowed elements and their attributes.
There is also a description of how to validate your syntax file.
You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
-->
<language name="" section="" version="1.00" kateversion="2.3" extensions="" mimetype="" author="" license="">
<language name="" section="" version="1.00" kateversion="2.5" extensions="" mimetype="" author="" license="">
<highlighting>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay"/>

@ -7,7 +7,7 @@
================================================================================
July 17th 2008 Initial version
-->
<language name="SystemC" version="0.01" kateversion="2.4" section="Hardware" extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" priority="1" author="Joseph Wenninger (jowenn@kde.org)" license="LGPL">
<language name="SystemC" version="0.02" kateversion="2.5" section="Hardware" extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" priority="1" author="Joseph Wenninger (jowenn@kde.org)" license="LGPL">
<highlighting>
<list name="systemc_keywords">

@ -39,7 +39,7 @@
<!-- -->
<!--***********************************************************************-->
<!DOCTYPE language SYSTEM "language.dtd">
<language name="SystemVerilog" version="1.50" kateversion="2.4" section="Hardware" extensions="*.sv;*.svh" mimetype="text/x-systemverilog-src" author="Sean O'Boyle (seanoboyle@intelligentdv.com)" license="GPL">
<language name="SystemVerilog" version="1.51" kateversion="2.5" section="Hardware" extensions="*.sv;*.svh" mimetype="text/x-systemverilog-src" author="Sean O'Boyle (seanoboyle@intelligentdv.com)" license="GPL">
<highlighting>
<list name="key_deprecated">
<item> defparam </item>

@ -3,7 +3,7 @@
<!-- TADS 3 syntax highlight definition for Kate. -->
<!-- Author: Nikos Chantziaras <realnc@gmail.com> -->
<language name="TADS 3" section="Sources"
version="1.0" kateversion="2.4"
version="1.01" kateversion="2.5"
indenter="cstyle"
extensions="*.t;*.h"
mimetype=""

@ -8,6 +8,8 @@
Updated by Pawel Salawa (boogie at scripts dot one dot pl)
Revision history:
1.11:
- added new commands of Tcl/tk 8.5, released in 2007
1.10:
- Fixed problem with single ':' character after variable name (it's no longer variable,
because only double-colon is namespace delimiter and can be part of variable name).
@ -26,7 +28,7 @@
- Fixed detection of varaibles with names containing serval namespace delimiters (::)
-->
<language name="Tcl/Tk" version="1.10" kateversion="2.4" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl">
<language name="Tcl/Tk" version="1.12" kateversion="2.5" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl">
<highlighting>
<list name="keywords">
<item> after </item>
@ -36,9 +38,13 @@
<item> argc </item>
<item> array </item>
<item> auto_execk </item>
<item> auto_execok </item>
<item> auto_import </item>
<item> auto_load </item>
<item> auto_mkindex </item>
<item> auto_mkindex_old </item>
<item> auto_path </item>
<item> auto_qualify </item>
<item> auto_reset </item>
<item> beep </item>
<item> bell </item>
@ -52,15 +58,18 @@
<item> case </item>
<item> catch </item>
<item> cd </item>
<item> chan </item>
<item> checkbutton </item>
<item> clipboard </item>
<item> clock </item>
<item> close </item>
<item> combobox </item>
<item> concat </item>
<item> console </item>
<item> continue </item>
<item> dde </item>
<item> destroy </item>
<item> dict </item>
<item> else </item>
<item> elseif </item>
<item> encoding </item>
@ -100,7 +109,9 @@
<item> interp </item>
<item> join </item>
<item> label </item>
<item> labelframe </item>
<item> lappend </item>
<item> lassign </item>
<item> lindex </item>
<item> linsert </item>
<item> list </item>
@ -109,23 +120,30 @@
<item> load </item>
<item> lower </item>
<item> lrange </item>
<item> lremove </item>
<item> lrepeat </item>
<item> lreplace </item>
<item> lreverse </item>
<item> lsearch </item>
<item> lset </item>
<item> lsort </item>
<item> menu </item>
<item> menubutton </item>
<item> message </item>
<item> namespace </item>
<item> notebook </item>
<item> open </item>
<item> option </item>
<item> OptProc </item>
<item> pack </item>
<item> package </item>
<item> panedwindow </item>
<item> parray </item>
<item> pid </item>
<item> place </item>
<item> pkg_mkindex </item>
<item> pkg_mkIndex </item>
<item> proc </item>
<item> progressbar </item>
<item> puts </item>
<item> pwd </item>
<item> radiobutton </item>
@ -143,11 +161,15 @@
<item> seek </item>
<item> selection </item>
<item> send </item>
<item> separator </item>
<item> set </item>
<item> sizegrip </item>
<item> socket </item>
<item> source </item>
<item> spinbox </item>
<item> split </item>
<item> string </item>
<item> style </item>
<item> subst </item>
<item> switch </item>
<item> tclLog </item>
@ -180,15 +202,22 @@
<item> tk_getOpenFile </item>
<item> tk_getSaveFile </item>
<item> tk_library </item>
<item> tk_menuSetFocus </item>
<item> tk_messageBox </item>
<item> tk_optionMenu </item>
<item> tk_patchLevel </item>
<item> tk_popup </item>
<item> tk_strictMotif </item>
<item> tk_textCopy </item>
<item> tk_textCut </item>
<item> tk_textPaste </item>
<item> tk_version </item>
<item> toplevel </item>
<item> trace </item>
<item> traverseTo </item>
<item> treeview </item>
<item> unknown </item>
<item> unload </item>
<item> unset </item>
<item> update </item>
<item> uplevel </item>

@ -8,7 +8,7 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
<language name="Tcsh" version="0.1" kateversion="2.4" section="Scripts" extensions="*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login" mimetype="application/x-csh" casesensitive="1" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">
<language name="Tcsh" version="0.3" kateversion="2.5" section="Scripts" extensions="*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login" mimetype="application/x-csh" casesensitive="1" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">
<!-- (c) 2006 Matthew Woehlke (mw_triad@users.sourceforge.net)
Based on the bash highlighter by Wilbert Berendsen (wilbert@kde.nl)
@ -523,8 +523,8 @@
<RegExpr attribute="Option" context="#stay" String="-[A-Za-z0-9][A-Za-z0-9_]*" />
<RegExpr attribute="Option" context="#stay" String="--[a-z][A-Za-z0-9_-]*" />
<!-- handle variable assignments -->
<!--R--><RegExpr attribute="Keyword" context="Cmd@" String="\b@\s" />
<!--R--><RegExpr attribute="Keyword" context="CmdSet" String="\bset\s" />
<!--R--><RegExpr attribute="Keyword" context="#stay" String="\b@\s" />
<!--R--><RegExpr attribute="Keyword" context="#stay" String="\bset\s" />
<RegExpr attribute="Keyword" context="CmdSetEnv" String="\bsetenv\s" />
<!-- handle functions with function keyword before keywords -->
<!--!--><StringDetect attribute="Function" context="#stay" String=":()" />
@ -583,8 +583,8 @@
<RegExpr attribute="Expression" context="#stay" String="-[rwxXeozsfdlbcpSugktRLDIFNZ](?=\s)"/>
<RegExpr attribute="Expression" context="#stay" String="-[AMCUG]:?(?=\s)"/>
<RegExpr attribute="Expression" context="#stay" String="-P[0-7]{,3}:?(?=\s)"/>
<RegExpr attribute="Expression" context="#stay" String="([|&amp;=&gt;&lt;)\1"/>
<RegExpr attribute="Expression" context="#stay" String="[|^&amp;&gt;&lt;+-*/%!~]"/>
<RegExpr attribute="Expression" context="#stay" String="([|&amp;=&gt;&lt;])\1"/>
<RegExpr attribute="Expression" context="#stay" String="[|^&amp;&gt;&lt;+\-*/%!~]"/>
<RegExpr attribute="Expression" context="#stay" String="([!=]~|[!&gt;&lt;]=)"/>
</context>

@ -0,0 +1,331 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY var1 "\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*">
<!ENTITY varwithbraces "\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}">
]>
<!--
Copyright (C) 2007 Красимир Беров <k.berov@gmail.com>
Put this file in your $KDIR/share/apps/katepart/syntax,
then restart Кate/KDevelop/Quanta... whatever using katepart.
That's it. You have Template Toolkit Syntax highliting.
Enjoy!!!
-->
<!--
Changelog :)
0.02 Added highliting for interpolated variables
-->
<language version="0.04" kateversion="2.5"
author="Красимир Беров (k.berov@gmail.com)" license="Artistic"
name="TT2" section="Markup" extensions="*.tt*;" casesensitive="TRUE">
<highlighting>
<list name="control structures">
<!-- Template directives -->
<item>SET</item>
<item>GET</item>
<item>CALL</item>
<item>DEFAULT</item>
<item>IF</item>
<item>ELSIF</item>
<item>ELSE</item>
<item>UNLESS</item>
<item>LAST</item>
<item>NEXT</item>
<item>FOR</item>
<item>FOREACH</item>
<item>WHILE</item>
<item>SWITCH</item>
<item>CASE</item>
<item>PROCESS</item>
<item>INCLUDE</item>
<item>INSERT</item>
<item>WRAPPER</item>
<item>BLOCK</item>
<item>MACRO</item>
<item>END</item>
<item>USE</item>
<item>IN</item>
<item>FILTER</item>
<item>TRY</item>
<item>THROW</item>
<item>CATCH</item>
<item>FINAL</item>
<item>META</item>
<item>TAGS</item>
<item>DEBUG</item>
<item>PERL</item>
</list>
<list name="keywords">
<!-- Compile Time Constant Folding -->
<item>constants</item>
<!-- Special Variables -->
<item>template</item>
<item>component</item>
<item>loop</item>
<item>error</item>
<item>content</item>
</list>
<list name="items">
<!-- VMethods -->
<!-- Scalar Virtual Methods -->
<item>defined</item>
<item>length</item>
<item>repeat</item>
<item>replace</item>
<item>match</item>
<item>search</item>
<item>split</item>
<item>chunk</item>
<item>list</item>
<item>hash</item>
<item>size</item>
<!-- Hash Virtual Methods -->
<item>keys</item>
<item>values</item>
<item>each</item>
<item>sort</item>
<item>nsort</item>
<item>import</item>
<item>defined</item>
<item>exists</item>
<item>item</item>
<!-- List Virtual Methods -->
<item>first</item>
<item>last</item>
<item>max</item>
<item>reverse</item>
<item>join</item>
<item>grep</item>
<item>unshift</item>
<item>push</item>
<item>shift</item>
<item>pop</item>
<item>unique</item>
<item>merge</item>
<item>slice</item>
<item>splice</item>
<item>count</item>
<!-- Standard filters -->
<item>format</item>
<item>upper</item>
<item>lower</item>
<item>ucfirst</item>
<item>lcfirst</item>
<item>trim</item>
<item>collapse</item>
<item>html</item>
<item>html_entity</item>
<item>html_para</item>
<item>html_break</item>
<item>html_para_break</item>
<item>html_line_break</item>
<item>uri</item>
<item>url</item>
<item>indent</item>
<item>truncate</item>
<item>repeat</item>
<item>remove</item>
<item>replace</item>
<item>redirect</item>
<item>eval</item>
<item>evaltt</item>
<item>perl</item>
<item>evalperl</item>
<item>stdout</item>
<item>stderr</item>
<item>null</item>
<item>latex</item>
</list>
<list name="operators">
<item> = </item>
<item> != </item>
<item> ~= </item>
<item> += </item>
<item> -= </item>
<item> *= </item>
<item> /= </item>
<item> **= </item>
<item> |= </item>
<item> ||= </item>
<item> &amp;= </item>
<item> &amp;&amp;= </item>
<item> ?= </item>
<item> + </item>
<item> - </item>
<item> * </item>
<!-- <item> / </item>//-->
<item> % </item>
<item> || </item>
<item> &amp;&amp; </item>
<item> | </item>
<item> &amp; </item>
<item> &lt; </item>
<item> &lt;&lt; </item>
<item> &gt; </item>
<item> &gt;&gt; </item>
<item> ^ </item>
<item> -&gt; </item>
<item> =&gt; </item>
<item> . </item>
<item> , </item>
<item> ; </item>
<item> :: </item>
<item> \ </item>
<item> and </item>
<item> or </item>
<item> not </item>
<item> eq </item>
<item> ne </item>
</list>
<contexts>
<context name="nosource" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<RegExpr attribute="HTML Tag" context="scripts" String="&lt;\s*script(\s|&gt;)" insensitive="TRUE" />
<RegExpr attribute="HTML Tag" context="htmltag" String="&lt;\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" />
<StringDetect attribute="HTML Comment" context="htmlcomment" String="&lt;!--" />
<!-- Interpolated variables -->
<RegExpr attribute="Variable" context="#stay" String="&var1;" />
<RegExpr attribute="Variable" context="#stay" String="&varwithbraces;" />
</context>
<context name="tt2source" attribute="TT2 Text" lineEndContext="#stay">
<StringDetect attribute="Keyword" context="#pop" String="%]" />
<DetectChar attribute="Comment" context="tt2_onelinecomment" char="#" />
<DetectChar attribute="String" context="doublequotestring" char="&quot;" />
<DetectChar attribute="String" context="singlequotestring" char="&#39;" />
<DetectChar attribute="Keyword" context="#stay" char="&amp;" />
<keyword attribute="Operator" context="#stay" String="operators" />
<keyword attribute="Function" context="#stay" String="functions" />
<RegExpr attribute="String" context="" String="" />
<RegExpr attribute="String" context="#stay" String="[0123456789]*\.\.\.[0123456789]*" />
<HlCOct attribute="Octal" context="#stay" />
<HlCHex attribute="Hex" context="#stay" />
<Float attribute="Float" context="#stay" />
<Int attribute="Decimal" context="#stay" />
<AnyChar attribute="Other" context="#stay" String=";()}{:,[]" />
<keyword attribute="Other" context="#stay" String="Others" />
<RegExpr attribute="Control Structures" context="#stay" String="\bELSIF\b" insensitive="FALSE" beginRegion="iffi1" endRegion="iffi1"/>
<RegExpr attribute="Control Structures" context="#stay" String="\bELSE\b" insensitive="FALSE" beginRegion="iffi1" endRegion="iffi1"/>
<RegExpr attribute="Control Structures" context="#stay" String="\bIF\b" insensitive="FALSE" beginRegion="iffi1"/>
<RegExpr attribute="Control Structures" context="#stay" String="\bEND\b" insensitive="FALSE" endRegion="iffi1"/>
<RegExpr attribute="Control Structures" context="#stay" String="\bFOREACH\b" insensitive="FALSE" beginRegion="foreachblock"/>
<RegExpr attribute="Control Structures" context="#stay" String="\bEND\b" insensitive="FALSE" endRegion="foreachblock"/>
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Control Structures" context="#stay" String="control structures" />
<keyword attribute="Function" context="#stay" String="functions" />
</context>
<context name="tt2_onelinecomment" attribute="Comment" lineEndContext="#pop">
<StringDetect attribute="Keyword" context="#pop#pop" String="%]" />
</context>
<context name="doublequotestring" attribute="String" lineEndContext="#stay">
<Detect2Chars attribute="Escape Code" context="#stay" char="&quot;" char1="&quot;" />
<RegExpr attribute="Escape Code" context="#stay" String="\\[0-7]{1,3}" />
<RegExpr attribute="Escape Code" context="#stay" String="\\x[0-9A-Fa-f]{1,2}" />
<DetectChar attribute="String" context="#pop" char="&quot;" />
<!-- Interpolated variables -->
<RegExpr attribute="Variable" context="#stay" String="&var1;" />
<RegExpr attribute="Variable" context="#stay" String="&varwithbraces;" />
</context>
<context name="singlequotestring" attribute="String" lineEndContext="#stay">
<Detect2Chars attribute="Escape Code" context="#stay" char="'" char1="'"/>
<DetectChar attribute="String" context="#pop" char="'" />
</context>
<context name="htmltag" attribute="Identifier" lineEndContext="#stay">
<Detect2Chars attribute="HTML Tag" context="#pop" char="/" char1="&gt;" />
<DetectChar attribute="HTML Tag" context="#pop" char="&gt;"/>
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<RegExpr attribute="Identifier" context="identifiers" String="\s*=\s*"/>
</context>
<context name="htmlcomment" attribute="HTML Comment" lineEndContext="#stay">
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<StringDetect attribute="HTML Comment" context="#pop" String="--&gt;" />
<RegExpr attribute="Normal Text" context="identifiers" String="\s*=\s*"/>
</context>
<context name="identifiers" attribute="Identifier" lineEndContext="#stay">
<RegExpr attribute="String" context="#pop" String="\s*#?[a-zA-Z0-9]*" />
<DetectChar attribute="Types" context="types1" char="'" />
<DetectChar attribute="Types" context="types2" char="&quot;" />
</context>
<context name="types1" attribute="Types" lineEndContext="#stay">
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<DetectChar attribute="Types" context="#pop#pop" char="'" />
</context>
<context name="types2" attribute="Types" lineEndContext="#stay">
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<StringDetect attribute="Keyword" context="tt2source" String="[%" />
<DetectChar attribute="Types" context="#pop#pop" char="&quot;" />
</context>
<context name="scripts" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Comment" context="scripts_onelinecomment" char="/" char1="/" />
<Detect2Chars attribute="Comment" context="twolinecomment" char="/" char1="*" />
<keyword attribute="Control Structures" context="#stay" String="control structures" />
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Function" context="#stay" String="functions" />
<StringDetect attribute="Keyword" context="tt2source" String="[%"/>
<RegExpr attribute="HTML Tag" context="#pop" String="&lt;\s*\/\s*script\s*&gt;" insensitive="TRUE" />
<DetectChar attribute="String" context="doublequotestring" char="&quot;" />
<DetectChar attribute="String" context="singlequotestring" char="&#39;" />
<HlCOct attribute="Octal" context="#stay" />
<HlCHex attribute="Hex" context="#stay" />
<Float attribute="Float" context="#stay" />
<Int attribute="Decimal" context="#stay" />
<DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace1" />
<AnyChar attribute="Other" context="#stay" String=";()}{:,[]" />
<keyword attribute="Other" context="#stay" String="Others" />
</context>
<context name="scripts_onelinecomment" attribute="Comment" lineEndContext="#pop">
<RegExpr attribute="HTML Tag" context="#pop#pop" String="&lt;\s*\/\s*script\s*&gt;" insensitive="TRUE" />
</context>
<context name="twolinecomment" attribute="Comment" lineEndContext="#stay">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="TT2 Text" defStyleNum="dsNormal" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Function" defStyleNum="dsKeyword" color="#0000FF" selColor="#00ffff" bold="0" italic="0"/>
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="Octal" defStyleNum="dsBaseN" />
<itemData name="Hex" defStyleNum="dsBaseN" />
<itemData name="Float" defStyleNum="dsFloat" />
<itemData name="String" defStyleNum="dsString" color="#FF6C6C" selColor="#FF6C6C" bold="0" italic="0" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="1" italic="0" />
<itemData name="Control Structures" defStyleNum="dsKeyword" color="#0000dd" selColor="#ffffff" bold="1" italic="0" />
<itemData name="Backslash Code" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="1" italic="0" />
<itemData name="Other" defStyleNum="dsOthers" />
<itemData name="Operator" defStyleNum="dsKeyword" color="#008000"/>
<itemData name="HTML Tag" defStyleNum="dsKeyword" color="#0F0000" selColor="#ffffff" bold="1" italic="0" />
<itemData name="HTML Comment" defStyleNum="dsComment" />
<itemData name="Identifier" defStyleNum="dsOthers" />
<itemData name="Types" defStyleNum="dsDataType" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="multiLine" start="&lt;!--" end="--&gt;" />
<comment name="singleLine" start="#" />
<comment name="multiLine" start="[%#" end="%]"/>
</comments>
<keywords casesensitive="1" />
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Texinfo" extensions="*.texi" section="Markup" mimetype="application/x-texinfo" author="Daniel Franke (franke.daniel@gmail.com)" license="LGPL" version="0.2" kateversion="2.3">
<language name="Texinfo" extensions="*.texi" section="Markup" mimetype="application/x-texinfo" author="Daniel Franke (franke.daniel@gmail.com)" license="LGPL" version="0.3" kateversion="2.5">
<highlighting>
<!--

@ -0,0 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Kate syntax highlight filter for Textile formatted documents
Copyright 2012 alexander Kabakov. http://kabakov.wordpress.com/
Licensed under GPL license.
-->
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY strongregex "(\s|^)\*[^*]\w.*\w[^*]\*(\s|\.|,|;|:|\-|\?|$)">
<!ENTITY strikeoutregex "(\s|^)-[^-]\w.*\w[^-]-(\s|\.|,|;|:|\-|\?|$)">
<!ENTITY blockattrsregex "(\(\w+(#\w+)?\))?">
<!ENTITY formatregex "(&gt;|&lt;|=|&lt;&gt;)?">
<!ENTITY name "(?![0-9])[\w_:][\w.:_-]*">
]>
<language section="Markup" name="Textile"
version="1.2" kateversion="2.5"
extensions="*.textile" priority="15"
author="Alexander Kabakov (kabakov.as@gmail.com)"
license="LGPL" >
<highlighting>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<StringDetect attribute="comment" context="comment" String="&lt;!--" beginRegion="comment" />
<RegExpr attribute="macro" String="\{\{&name;\}\}" />
<RegExpr context="sectiontitle_block" String="^h1" />
<RegExpr context="sectionheader_block" String="^h2" />
<RegExpr context="sectionheader_block" String="^h3" />
<RegExpr context="sectionheader_block" String="^h4" />
<RegExpr context="sectionheader_block" String="^h5" />
<RegExpr attribute="textblock" String="^p&blockattrsregex;&formatregex;\." />
<RegExpr attribute="textblock" String="^pre&blockattrsregex;&formatregex;\." />
<RegExpr attribute="textblock" String="^bq&blockattrsregex;&formatregex;\." />
<RegExpr attribute="textblock" String="^bc&blockattrsregex;&formatregex;\." />
<RegExpr context="image" String="!"/>
<IncludeRules context="inc" />
<RegExpr attribute="itemlist" String="^[\*\#]+\s" />
<RegExpr attribute="htmllink" String='".*":http(s)?:[\w_/\\\d\.%\?&amp;=-]*' />
</context>
<context name="image" lineEndContext="#pop" attribute="image">
<RegExpr String="&blockattrsregex;" attribute="blockattrs" />
<RegExpr String="\w+\.(png|jpg|jpeg|gif|bmp)" attribute="imagefilename" />
<DetectChar char="!" context="#pop" attribute="image"/>
</context>
<context name="sectiontitle_block" lineEndContext="#pop" attribute="sectiontitle">
<RegExpr String="&blockattrsregex;" attribute="sectionblockattrs" />
</context>
<context name="sectionheader_block" lineEndContext="#pop" attribute="sectionheader">
<RegExpr String="&blockattrsregex;" attribute="sectionblockattrs" />
</context>
<context name="comment" attribute="comment" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="comment" context="#pop" String="--&gt;" endRegion="comment" />
</context>
<context attribute="common" name="inc" lineEndContext="#stay" >
<RegExpr attribute="strong" String="&strongregex;" />
<RegExpr attribute="strikeout" minimal="true" String="&strikeoutregex;"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="sectiontitle" defStyleNum="dsKeyword" bold="true" />
<itemData name="sectionheader" defStyleNum="dsFunction" bold="true" />
<itemData name="sectionblockattrs" defStyleNum="dsComment" bold="true"/>
<itemData name="blockattrs" defStyleNum="dsComment" />
<itemData name="textblock" defStyleNum="dsComment" />
<itemData name="strong" defStyleNum="dsNormal" bold="true" />
<itemData name="strikeout" defStyleNum="dsNormal" strikeOut="true" />
<itemData name="itemlist" defStyleNum="dsDataType" />
<itemData name="macro" defStyleNum="dsComment" bold="true"/>
<itemData name="comment" defStyleNum="dsComment" />
<itemData name="image" defStyleNum="dsFloat" />
<itemData name="imagefilename" defStyleNum="dsKeyword" />
<itemData name="htmllink" defStyleNum="dsDataType" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="multiLine" start="&lt;!--" end="--&gt;" />
</comments>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="TI Basic" version="1.01" kateversion="2.3" section="Scientific" extensions="">
<language name="TI Basic" version="1.02" kateversion="2.5" section="Scientific" extensions="">
<highlighting>
<list name="keywords">
<item>If </item>

@ -3,7 +3,7 @@
<!-- Created by Juliano Dorneles dos Santos <juliano_dorneles@yahoo.com.br> -->
<!-- Fixed for 3.2 Helio Chissini de Castro <helio@kde.org> -->
<!-- Extended and adapted (v1.20) by Eric Forgeot < http://esclinux.tk > -->
<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.20" kateversion="2.4" casesensitive="1">
<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.21" kateversion="2.5" casesensitive="1">
<highlighting>
<contexts>

@ -0,0 +1,220 @@
<!DOCTYPE DEFINITIONS>
<DEFINITIONS>
<Definition name="ABAP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/abap.xml" version="1.01"/>
<Definition name="ABC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/abc.xml" version="1.11"/>
<Definition name="ActionScript 2.0" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/actionscript.xml" version="1.01"/>
<Definition name="Ada" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ada.xml" version="1.08"/>
<Definition name="AHDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ahdl.xml" version="1.05"/>
<Definition name="AutoHotKey" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ahk.xml" version="1.01"/>
<Definition name="Alerts" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/alert.xml" version="1.09"/>
<Definition name="Alerts_indent" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/alert_indent.xml" version="1.10"/>
<Definition name="AMPLE" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ample.xml" version="0.3"/>
<Definition name="ANSI C89" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ansic89.xml" version="1.11"/>
<Definition name="Ansys" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ansys.xml" version="1.3"/>
<Definition name="Apache Configuration" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/apache.xml" version="1.12"/>
<Definition name="AVR Assembler" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm-avr.xml" version="1.05"/>
<Definition name="Motorola DSP56k" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm-dsp56k.xml" version="1.02"/>
<Definition name="Motorola 68k (VASM/Devpac)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm-m68k.xml" version="1.02"/>
<Definition name="Asm6502" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm6502.xml" version="1.05"/>
<Definition name="ASN.1" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asn1.xml" version="1.02"/>
<Definition name="ASP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asp.xml" version="1.05"/>
<Definition name="Asterisk" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asterisk.xml" version="1.01"/>
<Definition name="AWK" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/awk.xml" version="0.93"/>
<Definition name="Bash" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/bash.xml" version="2.18"/>
<Definition name="BibTeX" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/bibtex.xml" version="1.18"/>
<Definition name="B-Method" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/bmethod.xml" version="0.3"/>
<Definition name="C" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/c.xml" version="1.46"/>
<Definition name="CleanCSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ccss.xml" version="1.01"/>
<Definition name="Cg" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cg.xml" version="1.12"/>
<Definition name="CGiS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cgis.xml" version="1.03"/>
<Definition name="ChangeLog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/changelog.xml" version="1.05"/>
<Definition name="Chicken" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/chicken.xml" version="1.13"/>
<Definition name="Cisco" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cisco.xml" version="1.11"/>
<Definition name="Clipper" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/clipper.xml" version="1.06"/>
<Definition name="Clojure" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/clojure.xml" version="2.01"/>
<Definition name="CMake" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cmake.xml" version="1.24"/>
<Definition name="CoffeeScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/coffee.xml" version="1.5"/>
<Definition name="ColdFusion" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/coldfusion.xml" version="1.05"/>
<Definition name="Common Lisp" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/commonlisp.xml" version="1.06"/>
<Definition name="Component-Pascal" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/component-pascal.xml" version="1.06"/>
<Definition name="ConTeXt" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/context.xml" version="1.2"/>
<Definition name="C++" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cpp.xml" version="1.52"/>
<Definition name="C++11" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cpp11.xml" version="1.63"/>
<Definition name="Crack" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/crk.xml" version="1.2"/>
<Definition name="C#" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cs.xml" version="1.16"/>
<Definition name="CSS/PHP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/css-php.xml" version="2.07"/>
<Definition name="CSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/css.xml" version="2.07"/>
<Definition name="CUE Sheet" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cue.xml" version="0.92"/>
<Definition name="Curry" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/curry.xml" version="0.4"/>
<Definition name="D" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/d.xml" version="1.63"/>
<Definition name="Ddoc" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ddoc.xml" version="1.15"/>
<Definition name="Debian Changelog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/debianchangelog.xml" version="0.69"/>
<Definition name="Debian Control" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/debiancontrol.xml" version="0.85"/>
<Definition name=".desktop" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/desktop.xml" version="1.06"/>
<Definition name="Diff" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/diff.xml" version="1.12"/>
<Definition name="Django HTML Template" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/djangotemplate.xml" version="1.4"/>
<Definition name="MS-DOS Batch" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dosbat.xml" version="0.31"/>
<Definition name="dot" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dot.xml" version="1.2"/>
<Definition name="Doxygen" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/doxygen.xml" version="1.36"/>
<Definition name="DoxygenLua" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/doxygenlua.xml" version="1.02"/>
<Definition name="DTD" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dtd.xml" version="1.03"/>
<Definition name="E Language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/e.xml" version="0.23"/>
<Definition name="Eiffel" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/eiffel.xml" version="1.03"/>
<Definition name="Email" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/email.xml" version="1.01"/>
<Definition name="Erlang" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/erlang.xml" version="1.03"/>
<Definition name="Euphoria" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/euphoria.xml" version="2.09"/>
<Definition name="ferite" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ferite.xml" version="1.05"/>
<Definition name="4GL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fgl-4gl.xml" version="1.02"/>
<Definition name="4GL-PER" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fgl-per.xml" version="1.02"/>
<Definition name="Fortran" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fortran.xml" version="1.14"/>
<Definition name="FreeBASIC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/freebasic.xml" version="0.15"/>
<Definition name="FSharp" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fsharp.xml" version="0.0.2"/>
<Definition name="fstab" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fstab.xml" version="1.01"/>
<Definition name="GAP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gap.xml" version="0.3"/>
<Definition name="GCCExtensions" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gcc.xml" version="0.4"/>
<Definition name="GDB Backtrace" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gdb.xml" version="1.01"/>
<Definition name="GDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gdl.xml" version="1.02"/>
<Definition name="GNU Gettext" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gettext.xml" version="2.01"/>
<Definition name="Git Rebase" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/git-rebase.xml" version="1.01"/>
<Definition name="GlossTex" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/glosstex.xml" version="0.02"/>
<Definition name="GLSL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/glsl.xml" version="1.04"/>
<Definition name="GNU Assembler" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gnuassembler.xml" version="1.11"/>
<Definition name="Gnuplot" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gnuplot.xml" version="0.2"/>
<Definition name="Go" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/go.xml" version="1.05"/>
<Definition name="KDev-PG[-Qt] Grammar" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/grammar.xml" version="0.25"/>
<Definition name="Haml" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/haml.xml" version="1.2"/>
<Definition name="Haskell" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/haskell.xml" version="2.3"/>
<Definition name="PHP (HTML)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html-php.xml" version="2.00"/>
<Definition name="HTML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html.xml" version="2.00"/>
<Definition name="Quake Script" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/idconsole.xml" version="1.03"/>
<Definition name="IDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/idl.xml" version="1.08"/>
<Definition name="ILERPG" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ilerpg.xml" version="1.06"/>
<Definition name="Inform" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/inform.xml" version="1.24"/>
<Definition name="INI Files" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ini.xml" version="1.2"/>
<Definition name="Jam" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/jam.xml" version="0.4"/>
<Definition name="Java" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/java.xml" version="1.22"/>
<Definition name="Javadoc" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/javadoc.xml" version="1.05"/>
<Definition name="JavaScript/PHP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/javascript-php.xml" version="1.23"/>
<Definition name="JavaScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/javascript.xml" version="1.23"/>
<Definition name="JSON" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/json.xml" version="1.3"/>
<Definition name="JSP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/jsp.xml" version="1.03"/>
<Definition name="Julia" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/julia.xml" version="0.3"/>
<Definition name="KBasic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/kbasic.xml" version="1.03"/>
<Definition name="LaTeX" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/latex.xml" version="1.56"/>
<Definition name="LDIF" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ldif.xml" version="1.03"/>
<Definition name="LessCSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/less.xml" version="0.2"/>
<Definition name="Lex/Flex" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lex.xml" version="1.02"/>
<Definition name="LilyPond" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lilypond.xml" version="2.21"/>
<Definition name="Literate Curry" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/literate-curry.xml" version="0.3"/>
<Definition name="Literate Haskell" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/literate-haskell.xml" version="2.0.2"/>
<Definition name="Logtalk" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/logtalk.xml" version="1.52"/>
<Definition name="LPC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lpc.xml" version="0.77"/>
<Definition name="Lua" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lua.xml" version="1.07"/>
<Definition name="M3U" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/m3u.xml" version="1.11"/>
<Definition name="GNU M4" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/m4.xml" version="1.2"/>
<Definition name="MAB-DB" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mab.xml" version="1.04"/>
<Definition name="Makefile" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/makefile.xml" version="2.01"/>
<Definition name="Mako" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mako.xml" version="1.01"/>
<Definition name="Mason" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mason.xml" version="1.07"/>
<Definition name="Matlab" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/matlab.xml" version="1.32"/>
<Definition name="Maxima" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/maxima.xml" version="0.17"/>
<Definition name="MediaWiki" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mediawiki.xml" version="1.10"/>
<Definition name="MEL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mel.xml" version="1.02"/>
<Definition name="mergetag text" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mergetagtext.xml" version="0.1"/>
<Definition name="MIPS Assembler" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mips.xml" version="1.04"/>
<Definition name="Modelica" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/modelica.xml" version="3.3"/>
<Definition name="Modelines" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/modelines.xml" version="1.01"/>
<Definition name="Modula-2" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/modula-2.xml" version="1.04"/>
<Definition name="MonoBasic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/monobasic.xml" version="1.02"/>
<Definition name="Music Publisher" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mup.xml" version="1.07"/>
<Definition name="Intel x86 (NASM)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/nasm.xml" version="1.41"/>
<Definition name="Nemerle" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/nemerle.xml" version="0.33"/>
<Definition name="nesC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/nesc.xml" version="1.01"/>
<Definition name="noweb" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/noweb.xml" version="1.01"/>
<Definition name="Objective-C" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/objectivec.xml" version="1.08"/>
<Definition name="Objective-C++" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/objectivecpp.xml" version="1.02"/>
<Definition name="Objective Caml" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ocaml.xml" version="1.06"/>
<Definition name="Octave" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/octave.xml" version="1.02"/>
<Definition name="OORS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/oors.xml" version="1.2"/>
<Definition name="OPAL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/opal.xml" version="1.2"/>
<Definition name="OpenCL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/opencl.xml" version="1.45"/>
<Definition name="Pango" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pango.xml" version="0.2"/>
<Definition name="Pascal" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pascal.xml" version="1.23"/>
<Definition name="Perl" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/perl.xml" version="1.30"/>
<Definition name="PGN" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pgn.xml" version="2.02"/>
<Definition name="PHP/PHP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/php.xml" version="1.45"/>
<Definition name="PicAsm" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/picsrc.xml" version="1.08"/>
<Definition name="Pig" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pig.xml" version="3.1"/>
<Definition name="Pike" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pike.xml" version="1.08"/>
<Definition name="PostScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/postscript.xml" version="1.02"/>
<Definition name="POV-Ray" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/povray.xml" version="1.2"/>
<Definition name="PostScript Printer Description" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ppd.xml" version="0.2"/>
<Definition name="progress" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/progress.xml" version="1.11"/>
<Definition name="Prolog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/prolog.xml" version="1.2"/>
<Definition name="Protobuf" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/protobuf.xml" version="2.41"/>
<Definition name="PureBasic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/purebasic.xml" version="3.92"/>
<Definition name="Python" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/python.xml" version="2.23"/>
<Definition name="QMake" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/qmake.xml" version="1.3"/>
<Definition name="QML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/qml.xml" version="1.4"/>
<Definition name="C++11/Qt4" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/qt4.xml" version="1.01"/>
<Definition name="R Script" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/r.xml" version="2.08"/>
<Definition name="RapidQ" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rapidq.xml" version="1.02"/>
<Definition name="RELAX NG" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/relaxng.xml" version="0.9"/>
<Definition name="RelaxNG-Compact" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/relaxngcompact.xml" version="0.3"/>
<Definition name="reStructuredText" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rest.xml" version="1.02"/>
<Definition name="Restructured Text" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/restructuredtext.xml" version="1.01"/>
<Definition name="REXX" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rexx.xml" version="1.02"/>
<Definition name="Ruby/Rails/RHTML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rhtml.xml" version="1.02"/>
<Definition name="RenderMan RIB" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rib.xml" version="1.01"/>
<Definition name="RPM Spec" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rpmspec.xml" version="2.04"/>
<Definition name="RSI IDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rsiidl.xml" version="1.05"/>
<Definition name="Ruby" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ruby.xml" version="1.28"/>
<Definition name="Sather" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sather.xml" version="1.04"/>
<Definition name="Scala" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/scala.xml" version="1.01"/>
<Definition name="Scheme" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/scheme.xml" version="1.14"/>
<Definition name="scilab" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sci.xml" version="1.04"/>
<Definition name="SCSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/scss.xml" version="2.05"/>
<Definition name="sed" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sed.xml" version="1.01"/>
<Definition name="SGML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sgml.xml" version="1.03"/>
<Definition name="Sieve" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sieve.xml" version="1.06"/>
<Definition name="SiSU" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sisu.xml" version="1.03"/>
<Definition name="SML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sml.xml" version="1.07"/>
<Definition name="Spice" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/spice.xml" version="1.02"/>
<Definition name="SQL (MySQL)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sql-mysql.xml" version="1.15"/>
<Definition name="SQL (PostgreSQL)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sql-postgresql.xml" version="1.13"/>
<Definition name="SQL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sql.xml" version="1.17"/>
<Definition name="Stata" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/stata.xml" version="2.01"/>
<Definition name="SystemC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/systemc.xml" version="0.02"/>
<Definition name="SystemVerilog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/systemverilog.xml" version="1.51"/>
<Definition name="TADS 3" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tads3.xml" version="1.01"/>
<Definition name="Tcl/Tk" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tcl.xml" version="1.12"/>
<Definition name="Tcsh" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tcsh.xml" version="0.3"/>
<Definition name="TT2" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/template-toolkit.xml" version="0.04"/>
<Definition name="Texinfo" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/texinfo.xml" version="0.3"/>
<Definition name="Textile" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/textile.xml" version="1.2"/>
<Definition name="TI Basic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tibasic.xml" version="1.02"/>
<Definition name="txt2tags" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/txt2tags.xml" version="1.21"/>
<Definition name="UnrealScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/uscript.xml" version="0.93"/>
<Definition name="Valgrind Suppression" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/valgrind-suppression.xml" version="1.01"/>
<Definition name="Varnish Configuration Language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/varnish.xml" version="0.4"/>
<Definition name="Varnish Test Case language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/varnishtest.xml" version="0.2"/>
<Definition name="vCard, vCalendar, iCalendar" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/vcard.xml" version="0.2"/>
<Definition name="Velocity" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/velocity.xml" version="1.05"/>
<Definition name="Vera" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/vera.xml" version="1.01"/>
<Definition name="Verilog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/verilog.xml" version="1.10"/>
<Definition name="VHDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/vhdl.xml" version="1.11"/>
<Definition name="VRML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/vrml.xml" version="1.02"/>
<Definition name="WINE Config" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/winehq.xml" version="1.04"/>
<Definition name="Wesnoth Markup Language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/wml.xml" version="0.42"/>
<Definition name="xHarbour" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xharbour.xml" version="1.05"/>
<Definition name="XML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xml.xml" version="2.04"/>
<Definition name="XML (Debug)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xmldebug.xml" version="1.04"/>
<Definition name="x.org Configuration" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xorg.xml" version="1.01"/>
<Definition name="xslt" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xslt.xml" version="1.04"/>
<Definition name="XUL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xul.xml" version="0.11"/>
<Definition name="yacas" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/yacas.xml" version="1.03"/>
<Definition name="Yacc/Bison" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/yacc.xml" version="1.04"/>
<Definition name="YAML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/yaml.xml" version="1.3"/>
<Definition name="Zonnon" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/zonnon.xml" version="1.01"/>
<Definition name="Zsh" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/zsh.xml" version="0.2"/>
</DEFINITIONS>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="UnrealScript" version="0.92" kateversion="2.3" section="Scripts" extensions="*.uc" mimetype="text/x-uscript">
<language name="UnrealScript" version="0.93" kateversion="2.5" section="Scripts" extensions="*.uc" mimetype="text/x-uscript">
<highlighting>
<list name="keywords">
<item> break </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="1.0" kateversion="2.0" author="Milian Wolff (mail@milianw.de)" license="LGPL">
<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="1.01" kateversion="2.5" author="Milian Wolff (mail@milianw.de)" license="LGPL">
<highlighting>
<contexts>
<context name="File" attribute="Normal Text" lineEndContext="#stay">

@ -0,0 +1,349 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Varnish Configuration Language" version="0.4" kateversion="2.5" section="Configuration" extensions="*.vcl;" mimetype="" author="Xavier Guerrin (xavier@tuxfamily.org)" license="WTFPL">
<highlighting>
<list name="vclStandardSubs">
<item>vcl_recv</item>
<item>vcl_pipe</item>
<item>vcl_pass</item>
<item>vcl_hash</item>
<item>vcl_hit</item>
<item>vcl_miss</item>
<item>vcl_fetch</item>
<item>vcl_deliver</item>
<item>vcl_init</item>
<item>vcl_fini</item>
<item>vcl_error</item>
</list>
<list name="vclConditionalKeywords">
<item> if </item>
<item> else </item>
<item> elsif </item>
<item> elseif </item>
</list>
<list name="vclKeywords">
<item> set </item>
<item> call </item>
<item> error </item>
<item> esi </item>
<item> include </item>
<item> remove </item>
<item> unset </item>
<item> panic </item>
<item> rollback </item>
<item> purge </item>
<item> synthetic </item>
</list>
<list name="vclStandardFunctions">
<item> hash_data </item>
<item> regsub </item>
<item> regsuball </item>
<item> ban </item>
<item> ban_url </item>
</list>
<list name="vclModes">
<item>deliver</item>
<item>error</item>
<item>fetch</item>
<item>hash</item>
<item>hit_for_pass</item>
<item>lookup</item>
<item>ok</item>
<item>pass</item>
<item>pipe</item>
<item>restart</item>
</list>
<list name="vclDirectorTypes">
<item>random</item>
<item>client</item>
<item>hash</item>
<item>round-robin</item>
<item>dns</item>
<item>fallback</item>
</list>
<!--
2013-06-16
This list was generated from https://www.varnish-cache.org/vmods, taking
only vmods having the "Used in production" status, excluding the
non-free ones.
-->
<list name="knownVMods">
<item>std</item>
<item>example</item>
<item>abtest</item>
<item>threescale</item>
<item>authentication</item>
<item>boltsort</item>
<item>crashhandler</item>
<item>curl</item>
<item>digest</item>
<item>dns</item>
<item>header</item>
<item>memcached</item>
<item>null</item>
<item>querystring</item>
<item>shield</item>
<item>softpurge</item>
<item>statsd</item>
<item>throttle</item>
<item>timeutils</item>
<item>urlcode</item>
<item>var</item>
<item>timers</item>
</list>
<contexts>
<context name="normal_text" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="comments" />
<RegExpr attribute="Keyword" context="sub_declaration" String="^\s*sub\s+" />
<RegExpr attribute="Keyword" context="probe_declaration" String="^\s*probe\s+" />
<RegExpr attribute="Keyword" context="backend_declaration" String="^\s*backend\s+" />
<RegExpr attribute="Keyword" context="director_declaration" String="^\s*director\s+" />
<RegExpr attribute="Keyword" context="acl_declaration" String="^\s*acl\s+" />
<RegExpr attribute="Keyword" context="import_declaration" String="^\s*import\s+" />
<RegExpr attribute="Keyword" context="include_declaration" String="^\s*include\s+" />
<IncludeRules context="embedded-c" />
</context>
<context name="embedded-c" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars char="C" char1="{" context="embedded-c_enclosure" attribute="Region Marker" beginRegion="embedded_c_block" />
</context>
<context name="embedded-c_enclosure" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars char="}" char1="C" context="#pop" attribute="Region Marker" endRegion="embedded_c_block" />
<IncludeRules context="##C" />
</context>
<context name="shell-like-comment" attribute="Comment" lineEndContext="#pop">
</context>
<context name="c-like-comment" attribute="Comment" lineEndContext="#stay">
<Detect2Chars char="*" char1="/" context="#pop" attribute="Comment" />
</context>
<context name="cplusplus-like-comment" attribute="Comment" lineEndContext="#pop">
</context>
<context name="comments" attribute="Comment" lineEndContext="#pop">
<DetectChar char="#" context="shell-like-comment" attribute="Comment" />
<Detect2Chars char="/" char1="*" context="c-like-comment" attribute="Comment" />
<Detect2Chars char="/" char1="/" context="cplusplus-like-comment" attribute="Comment" />
</context>
<context name="vcl_variables" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Variable" context="#stay" String="now" />
<RegExpr attribute="Storage" context="#stay" String="storage\.[a-zA-Z0-9]+(?:\.(?:free_space|used_space|happy))?" />
<RegExpr attribute="TCP Property" context="#stay" String="client\.(ip|identity)" />
<RegExpr attribute="TCP Property" context="#stay" String="server\.(ip|hostname|identity|port)" />
<RegExpr attribute="HTTP Property" context="#stay" String="req\.(request|url|proto|backend|restarts|esi_level|ttl|grace|keep|xid|esi|can_gzip|backend\.healthy|hash_ignore_busy|hash_always_miss)" />
<RegExpr attribute="HTTP Property" context="#stay" String="bereq\.(request|url|proto|connect_timeout|first_byte_timeout|between_bytes_timeout)" />
<RegExpr attribute="HTTP Property" context="#stay" String="obj\.(proto|status|response|hits|ttl|grace|keep|lastuse)" />
<RegExpr attribute="HTTP Property" context="#stay" String="beresp\.(proto|saintmode|status|response|do_esi|do_stream|do_gzip|do_gunzip|ttl|grace|keep|backend\.(name|ip|port)|storage|cacheable)" />
<RegExpr attribute="HTTP Property" context="#stay" String="resp\.(proto|status|response)" />
<RegExpr attribute="HTTP X- Header" context="#stay" String="(req|bereq|resp|beresp|obj)\.http\.X-[-_A-Za-z0-9]*" />
<RegExpr attribute="HTTP Header" context="#stay" String="(req|bereq|resp|beresp|obj)\.http\.[A-Za-z][-_A-Za-z0-9]*" />
</context>
<context name="vcl_operators" attribute="Operator" lineEndContext="#stay">
<DetectChar attribute="Logical Operator" context="#stay" char="!" />
<Detect2Chars attribute="Logical Operator" context="#stay" char="&amp;" char1="&amp;" />
<Detect2Chars attribute="Logical Operator" context="#stay" char="|" char1="|" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="=" char1="=" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="!" char1="=" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="&lt;" char1="=" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="&gt;" char1="=" />
<DetectChar attribute="Comparison Operator" context="#stay" char="&lt;" />
<DetectChar attribute="Comparison Operator" context="#stay" char="&gt;" />
<DetectChar attribute="Comparison Operator" context="#stay" char="~" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="!" char1="~" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="+" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="-" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="*" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="/" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="+" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="-" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="*" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="/" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="+" char1="+" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="-" char1="-" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="&gt;" char1="&gt;" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="&lt;" char1="&lt;" />
<DetectChar attribute="Operator" context="#stay" char="=" />
</context>
<context name="minimal_code" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="comments" />
<RegExpr attribute="Duration" context="#stay" String="([0-9]+|[0-9]+\.[0-9]+|[0-9]+\.|\.[0-9]+)\s*(w|d|h|m|s|ms)" />
<RegExpr attribute="Data Size" context="#stay" String="([0-9]+|[0-9]+\.[0-9]+|[0-9]+\.|\.[0-9]+)\s*[KMGT]?B" />
<Float attribute="Float" context="#stay" />
<Int attribute="Decimal" context="#stay" />
<StringDetect attribute="Keyword" context="#stay" String="true" />
<StringDetect attribute="Keyword" context="#stay" String="false" />
<DetectChar char="&quot;" context="string" attribute="String" />
<Detect2Chars attribute="String" char="{" char1="&quot;" context="string_enclosure" beginRegion="string_enclosure_block" />
</context>
<context name="definition_code" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="minimal_code" />
<DetectChar attribute="Operator" context="#stay" char="=" />
</context>
<context name="basic_code" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="minimal_code" />
<IncludeRules context="vcl_variables" />
<IncludeRules context="vcl_operators" />
</context>
<context name="regular_code" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="basic_code" />
<keyword attribute="Keyword" context="#stay" String="vclKeywords" />
<keyword attribute="Standard VCL Sub" context="#stay" String="vclStandardSubs" />
<keyword attribute="Standard VCL Function" context="#stay" String="vclStandardFunctions" />
<keyword attribute="Condition Keyword" context="condition_part" String="vclConditionalKeywords" />
<StringDetect attribute="Keyword" context="return_statement" String="return" />
<IncludeRules context="embedded-c" />
</context>
<context name="return_statement" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Action Keyword" context="#stay" String="vclModes" />
<DetectChar attribute="Normal Text" char=";" context="#pop" />
</context>
<context name="string_enclosure" attribute="String" lineEndContext="#stay">
<Detect2Chars attribute="String" char="&quot;" char1="}" context="#pop" endRegion="string_enclosure_block" />
</context>
<context name="sub_declaration" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<keyword attribute="Standard VCL Sub" context="#stay" String="vclStandardSubs" />
<DetectChar attribute="Region Marker" context="sub_definition" char="{" beginRegion="sub_block" />
</context>
<context name="sub_definition" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="regular_code" />
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="sub_block" />
</context>
<context name="condition_part" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Condition Keyword" context="#stay" String="vclConditionalKeywords" />
<DetectChar attribute="Region Marker" context="conditional_expression" char="(" beginRegion="conditional_expression_block" />
<DetectChar attribute="Region Marker" context="conditional_block" char="{" beginRegion="conditional_blockregion" />
</context>
<context name="conditional_expression" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="basic_code" />
<DetectChar attribute="Region Marker" context="conditional_expression" char="(" beginRegion="conditional_expression_block" />
<DetectChar attribute="Region Marker" context="#pop" char=")" endRegion="conditional_expression_block" />
</context>
<context name="conditional_block" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="regular_code" />
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="conditional_blockregion" />
</context>
<context name="string" attribute="String" lineEndContext="#pop">
<DetectChar attribute="String" context="#pop" char="&quot;" />
</context>
<context name="probe_declaration" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<DetectChar attribute="Operator" context="#stay" char="=" />
<DetectChar attribute="Region Marker" context="probe_definition" char="{" beginRegion="probe_block" />
<DetectChar attribute="Normal Text" context="#pop" char=";" />
</context>
<context name="probe_definition" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Probe Property" context="#stay" String="\.(url|request|window|threshold|initial|expected_response|interval|timeout)" />
<IncludeRules context="definition_code" />
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="probe_block" />
</context>
<context name="backend_declaration" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<DetectChar attribute="Operator" context="#stay" char="=" />
<DetectChar attribute="Region Marker" context="backend_definition" char="{" beginRegion="backend_block" />
<DetectChar attribute="Normal Text" context="#pop" char=";" />
</context>
<context name="backend_definition" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Backend Property" context="#stay" String="\.(host|port|host_header|connect_timeout|first_byte_timeout|between_bytes_timeout|max_connections|saintmode_threshold)" />
<IncludeRules context="definition_code" />
<StringDetect attribute="Backend Property" context="probe_declaration" String=".probe" />
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="backend_block" />
</context>
<context name="director_declaration" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<keyword attribute="Director Type" String="vclDirectorTypes" />
<StringDetect attribute="Director Type" String="round-robin" />
<DetectChar attribute="Region Marker" context="director_definition" char="{" beginRegion="director_block" />
</context>
<context name="director_definition" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="definition_code" />
<RegExpr attribute="Director Property" context="#stay" String="\.(retries|ttl|suffix)" />
<StringDetect attribute="Director Property" context="backend_declaration" String=".list" />
<DetectChar attribute="Region Marker" context="director_backend" char="{" beginRegion="director_backend_block" />
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="backend_block" />
</context>
<context name="director_backend" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="definition_code" />
<RegExpr attribute="Director Property" context="#stay" String="\.(weight|suffix)" />
<StringDetect attribute="Director Property" context="backend_declaration" String=".backend" />
<DetectChar attribute="Region Marker" context="#pop" char="}" endRegion="director_backend_block" />
</context>
<context name="acl_declaration" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="acl_definition" char="{" beginRegion="acl_block" />
</context>
<context name="acl_definition" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="minimal_code" />
<DetectChar attribute="Logical Operator" context="#stay" char="!" />
<DetectChar attribute="Logical Operator" context="#stay" char="/" />
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="acl_block" />
</context>
<context name="import_declaration" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Well-known VMod" context="import_identified" String="knownVMods" />
<DetectIdentifier attribute="VMod Identifier" context="import_identified" />
</context>
<context name="import_identified" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Normal Text" context="#pop#pop" char=";" />
<StringDetect attribute="Keyword" context="import_from" String="from" />
</context>
<context name="import_from" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="&quot;" context="import_from_path" attribute="String" />
</context>
<context name="import_from_path" attribute="String" lineEndContext="#stay">
<DetectChar char="&quot;" context="import_from_path_complete" attribute="String" />
</context>
<context name="import_from_path_complete" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Normal Text" context="#pop#pop#pop#pop#pop" char=";" />
</context>
<context name="include_declaration" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="&quot;" context="include_path" attribute="String" />
</context>
<context name="include_path" attribute="String" lineEndContext="#stay">
<DetectChar char="&quot;" context="include_path_complete" attribute="String" />
</context>
<context name="include_path_complete" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Normal Text" context="#pop#pop#pop" char=";" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Condition Keyword" defStyleNum="dsKeyword" />
<itemData name="Action Keyword" defStyleNum="dsKeyword" />
<itemData name="Director Type" defStyleNum="dsDataType" />
<itemData name="Standard VCL Function" defStyleNum="dsFunction" />
<itemData name="Standard VCL Sub" defStyleNum="dsFunction" bold="1" />
<itemData name="Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Comparison Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Arithmetic Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Logical Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="String" defStyleNum="dsString" bold="0" italic="0" />
<itemData name="Data Type" defStyleNum="dsDataType" />
<itemData name="Region Marker" defStyleNum="dsNormal" />
<itemData name="Probe Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="1" italic="0" />
<itemData name="Backend Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="1" italic="0" />
<itemData name="Director Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="1" italic="0" />
<itemData name="Storage" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="0" />
<itemData name="TCP Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="1" />
<itemData name="HTTP Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="0" />
<itemData name="HTTP Header" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" italic="0" />
<itemData name="HTTP X- Header" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" italic="1" />
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="Duration" defStyleNum="dsDecVal" />
<itemData name="Data Size" defStyleNum="dsDecVal" />
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="VMod Identifier" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" />
<itemData name="Well-known VMod" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="1" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->

@ -0,0 +1,482 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Varnish Test Case language" version="0.2" kateversion="2.5" section="Configuration" extensions="*.vtc;" mimetype="" author="Xavier Guerrin (xavier@tuxfamily.org)" license="WTFPL">
<highlighting>
<list name="vtcClientKeywords">
<item>fatal</item>
<item>gunzip</item>
<item>rxchunk</item>
</list>
<list name="vtcServerKeywords">
<item>accept</item>
<item>close</item>
<item>expect_close</item>
<item>fatal</item>
<item>rxbody</item>
<item>rxhdrs</item>
<item>rxreq</item>
</list>
<contexts>
<!-- default context: define main keywords -->
<context name="vtcnormal_text" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="global_directives_restricted" />
<IncludeRules context="global_directives" />
</context>
<!-- directives that can be encountered at global scope but not within a loop -->
<context name="global_directives_restricted" attribute="Normal Text" lineEndContext="#stay">
<StringDetect firstNonSpace="true" attribute="Keyword" context="varnishtest_declaration" String="varnishtest" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="feature_instruction" String="feature" />
<RegExpr attribute="Keyword" context="#stay" String="^\s*random\s*$" />
</context>
<!-- directives that can be encountered at global scope, either directly or within a loop -->
<context name="global_directives" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="comments" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="client_declaration" String="client" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="server_declaration" String="server" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="varnish_declaration" String="varnish" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="sema_instruction" String="sema" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="shell_instruction" String="shell" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="delay_instruction" String="delay" />
<StringDetect firstNonSpace="true" attribute="Keyword" context="global_loop_instruction" String="loop" />
</context>
<!-- Strings delimited with double quotes -->
<context name="strings" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="&quot;" context="string" attribute="String" />
</context>
<context name="string" attribute="String" lineEndContext="#pop">
<Detect2Chars attribute="String" context="#stay" char="\" char1="&quot;" />
<DetectChar attribute="String" context="#pop" char="&quot;" />
</context>
<!-- The following contexts (quoted-, brace- and unquoted- strings) make their parent pop as soon as they parsed a string. -->
<context name="quoted-strings" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="&quot;" context="quoted-string" attribute="String" />
</context>
<context name="quoted-string" attribute="String" lineEndContext="#pop#pop">
<Detect2Chars attribute="String" context="#stay" char="\" char1="&quot;" />
<DetectChar attribute="String" context="#pop#pop" char="&quot;" />
</context>
<context name="brace-strings" attribute="Normal Text" lineEndContext="#pop">
<DetectChar attribute="String" context="brace-string" char="{" beginRegion="string_block" />
</context>
<context name="brace-string" attribute="String" lineEndContext="#stay">
<!--
strings delimited with braces do not require to escape closing braces;
therefore, we have to use an extra context to keep track of opening and closing braces
-->
<DetectChar attribute="String" context="brace-string-internal" char="{" />
<DetectChar attribute="String" context="#pop#pop" char="}" endRegion="string_block" />
</context>
<context name="brace-string-internal" attribute="String" lineEndContext="#stay">
<DetectChar attribute="String" context="#pop" char="}" />
</context>
<context name="unquoted-strings" attribute="String" lineEndContext="#pop">
<RegExpr attribute="String" context="unquoted-string" String="[^ ]" />
</context>
<context name="unquoted-string" attribute="String" lineEndContext="#pop#pop">
<RegExpr attribute="Normal Text" context="#pop#pop" String="\s" />
</context>
<!-- This context exits as soon as it parsed a string, be it defined between braces, quotes or spaces -->
<context name="string-arg" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="brace-strings" />
<IncludeRules context="quoted-strings" />
<IncludeRules context="unquoted-strings" />
</context>
<!-- This context exits as soon as it parsed an integer. -->
<context name="int-arg" attribute="Int" lineEndContext="#pop">
<Int attribute="Decimal" context="#pop" />
</context>
<!-- Comments -->
<context name="shell-like-comment" attribute="Comment" lineEndContext="#pop">
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
<context name="comments" attribute="Comment" lineEndContext="#pop">
<DetectChar char="#" context="shell-like-comment" attribute="Comment" />
</context>
<!-- Define base elements that used within various contexts -->
<context name="base_elements" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="HTTP announce" context="#stay" String="HTTP/[0-9.]+" />
<RegExpr attribute="HTTP method" context="#stay" String="\s+(GET|HEAD|POST|PUT|DELETE|TRACE|OPTIONS|CONNECT|PATCH)" />
<RegExpr attribute="HTTP WebDAV method" context="#stay" String="\s+(PROPFIND|PROPPATCH|MKCOL|COPY|MOVE|LOCK|UNLOCK|CONNECT|PATCH)" />
<RegExpr attribute="HTTP custom method" context="#stay" String="\s+(PURGE|PURGESTR)" />
<Float attribute="Float" context="#stay" />
<Int attribute="Decimal" context="#stay" />
<IncludeRules context="strings" />
<IncludeRules context="comments" />
</context>
<!-- Define syntax within -expect options -->
<context name="expectation_common" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Keyword" context="#stay" String="&lt;undef>" />
<IncludeRules context="base_elements" />
<IncludeRules context="vcl_operators" />
</context>
<context name="expectation" attribute="String" lineEndContext="#pop">
<IncludeRules context="expectation_common" />
<IncludeRules context="vcl_variables" />
</context>
<context name="varnish_expectation" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="expectation_common" />
<IncludeRules context="varnishstat_variables" />
</context>
<!-- Define macros -->
<context name="macro_accepted" attribute="String" lineEndContext="#pop">
<Detect2Chars char="$" char1="{" attribute="String" context="macro_identifier" />
</context>
<context name="macro_identifier" attribute="String" lineEndContext="#pop#pop">
<DetectChar char="}" attribute="String" context="#pop" />
</context>
<!-- Define syntax for main keywords' options -->
<context name="common_options" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="macro_accepted" />
<IncludeRules context="base_elements" />
</context>
<context name="client_options" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Keyword" context="#stay" String="\-(?:run|wait|start|connect)" />
<RegExpr attribute="Keyword" context="expectation" String="-expect" />
<IncludeRules context="common_options" />
</context>
<context name="server_options" attribute="Normal Text" lineEndContext="#stay" >
<RegExpr attribute="Keyword" context="#stay" String="\-(?:start|wait|stop|repeat)" />
<RegExpr attribute="Keyword" context="expectation" String="-expect" />
<IncludeRules context="common_options" />
</context>
<context name="varnish_options" attribute="Normal Text" lineEndContext="#stay" >
<RegExpr attribute="Keyword" context="#stay" String="\-(?:start|stop|wait|wait-running|wait-stopped)" />
<RegExpr attribute="Keyword" context="string-arg" String="\-(?:arg|cli|cliok|storage) " />
<RegExpr attribute="Keyword" context="clierr_options" String="\-clierr " />
<RegExpr attribute="Keyword" context="varnish_expectation" String="-expect" />
<IncludeRules context="common_options" />
</context>
<context name="clierr_options" attribute="Normal Text" lineEndContext="#pop">
<!-- unlike clikok, clierr requires an integer argument first -->
<Int attribute="Decimal" context="clierr_command" />
<IncludeRules context="comments" />
</context>
<context name="clierr_command" attribute="String" lineEndContext="#pop">
<IncludeRules context="comments" />
</context>
<!-- Define syntax for the client-specific txreq keyword -->
<context name="txreq_options" attribute="String" lineEndContext="#pop">
<IncludeRules context="comments" />
<RegExpr attribute="TxReq Keyword" context="string-arg" String="\-(?:body|hdr|proto|req|url)" />
<LineContinue attribute="Normal Text" context="#stay" />
</context>
<!-- Define syntax for the client-specific rxresp keyword -->
<context name="rxresp_options" attribute="Normal Text" lineEndContext="#pop">
<StringDetect attribute="RxResp Keyword" String="-no_obj" />
<LineContinue attribute="Normal Text" context="#stay" />
</context>
<!-- Define syntax for the server-specific txresp keyword -->
<context name="txresp_options" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="comments" />
<RegExpr attribute="TxResp Keyword" String="-nolen" />
<RegExpr attribute="TxResp Keyword" context="string-arg" String="\-(?:body|gzipbody|hdr|proto|msg) " />
<RegExpr attribute="TxResp Keyword" context="int-arg" String="\-(?:bodylen|gzip(?:len|residual|level)|status)" />
<LineContinue attribute="Normal Text" context="#stay" />
</context>
<!-- varnishtest keyword -->
<context name="varnishtest_declaration" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="strings" />
<IncludeRules context="comments" />
</context>
<!-- client keyword -->
<context name="client_declaration" attribute="Normal Text" lineEndContext="#pop">
<DetectIdentifier attribute="Client Identifier" context="client_identified" />
</context>
<context name="client_identified" attribute="String" lineEndContext="#pop">
<IncludeRules context="client_options" />
<DetectChar attribute="Region Marker" context="client_definition" char="{" beginRegion="client_block" />
<LineContinue attribute="Normal Text" context="#stay" />
</context>
<context name="client_definition" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="comments" />
<!-- basic keywords that take no options -->
<keyword attribute="Action Keyword" context="#stay" String="vtcClientKeywords" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="#stay" String="non-fatal" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="expectation" String="expect" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="txreq_options" String="txreq" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="rxresp_options" String="rxresp" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="sema_instruction" String="sema" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="delay_instruction" String="delay" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="send_instruction" String="sendhex" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="send_instruction" String="send" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="timeout_instruction" String="timeout" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="client_loop_instruction" String="loop" />
<DetectChar attribute="Region Marker" context="client_postdefinition" char="}" endRegion="client_block" />
</context>
<context name="client_postdefinition" attribute="Normal Text" lineEndContext="#pop#pop#pop#pop">
<IncludeRules context="client_options" />
</context>
<!-- server keyword -->
<context name="server_declaration" attribute="Normal Text" lineEndContext="#pop">
<DetectIdentifier attribute="Server Identifier" context="server_identified" />
</context>
<context name="server_identified" attribute="String" lineEndContext="#pop">
<IncludeRules context="server_options" />
<DetectChar attribute="Region Marker" context="server_definition" char="{" beginRegion="server_block" />
<LineContinue attribute="Normal Text" context="#stay" />
</context>
<context name="server_definition" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="comments" />
<!-- basic keywords that take no options -->
<keyword attribute="Action Keyword" context="#stay" String="vtcServerKeywords" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="#stay" String="non-fatal" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="expectation" String="expect" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="txresp_options" String="txresp" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="sema_instruction" String="sema" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="delay_instruction" String="delay" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="chunkedlen_instruction" String="chunkedlen" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="send_instruction" String="sendhex" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="send_instruction" String="send" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="send_instruction" String="chunked" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="timeout_instruction" String="timeout" />
<StringDetect firstNonSpace="true" attribute="Action Keyword" context="server_loop_instruction" String="loop" />
<DetectChar attribute="Region Marker" context="server_postdefinition" char="}" endRegion="server_block" />
</context>
<context name="server_postdefinition" attribute="Normal Text" lineEndContext="#pop#pop#pop#pop">
<IncludeRules context="server_options" />
</context>
<!-- varnish keyword -->
<context name="varnish_declaration" attribute="Normal Text" lineEndContext="#pop">
<DetectIdentifier attribute="Varnish Identifier" context="varnish_identified" />
</context>
<context name="varnish_identified" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="varnish_options" />
<RegExpr attribute="Keyword" context="varnish_vclannounced" String="\s*\-(?:bad)?vcl(?:\+backend)?" />
<LineContinue attribute="Normal Text" context="#stay" />
</context>
<context name="varnish_vclannounced" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="varnish_vcldefinition" char="{" beginRegion="varnish_block" />
</context>
<context name="varnish_vcldefinition" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="##Varnish Configuration Language" />
<!-- varnish.xml may lack a few properties such as req/bereq/obj.{keep,ttl,grace}-->
<!-- also, according to v00033.vtc, storage.xxxx.{free,used}_space are correct Varnish properties;
+ have a look at the B/KB/MB/GB/TB notation and everything related to storage.* -->
<!-- basically, all v*.vtc files can teach us something about VCL since this is what they test -->
<DetectChar attribute="Region Marker" context="varnish_postvcldefinition" char="}" endRegion="varnish_block" />
</context>
<context name="varnish_postvcldefinition" attribute="Normal Text" lineEndContext="#pop#pop#pop#pop#pop">
<IncludeRules context="varnish_options" />
</context>
<!-- sema keyword -->
<context name="sema_instruction" attribute="Normal Text" lineEndContext="#pop">
<DetectIdentifier attribute="Sema Identifier" context="sema_identified" />
</context>
<context name="sema_identified" attribute="Normal Text" lineEndContext="#pop#pop">
<RegExpr attribute="Keyword" String="sync" />
<Int attribute="Decimal" context="#stay" />
<IncludeRules context="comments" />
</context>
<!-- delay keyword -->
<context name="delay_instruction" attribute="Normal Text" lineEndContext="#pop">
<Int attribute="Decimal" context="#stay" />
<Float attribute="Float" context="#stay" />
<IncludeRules context="comments" />
</context>
<!-- feature keyword -->
<context name="feature_instruction" attribute="String" lineEndContext="#pop">
<IncludeRules context="strings" />
<IncludeRules context="comments" />
</context>
<!-- chunkedlen keyword -->
<context name="chunkedlen_instruction" attribute="Normal Text" lineEndContext="#pop">
<Int attribute="Decimal" context="#stay" />
<IncludeRules context="comments" />
</context>
<!-- send / sendhex / chunk keywords -->
<context name="send_instruction" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="string-arg" />
<IncludeRules context="comments" />
</context>
<!-- timeout keyword -->
<context name="timeout_instruction" attribute="Normal Text" lineEndContext="#pop">
<IncludeRules context="int-arg" />
<IncludeRules context="comments" />
</context>
<!-- loop keyword at global scope -->
<context name="global_loop_instruction" attribute="Normal Text" lineEndContext="#stay">
<Int attribute="Decimal" context="global_loop_defined" />
</context>
<context name="global_loop_defined" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="global_loop_code" char="{" beginRegion="loop_block" />
</context>
<context name="global_loop_code" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="#pop#pop#pop" char="}" endRegion="loop_block" />
<IncludeRules context="global_directives" />
</context>
<!-- loop keyword for client definitions -->
<context name="client_loop_instruction" attribute="Normal Text" lineEndContext="#stay">
<Int attribute="Decimal" context="client_loop_defined" />
</context>
<context name="client_loop_defined" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="client_loop_code" char="{" beginRegion="loop_block" />
</context>
<context name="client_loop_code" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="#pop#pop#pop" char="}" endRegion="loop_block" />
<IncludeRules context="client_definition" />
</context>
<!-- loop keyword for server definitions -->
<context name="server_loop_instruction" attribute="Normal Text" lineEndContext="#stay">
<Int attribute="Decimal" context="server_loop_defined" />
</context>
<context name="server_loop_defined" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="server_loop_code" char="{" beginRegion="loop_block" />
</context>
<context name="server_loop_code" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="#pop#pop#pop" char="}" endRegion="loop_block" />
<IncludeRules context="server_definition" />
</context>
<!-- shell keyword, one-line version -->
<context name="shell_instruction" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="shell_code" char="{" beginRegion="shell_block" />
<IncludeRules context="quoted-strings" />
<IncludeRules context="comments" />
</context>
<context name="shell_code" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Region Marker" context="#pop#pop" char="}" endRegion="shell_block" />
<!-- There does not seem to be a syntax highlighting dedicated to "standard shell" so let's use Bash instead -->
<IncludeRules context="##Bash" />
</context>
<!-- Define keywords from other tools: variables and operators from the VCL language, varnishstat metrics -->
<context name="vcl_variables" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Variable" context="#stay" String="now" />
<RegExpr attribute="Storage" context="#stay" String="storage\.[a-zA-Z0-9]+(?:\.(?:free_space|used_space|happy))?" />
<RegExpr attribute="TCP Property" context="#stay" String="client\.(ip|identity)" />
<RegExpr attribute="TCP Property" context="#stay" String="server\.(ip|hostname|identity|port)" />
<RegExpr attribute="HTTP Property" context="#stay" String="req\.(request|url|proto|backend|restarts|esi_level|ttl|grace|keep|xid|esi|can_gzip|backend\.healthy|hash_ignore_busy|hash_always_miss)" />
<RegExpr attribute="HTTP Property" context="#stay" String="bereq\.(request|url|proto|connect_timeout|first_byte_timeout|between_bytes_timeout)" />
<RegExpr attribute="HTTP Property" context="#stay" String="obj\.(proto|status|response|hits|ttl|grace|keep|lastuse)" />
<RegExpr attribute="HTTP Property" context="#stay" String="beresp\.(proto|saintmode|status|response|do_esi|do_stream|do_gzip|do_gunzip|ttl|grace|keep|backend\.(name|ip|port)|storage|cacheable)" />
<RegExpr attribute="HTTP Property" context="#stay" String="resp\.(proto|status|response)" />
<RegExpr attribute="HTTP X- Header" context="#stay" String="(req|bereq|resp|beresp|obj)\.http\.X-[-_A-Za-z0-9]*" />
<RegExpr attribute="HTTP Header" context="#stay" String="(req|bereq|resp|beresp|obj)\.http\.[A-Za-z][-_A-Za-z0-9]*" />
</context>
<context name="vcl_operators" attribute="Operator" lineEndContext="#stay">
<DetectChar attribute="Logical Operator" context="#stay" char="!" />
<Detect2Chars attribute="Logical Operator" context="#stay" char="&amp;" char1="&amp;" />
<Detect2Chars attribute="Logical Operator" context="#stay" char="|" char1="|" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="=" char1="=" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="!" char1="=" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="&lt;" char1="=" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="&gt;" char1="=" />
<DetectChar attribute="Comparison Operator" context="#stay" char="&lt;" />
<DetectChar attribute="Comparison Operator" context="#stay" char="&gt;" />
<DetectChar attribute="Comparison Operator" context="#stay" char="~" />
<Detect2Chars attribute="Comparison Operator" context="#stay" char="!" char1="~" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="+" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="-" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="*" />
<DetectChar attribute="Arithmetic Operator" context="#stay" char="/" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="+" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="-" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="*" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="/" char1="=" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="+" char1="+" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="-" char1="-" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="&gt;" char1="&gt;" />
<Detect2Chars attribute="Arithmetic Operator" context="#stay" char="&lt;" char1="&lt;" />
<DetectChar attribute="Operator" context="#stay" char="=" />
</context>
<context name="varnishstat_variables" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="VarnishStat metric" context="#stay" String="client_(?:conn|drop|req|drop_late)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="cache_(?:hit(pass)?|miss)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="backend_(?:conn|unhealthy|busy|fail|reuse|toolate|recycle|retry|req)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="fetch_(?:head|length|chunked|eof|bad|close|oldhttp|zero|failed|1xx|204|304)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="n_(?:sess_mem|sess|object|vampireobject|objectcore|objecthead|waitinglist|vbc|wrk|wrk_(?:create|failed|max|lqueue|queueddrop)|backend|expired|lru_nuked|lru_moved|obj(?:sendfile|write|overflow)|vcl|vcl_avail|vcl_discard|ban|ban_(?:gone|add|retire|obj_test|re_test|dups)|gzip|gunzip)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="(?:losthdr|backend_req|accept_fail|uptime|vmods)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="s_(?:sess|req|pipe|pass|fetch|hdrbytes|bodybytes)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="sess_(?:closed|pipeline|readahead|linger|herd)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="shm_(?:records|writes|flushes|cont|cycles)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="sms_(?:nreq|nobj|nbytes|balloc|bfree)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="hcb_(?:nolock|lock|insert)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="esi_(?:errors|warnings)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="dir_dns_(?:lookups|failed|hit|cache_full)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="LCK\.(?:sm[spaf]|hsl|hcb|hcl|vcl|stat|sessmem|wstat|herder|wq|objhdr|exp|lru|cli|ban|vbp|vbe|backend)\.(?:creat|destroy|locks|colls)" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="SMA\.[a-zA-Z0-9_-]+\.(?:c_(?:req|fail|bytes|freed)|g_(?:alloc|bytes|space))" />
<RegExpr attribute="VarnishStat metric" context="#stay" String="VBE\..+\.(?:happy|vcls)" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="TxReq Keyword" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="TxResp Keyword" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="RxResp Keyword" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Action Keyword" defStyleNum="dsKeyword" />
<itemData name="Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Comparison Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Arithmetic Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="Logical Operator" defStyleNum="dsKeyword" color="#008000" bold="0" />
<itemData name="String" defStyleNum="dsString" bold="0" italic="0" />
<itemData name="Region Marker" defStyleNum="dsNormal" />
<itemData name="Storage" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="0" />
<itemData name="TCP Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="1" />
<itemData name="HTTP Property" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="0" />
<itemData name="HTTP Header" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" italic="0" />
<itemData name="HTTP X- Header" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" italic="1" />
<itemData name="HTTP announce" defStyleNum="dsDataType" color="#562579" selColor="#562579" bold="1" />
<itemData name="HTTP method" defStyleNum="dsDataType" color="#562579" selColor="#562579" bold="1" />
<itemData name="HTTP WebDAV method" defStyleNum="dsDataType" color="#562579" selColor="#562579" bold="1" />
<itemData name="HTTP custom method" defStyleNum="dsDataType" color="#562579" selColor="#562579" bold="1" />
<itemData name="VarnishStat metric" defStyleNum="dsDataType" color="#0000FF" selColor="#0000FF" bold="0" italic="0" />
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Client Identifier" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" underline="1" />
<itemData name="Server Identifier" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" underline="1" />
<itemData name="Varnish Identifier" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" underline="1" />
<itemData name="Sema Identifier" defStyleNum="dsDataType" color="#0D62FF" selColor="#0D62FF" bold="0" underline="1" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd" []>
<language name="vCard, vCalendar, iCalendar" version="0.2" kateversion="2.5" section="Markup" extensions="*.iCal;*.iCalendar;.ics;*.ifb;*.iFBf;*.vcal;*.vcalendar;*.vcard;*.vcf;" author="Lukas Sommer" mimetype="text/calendar;text/vcard" license="public domain">
<highlighting>
<contexts>
<context attribute="Property" lineEndContext="#stay" name="contextProperty">
<StringDetect attribute="vCard" String="BEGIN:" beginRegion="region" context="contextAttribute" column="0"/>
<StringDetect attribute="vCard" String="END:" endRegion="region" context="contextAttribute" column="0"/>
<DetectChar char=" " context="contextAttribute" column="0"/>
<DetectChar attribute="Delimiter" context="contextAttribute" char=":" />
<DetectChar attribute="Delimiter" context="contextParameterKey" char=";" />
</context>
<context attribute="Parameter key" lineEndContext="#pop" name="contextParameterKey">
<DetectChar attribute="Assignment" context="contextParameterValue" char="=" />
<DetectChar attribute="Delimiter" context="contextAttribute" char=":" />
</context>
<context attribute="Parameter value" lineEndContext="#pop" name="contextParameterValue">
<DetectChar attribute="Delimiter" context="contextParameterKey" char=";" />
<DetectChar attribute="Delimiter" context="contextAttribute" char=":" />
</context>
<context attribute="Attribute" lineEndContext="#pop" name="contextAttribute">
<DetectChar attribute="Delimiter" char=";" />
</context>
</contexts>
<itemDatas>
<itemData name="Assignment" defStyleNum="dsKeyword"/>
<itemData name="Attribute" defStyleNum="dsString"/>
<itemData name="Delimiter" defStyleNum="dsKeyword"/>
<itemData name="Parameter key" defStyleNum="dsFunction"/>
<itemData name="Parameter value" defStyleNum="dsOthers"/>
<itemData name="Property" defStyleNum="dsKeyword"/> <!-- dsDataType -->
<itemData name="vCard" defStyleNum="dsRegionMarker"/>
</itemDatas>
</highlighting>
<general>
</general>
</language>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Velocity" version="1.04" kateversion="2.1" section="Scripts" extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src" author="John Christopher (John@animalsinneed.net)" license="">
<language name="Velocity" version="1.05" kateversion="2.5" section="Scripts" extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src" author="John Christopher (John@animalsinneed.net)" license="">
<highlighting>
<list name="keywords">
<item> #set </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Verilog" version="1.09" kateversion="2.4" section="Hardware" extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src" author="Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com)" license="">
<language name="Verilog" version="1.10" kateversion="2.5" section="Hardware" extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src" author="Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com)" license="">
<highlighting>
<list name="keywords">
<item> macromodule </item>

@ -11,7 +11,7 @@
]>
<language name="VHDL" version="1.10" kateversion="2.3" section="Hardware" extensions="*.vhdl;*.vhd" mimetype="text/x-vhdl" author="Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de)">
<language name="VHDL" version="1.11" kateversion="2.5" section="Hardware" extensions="*.vhdl;*.vhd" mimetype="text/x-vhdl" author="Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de)">
<highlighting>
<list name="keywordsToplevel">
<item> file </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="WINE Config" version="1.03" kateversion="2.4" section="Configuration" extensions="*.reg" mimetype="">
<language name="WINE Config" version="1.04" kateversion="2.5" section="Configuration" extensions="*.reg" mimetype="">
<highlighting>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">

@ -5,6 +5,10 @@
Alternatively try the "normal" way: #kate@freenode, kwrite-devel@kde.org
Changelog (0.35 and later):
***************************
* 0.42
- 2011-11-15 <shadowm2006@gmail.com>:
* Added preprocessor directives: #error, #warning
* Added highlighting for the wmlxgettext annotation metadirective (po:)
* 0.41
- 2011-04-15 <shadowm2006@gmail.com>:
* Added preprocessor directives: #if(n)have, #if(n)ver
@ -50,18 +54,21 @@
* Made the new #ifndef directive be recognized (implemented on Wesnoth 1.3.11 and later)
-->
<language name="Wesnoth Markup Language" section="Markup" extensions="*.cfg;*.pbl;*.CFG;*.PBL" version="0.41"
<language name="Wesnoth Markup Language" section="Markup" extensions="*.cfg;*.pbl;*.CFG;*.PBL" version="0.42"
kateversion="2.5" casesensitive="true" author="Zachary Palmer (zep01@bahj.com), modif. by Ignacio Riquelme Morelle (shadowm2006@gmail.com) and Jonathan Schmidt-Dominé (devel@the-user.org)" license="GPL">
<highlighting>
<list name="alerts_wml_utils">
<item> wmllint</item>
<item> wmlindent</item>
<item> wmlscope</item>
<item> po</item>
</list>
<list name="preprocessor_directive_statements">
<item>#textdomain</item>
<item>#else</item>
<item>#undef</item>
<item>#error</item>
<item>#warning</item>
</list>
<list name="preprocessor_block_begin_statements">
<item>#define</item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="xHarbour" version="1.04" kateversion="2.4" section="Sources" extensions="*.prg;*.PRG;*.ch" mimetype="text/x-xharbour-src" priority="5" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL">
<language name="xHarbour" version="1.05" kateversion="2.5" section="Sources" extensions="*.prg;*.PRG;*.ch" mimetype="text/x-xharbour-src" priority="5" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL">
<highlighting>
<list name="keywords">

@ -6,7 +6,7 @@
<!ENTITY name "(?![0-9])[\w_:][\w.:_-]*">
<!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="XML" version="2.03" kateversion="2.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl;*.vbox" mimetype="text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/xml" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<language name="XML" version="2.04" kateversion="2.5" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl;*.vbox" mimetype="text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/xml" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>
<contexts>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language version="1.02" kateversion="2.3" name="XML (Debug)" section="Markup" extensions="" mimetype="">
<language version="1.04" kateversion="2.5" name="XML (Debug)" section="Markup" extensions="" mimetype="">
<highlighting>
<list name="AttType">
<item>CDATA</item>
@ -589,5 +589,6 @@
<comment name="multiLine" start="&lt;!--" end="--&gt;"/>
</comments>
<keywords casesensitive="1"/>
<indentation mode="xml" />
</general>
</language>

@ -50,7 +50,7 @@
-->
<language version="1.03" kateversion="2.1" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)">
<language version="1.04" kateversion="2.5" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)">
<highlighting>
<list name="keytags">
<item> xsl:value-of </item>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="yacas" version="1.02" kateversion="2.3" section="Sources" extensions="*.ys" mimetype="text/x-yacassrc">
<language name="yacas" version="1.03" kateversion="2.5" section="Sources" extensions="*.ys" mimetype="text/x-yacassrc">
<highlighting>
<list name="keywords">
<item> And </item>

@ -10,8 +10,6 @@
========================================================================
Updates for YACC.XML can be obtained from http://kate.kde.org/hl/
UPDATE HISTORY:-
2004.05.26 - YACC.XML 1.00 - First released.
@ -20,7 +18,7 @@
========================================================================
-->
<language name="Yacc/Bison" version="1.03" kateversion="2.4" section="Sources" extensions="*.y" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">
<language name="Yacc/Bison" version="1.04" kateversion="2.5" section="Sources" extensions="*.y" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">
<highlighting>
<contexts>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Dr Orlovsky MA <maxim@orlovsky.info> //-->
<language name="YAML" version="1.1" kateversion="2.3" section="Markup"
<language name="YAML" version="1.3" kateversion="2.5" section="Markup"
extensions="*.yaml;*.yml" mimetype="text/yaml"
author="Dr Orlovsky MA (dr.orlovsky@gmail.com)" license="LGPL">
<highlighting>
@ -140,13 +140,12 @@
<DetectIdentifier />
<DetectChar attribute="String" context="attribute-end-inline" char="'" endRegion="String" />
</context>
<context attribute="String" lineEndContext="#stay" name="attribute-stringx-inline">
<DetectIdentifier />
<DetectChar attribute="String" context="attribute-end-inline" char="&quot;" endRegion="String" />
</context>
<context attribute="Error" lineEndContext="#pop#pop#pop" name="attribute-end">
</context>
@ -156,8 +155,6 @@
<RegExpr attribute="Operator" context="#pop#pop#pop" String=",\s"/>
</context>
<context attribute="String" lineEndContext="#stay" name="string">
<DetectIdentifier />
<DetectChar attribute="String" context="#pop" char="'" endRegion="String" />
@ -169,9 +166,12 @@
</context>
<context attribute="Comment" lineEndContext="#pop" name="comment">
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
</contexts>
<itemDatas>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="List" defStyleNum="dsNormal" />
<itemData name="Hash" defStyleNum="dsNormal" />
@ -184,13 +184,14 @@
<itemData name="Key" defStyleNum="dsFunction" />
<itemData name="Directive" defStyleNum="dsOthers" />
<itemData name="Operator" defStyleNum="dsKeyword" />
<itemData name="String" defStyleNum="dsNormal" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Error" defStyleNum="dsError" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#"/>
<comment name="singleLine" start="#" position="afterwhitespace" />
</comments>
<keywords casesensitive="1"/>
</general>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Zonnon" version="1.0" kateversion="2.1" section="Sources" extensions="*.znn" mimetype="text/x-zonnon">
<language name="Zonnon" version="1.01" kateversion="2.5" section="Sources" extensions="*.znn" mimetype="text/x-zonnon">
<highlighting>
<list name="keywords">
<item> accept </item>

@ -8,7 +8,7 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
<language name="Zsh" version="0.1" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">
<language name="Zsh" version="0.2" kateversion="2.5" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">
<!-- (c) 2011 by Jonathan Kolberg (bulldog98@kubuntu-de.org)
modified for zsh -->

@ -108,8 +108,7 @@
#include <tqwhatsthis.h>
#include <tqwidgetstack.h>
// trailing slash is important
#define HLDOWNLOADPATH "http://kate.kde.org/syntax/"
#define HLDOWNLOADPATH "http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/update-files.xml"
//END
@ -1453,11 +1452,7 @@ KateHlDownloadDialog::KateHlDownloadDialog(TQWidget *parent, const char *name, b
new TQLabel(i18n("<b>Note:</b> New versions are selected automatically."), vbox);
actionButton (User1)->setIconSet(SmallIconSet("ok"));
transferJob = KIO::get(
KURL(TQString(HLDOWNLOADPATH)
+ TQString("update-")
+ TQString(KATEPART_VERSION)
+ TQString(".xml")), true, true );
transferJob = KIO::get(KURL(TQString(HLDOWNLOADPATH)), true, true);
connect(transferJob, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)),
this, TQT_SLOT(listDataReceived(KIO::Job *, const TQByteArray &)));
// void data( KIO::Job *, const TQByteArray &data);

@ -69,7 +69,7 @@ KateFactory *KateFactory::s_self = 0;
KateFactory::KateFactory ()
: m_aboutData ("katepart", I18N_NOOP("Kate Part"), KATEPART_VERSION,
I18N_NOOP( "Embeddable editor component" ), KAboutData::License_LGPL_V2,
I18N_NOOP( "(c) 2000-2004 The Kate Authors" ), 0, "http://kate.kde.org")
I18N_NOOP( "(c) 2000-2004 The Kate Authors" ), 0, "http://kate-editor.org/")
, m_instance (&m_aboutData)
, m_plugins (KTrader::self()->query("KTextEditor/Plugin"))
, m_jscript (0)

@ -420,8 +420,8 @@ class KDECORE_EXPORT KAboutData
* Defines the program homepage.
*
* @param homepage The program homepage string.
* Start the address with "http://". "http://kate.kde.org" is
* is correct, "kde.kde.org" is not.
* Start the address with "http://". "http://kate-editor.org/" is
* is correct, "kate-editor.org" is not.
*/
void setHomepage( const char *homepage );

Laden…
Annuleren
Opslaan