diff options
211 files changed, 7465 insertions, 2845 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6242410d4..e97ef57e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,7 @@ OPTION( WITH_GAMIN "Enable FAM/GAMIN support" ${WITH_ALL_OPTIONS} ) option( WITH_TDEHWLIB_DAEMONS "Enable daemons for TDE hwlib" ${WITH_ALL_OPTIONS} ) option( WITH_HAL "Enable HAL support" OFF ) option( WITH_DEVKITPOWER "Enable DeviceKit Power support" OFF ) +option( WITH_LOGINDPOWER "Enable Logind/Systemd Power support" OFF ) option( WITH_UPOWER "Enable uPower support" ${WITH_ALL_OPTIONS} ) option( WITH_UDISKS "Enable uDisks support" ${WITH_ALL_OPTIONS} ) option( WITH_UDISKS2 "Enable uDisks2 support" ${WITH_ALL_OPTIONS} ) diff --git a/kate/data/CMakeLists.txt b/kate/data/CMakeLists.txt index b9c46283e..46cdb589f 100644 --- a/kate/data/CMakeLists.txt +++ b/kate/data/CMakeLists.txt @@ -30,7 +30,7 @@ install( FILES 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 + commonlisp.xml component-pascal.xml context.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 @@ -41,12 +41,12 @@ install( FILES 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 + m4.xml mab.xml makefile.xml mako.xml mason.xml mathematica.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 + postscript.xml povray.xml ppd.xml progress.xml prolog.xml protobuf.xml puppet.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 diff --git a/kate/data/Makefile.am b/kate/data/Makefile.am index d5a0337b6..fe91bf7ab 100644 --- a/kate/data/Makefile.am +++ b/kate/data/Makefile.am @@ -10,7 +10,7 @@ syntaxkate_DATA = language.dtd syntax.template \ 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 \ + commonlisp.xml component-pascal.xml context.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 \ @@ -21,12 +21,12 @@ syntaxkate_DATA = language.dtd syntax.template \ 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 \ + m4.xml mab.xml makefile.xml mako.xml mason.xml mathematica.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 \ + postscript.xml povray.xml ppd.xml progress.xml prolog.xml protobuf.xml puppet.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 \ diff --git a/kate/data/abap.xml b/kate/data/abap.xml index 1c8c0816f..40e24ad69 100644 --- a/kate/data/abap.xml +++ b/kate/data/abap.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="keywords"> diff --git a/kate/data/abc.xml b/kate/data/abc.xml index 666a1fdd9..8d5ff163b 100644 --- a/kate/data/abc.xml +++ b/kate/data/abc.xml @@ -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.11" kateversion="2.5" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" casesensitive="1" author="Andrea Primiani (primiani@dag.it)" license="LGPL"> +<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"> <highlighting> <contexts> <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> diff --git a/kate/data/actionscript.xml b/kate/data/actionscript.xml index baa748e3b..cea26395c 100644 --- a/kate/data/actionscript.xml +++ b/kate/data/actionscript.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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)"> +<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)"> <highlighting> <list name="properties"> diff --git a/kate/data/ada.xml b/kate/data/ada.xml index 4aae17eb1..9bc6b7633 100644 --- a/kate/data/ada.xml +++ b/kate/data/ada.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Ada" version="1.08" kateversion="2.5" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc"> +<language name="Ada" version="1.07" kateversion="2.4" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc"> <highlighting> <list name="keywords"> <item> abort </item> diff --git a/kate/data/ahdl.xml b/kate/data/ahdl.xml index 0009a3e1a..cf0ab4652 100644 --- a/kate/data/ahdl.xml +++ b/kate/data/ahdl.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="keywords"> <item> assert </item> diff --git a/kate/data/ahk.xml b/kate/data/ahk.xml index 3a6c2c443..8539e6516 100644 --- a/kate/data/ahk.xml +++ b/kate/data/ahk.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="AutoHotKey" section="Scripts" - version="1.01" kateversion="2.5" + version="1.0" kateversion="2.4" indenter="cstyle" extensions="*.ahk;*.iahk" priority="9"> diff --git a/kate/data/alert.xml b/kate/data/alert.xml index d8a1b414f..ab6c76ab4 100644 --- a/kate/data/alert.xml +++ b/kate/data/alert.xml @@ -25,37 +25,54 @@ This file is included in every file that highlights the "alerts" keywords. That's why extensions and mimetype are empty. + + Changes by Alex Turbov: + Introduce 3 alert levels and sort keywords according importance. + Few more keywords has been added. --> -<language version="1.09" kateversion="2.5" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true"> +<language version="1.09-1" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true"> <highlighting> - <list name="alerts"> - <item> ### </item> + <list name="alerts_hi"> <item> ALERT </item> - <item> BUG </item> + <item> ATTENTION </item> <item> DANGER </item> - <item> DEPRECATED </item> - <item> FIXME </item> <item> HACK </item> - <item> NOTE </item> - <item> NOTICE </item> <item> SECURITY </item> + </list> + <list name="alerts_mid"> + <item> BUG </item> + <item> FIXME </item> + <item> DEPRECATED </item> <item> TASK </item> - <item> TEST </item> - <item> TESTING </item> <item> TODO </item> + <item> TBD </item> <item> WARNING </item> + <item> CAUTION </item> + <item> NOLINT </item> + </list> + <list name="alerts_lo"> + <item> ### </item> + <item> NOTE </item> + <item> NOTICE </item> + <item> TEST </item> + <item> TESTING </item> </list> <contexts> <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" > - <keyword attribute="Alert" context="#stay" String="alerts" /> + <keyword attribute="Alert Level 1" context="#stay" String="alerts_hi" /> + <keyword attribute="Alert Level 2" context="#stay" String="alerts_mid" /> + <keyword attribute="Alert Level 3" context="#stay" String="alerts_lo" /> </context> </contexts> <itemDatas> - <itemData name="Normal Text" defStyleNum="dsNormal"/> - <itemData name="Alert" defStyleNum="dsAlert"/> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Alert Level 1" defStyleNum="dsAlert" color="#e85848" selColor="#e85848" backgroundColor="#451e1a" /> + <itemData name="Alert Level 2" defStyleNum="dsAlert" color="#ca9219" selColor="#ca9219" backgroundColor="#451e1a" /> + <itemData name="Alert Level 3" defStyleNum="dsAlert" color="#81ca2d" selColor="#81ca2d" /> </itemDatas> </highlighting> <general> <keywords casesensitive="1"/> </general> </language> +<!-- kate: indent-width 2; --> diff --git a/kate/data/alert_indent.xml b/kate/data/alert_indent.xml index 6bdcd2ec3..a03ea21a1 100644 --- a/kate/data/alert_indent.xml +++ b/kate/data/alert_indent.xml @@ -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.10" kateversion="2.5" name="Alerts_indent" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true"> +<language version="1.09-1" kateversion="2.3" name="Alerts_indent" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true"> <highlighting> <contexts> <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" > diff --git a/kate/data/ample.xml b/kate/data/ample.xml index b5734c25d..d5298f15c 100644 --- a/kate/data/ample.xml +++ b/kate/data/ample.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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 & LGPL" > +<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 & LGPL" > <!-- ################################################################################################# ## AMPLE Highlight file by Christian Parg (cparg_(at)_gmx_de) diff --git a/kate/data/ansic89.xml b/kate/data/ansic89.xml index ab6e90d54..c4798c6ad 100644 --- a/kate/data/ansic89.xml +++ b/kate/data/ansic89.xml @@ -25,7 +25,7 @@ --> <language name="ANSI C89" section="Sources" - version="1.11" kateversion="2.5" + version="1.10-1" kateversion="2.4" indenter="cstyle" extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" diff --git a/kate/data/ansys.xml b/kate/data/ansys.xml index 0dd448e00..77daa70a5 100644 --- a/kate/data/ansys.xml +++ b/kate/data/ansys.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Ansys" version="1.3" kateversion="2.5" section="Scientific" extensions="*.ans" author="Giovanni Bacci (giovanni@castellodilari.it)" license="LGPL" > +<language name="Ansys" version="1.2" kateversion="2.0" section="Scientific" extensions="*.ans" author="Giovanni Bacci (giovanni@castellodilari.it)" license="LGPL" > <highlighting> <list name="session_cmds"> <item>/BATCH</item> diff --git a/kate/data/apache.xml b/kate/data/apache.xml index ccd519517..db8b2cc1c 100644 --- a/kate/data/apache.xml +++ b/kate/data/apache.xml @@ -13,7 +13,7 @@ v1.0: --> <language name="Apache Configuration" section="Configuration" - version="1.12" kateversion="2.5" + version="1.11" kateversion="2.0" extensions="httpd.conf;httpd2.conf;apache.conf;apache2.conf;.htaccess*;.htpasswd*" mimetype="" author="Jan Janssen (medhefgo@googlemail.com)" license="LGPL"> diff --git a/kate/data/asm-avr.xml b/kate/data/asm-avr.xml index c6d9a93c3..0e570476b 100644 --- a/kate/data/asm-avr.xml +++ b/kate/data/asm-avr.xml @@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc., --> -<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"> +<language name="AVR Assembler" version="1.04-1" kateversion="2.4" 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> diff --git a/kate/data/asm-dsp56k.xml b/kate/data/asm-dsp56k.xml index f223a9e2b..7daca638a 100644 --- a/kate/data/asm-dsp56k.xml +++ b/kate/data/asm-dsp56k.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<language name="Motorola DSP56k" section="Assembler" version="1.01" kateversion="2.4" extensions="*.asm;*.inc;*.ASM;*.INC" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL"> <highlighting> <list name="Data Registers"> diff --git a/kate/data/asm-m68k.xml b/kate/data/asm-m68k.xml index 0c8cb92db..74430231a 100644 --- a/kate/data/asm-m68k.xml +++ b/kate/data/asm-m68k.xml @@ -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.02" kateversion="2.5" extensions="*.s;*.i;*.S;*.I" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL"> +<language name="Motorola 68k (VASM/Devpac)" section="Assembler" version="1.01" kateversion="2.4" extensions="*.s;*.i;*.S;*.I" author="Miro Kropacek (miro.kropacek@gmail.com)" license="LGPL"> <highlighting> <list name="Data Registers"> diff --git a/kate/data/asm6502.xml b/kate/data/asm6502.xml index 7c28558f1..8d3e7261c 100644 --- a/kate/data/asm6502.xml +++ b/kate/data/asm6502.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Asm6502" version="1.05" kateversion="2.5" section="Assembler" extensions="*.asm" mimetype="text/x-asm6502"> +<language name="Asm6502" version="1.04" kateversion="2.1" section="Assembler" extensions="*.asm" mimetype="text/x-asm6502"> <highlighting> <contexts> diff --git a/kate/data/asn1.xml b/kate/data/asn1.xml index bbd0bee6b..d7fb36f86 100644 --- a/kate/data/asn1.xml +++ b/kate/data/asn1.xml @@ -9,7 +9,7 @@ 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. --> -<language name="ASN.1" section="Markup" version="1.02" kateversion="2.5" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL"> +<language name="ASN.1" section="Markup" version="1.01-1" kateversion="2.3" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL"> <highlighting> <list name="keywords"> <item> DEFINITIONS </item> diff --git a/kate/data/asp.xml b/kate/data/asp.xml index 756e49173..3a912b975 100644 --- a/kate/data/asp.xml +++ b/kate/data/asp.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="control structures"> <item>select</item> diff --git a/kate/data/asterisk.xml b/kate/data/asterisk.xml index 6af149151..e76a1e35c 100644 --- a/kate/data/asterisk.xml +++ b/kate/data/asterisk.xml @@ -16,7 +16,7 @@ Version: 1.0 --> -<language name="Asterisk" version="1.01" kateversion="2.5" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL"> +<language name="Asterisk" version="1.00" kateversion="2.4" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL"> <highlighting> <list name="keywords"> <item>AGI</item> diff --git a/kate/data/awk.xml b/kate/data/awk.xml index bdfc275c9..28a2b06d8 100644 --- a/kate/data/awk.xml +++ b/kate/data/awk.xml @@ -1,6 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="AWK" version="0.93" kateversion="2.5" section="Scripts" extensions="*.awk" mimetype="text/x-awk"> +<language name="AWK" version="0.92" kateversion="2.3" section="Scripts" + extensions="*.awk" mimetype="text/x-awk" indenter="cstyle" + license="LGPL"> +<!-- patched by igli#kate@irc:chat.freenode.net --> <highlighting> <list name="keywords"> <item>if</item> @@ -62,45 +65,139 @@ <item>fflush</item> <item>system</item> </list> + <list name="special"> + <item> BEGIN </item> + <item> END </item> + </list> + +<contexts> +<!-- START CONTEXTS --> +<context name="Pattern" attribute="Normal" lineEndContext="#stay"> + <DetectChar char="{" context="Block" attribute="Keyword" beginRegion="block" /> + <DetectChar char="}" attribute="Error" context="#stay"/> + <DetectChar char="/" firstNonSpace="true" lookAhead="true" context="MatchPattern"/> + <IncludeRules context="base" /> + <keyword String="special" attribute="Special" context="#stay"/> +</context> + +<context name="Block" attribute="Normal" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="block" /> + <DetectChar char="{" context="Block" attribute="Keyword" beginRegion="block" /> + <IncludeRules context="base" /> + <keyword String="special" attribute="Error" context="#stay"/> +</context> + +<context name="base"> + <DetectSpaces /> + <DetectChar char="#" context="Comment" attribute="Comment"/> + <DetectChar char="~" context="Match" attribute="Operator"/> + <DetectChar char=""" context="String" attribute="String"/> + <AnyChar String="!%&*+,-./:;<=>?^|" attribute="Operator" context="#stay"/> + <keyword String="keywords" attribute="Keyword" context="#stay"/> + <keyword String="builtins" attribute="Builtin" context="#stay"/> + <keyword String="functions" attribute="Function" context="#stay"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <RegExpr String="\$[A-Za-z0-9_]+" attribute="Field" context="#stay"/> +</context> + +<context name="String" attribute="String" lineEndContext="#stay"> + <DetectChar char=""" attribute="String" context="#pop"/> + <HlCStringChar attribute="Escape" context="#stay"/> + <DetectChar char="\" context="Escape" attribute="Operator"/> +</context> + +<context name="Comment" attribute="Comment" lineEndContext="#pop"> + <IncludeRules context="##Alerts"/> +</context> - <contexts> +<context name="Escape" attribute="Normal" lineEndContext="#pop"> + <RegExpr String="." attribute="String" context="#pop"/> +</context> - <context name="Base" attribute="Normal" lineEndContext="#stay"> - <RegExpr String="\b(BEGIN|END)\b" attribute="Pattern" context="#stay" /> - <DetectChar char="{" attribute="Keyword" context="#stay" beginRegion="block" /> - <DetectChar char="}" attribute="Keyword" context="#stay" endRegion="block" /> - <DetectChar char="#" attribute="Comment" context="Comment" /> - <DetectChar char=""" attribute="String" context="String"/> - <keyword String="keywords" attribute="Keyword" context="#stay"/> - <keyword String="builtins" attribute="Builtin" context="#stay"/> - <keyword String="functions" attribute="Function" context="#stay"/> - <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="Match" attribute="Normal" lineEndContext="#pop" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces /> + <Detect2Chars char="/" char1="^" attribute="Regex Op" context="Regex"/> + <DetectChar char="/" attribute="Regex Op" context="Regex"/> +</context> +<context name="Regex" attribute="Regex" lineEndContext="#stay"> + <IncludeRules context="regex"/> + <DetectChar char="/" context="#pop#pop" attribute="Regex Op"/> +</context> +<context name="regex"> + <HlCStringChar attribute="Escape" context="#stay"/> + <DetectChar char="\" context="Regex Escape" attribute="Regex Op"/> + <Detect2Chars char="[" char1="^" context="RegexChar" attribute="Regex Op"/> + <DetectChar char="[" context="RegexChar" attribute="Regex Op"/> + <AnyChar String="$.+?*()|" context="#stay" attribute="Regex Op"/> +</context> +<context name="Regex Escape" attribute="Normal" lineEndContext="#pop"> + <RegExpr String="." attribute="Regex" context="#pop"/> +</context> - <context name="String" attribute="String" lineEndContext="#stay"> - <DetectChar char=""" attribute="String" context="#pop"/> - <HlCStringChar attribute="String" context="#stay"/> - </context> +<context name="RegexChar" attribute="Regex" lineEndContext="#pop" + fallthrough="true" fallthroughContext="InChar"> + <Detect2Chars char="-" char1="]" context="InChar" attribute="Regex"/> + <AnyChar String="-]" context="InChar" attribute="Regex"/> +</context> +<context name="InChar" attribute="Regex" lineEndContext="#stay"> + <HlCStringChar attribute="String" context="#stay"/> + <DetectChar char="\" context="Regex Escape" attribute="Regex Op"/> + <Detect2Chars char="-" char1="]" context="Regex Escape" lookAhead="true"/> + <DetectChar char="]" context="#pop#pop" attribute="Regex Op"/> + <DetectChar char="-" context="#stay" attribute="Regex Op"/> + <RegExpr String="\[:(?=[_\w][_\d\w]*:\])" context="CharClass" attribute="Regex Op"/> +</context> +<context name="CharClass" attribute="Custom" lineEndContext="#pop"> + <RegExpr String="(alpha|alnum|blank|cntrl|digit|graph|lower|punct|space|upper|xdigit)(?=:\])" + attribute="CharClass" context="#stay"/> + <Detect2Chars char=":" char1="]" attribute="Regex Op" context="#pop"/> +</context> - <context name="Comment" attribute="Comment" lineEndContext="#pop"> - <IncludeRules context="##Alerts" /> - </context> +<context name="MatchPattern" attribute="Normal" lineEndContext="#pop" + fallthrough="true" fallthroughContext="#pop"> + <Detect2Chars char="/" char1="^" attribute="Regex Op" context="RegexPattern"/> + <DetectChar char="/" attribute="Regex Op" context="RegexPattern"/> +</context> +<context name="RegexPattern" attribute="Regex" lineEndContext="#stay"> + <IncludeRules context="regex"/> + <DetectChar char="/" context="CheckRange" attribute="Regex Op"/> +</context> +<context name="CheckRange" attribute="Normal" lineEndContext="#pop#pop#pop" + fallthrough="true" fallthroughContext="#pop#pop#pop"> + <RegExpr String="\s*,\s*(?=/)" context="RangePattern" attribute="Operator"/> +</context> +<context name="RangePattern" attribute="Normal" lineEndContext="#pop#pop#pop#pop" + fallthrough="true" fallthroughContext="#pop#pop#pop#pop"> + <Detect2Chars char="/" char1="^" attribute="Regex Op" context="Pattern2"/> + <DetectChar char="/" attribute="Regex Op" context="Pattern2"/> +</context> +<context name="Pattern2" attribute="Regex" lineEndContext="#stay"> + <IncludeRules context="regex"/> + <DetectChar char="/" context="#pop#pop#pop#pop#pop" attribute="Regex Op"/> +</context> - </contexts> +<!-- END OF CONTEXTS --> +</contexts> <itemDatas> <itemData name="Normal" defStyleNum="dsNormal"/> <itemData name="Keyword" defStyleNum="dsKeyword"/> - <itemData name="Builtin" defStyleNum="dsDataType"/> + <itemData name="Builtin" defStyleNum="dsNormal" color="#CC8822"/> <itemData name="Function" defStyleNum="dsFunction"/> <itemData name="Decimal" defStyleNum="dsDecVal"/> <itemData name="Float" defStyleNum="dsFloat"/> <itemData name="String" defStyleNum="dsString"/> <itemData name="Comment" defStyleNum="dsComment"/> - <itemData name="Pattern" defStyleNum="dsString"/> - <itemData name="Field" defStyleNum="dsOthers"/> + <itemData name="Escape" defStyleNum="dsString" color="#4A5704"/> + <itemData name="Field" defStyleNum="dsDataType"/> + <itemData name="Error" defStyleNum="dsError"/> + <itemData name="Special" defStyleNum="dsKeyword" color="#FF9225" bold="0"/> + <itemData name="Operator" defStyleNum="dsNormal" color="#FF80E0"/> + <itemData name="Regex" defStyleNum="dsString" color="#4A5704"/> + <itemData name="Regex Op" defStyleNum="dsOthers" color="#FF80E0"/> + <itemData name="CharClass" defStyleNum="dsString" color="#008080"/> + <itemData name="Custom" defStyleNum="dsString" color="#449944"/> </itemDatas> </highlighting> <general> diff --git a/kate/data/bash.xml b/kate/data/bash.xml index 181d564be..3326a31ee 100644 --- a/kate/data/bash.xml +++ b/kate/data/bash.xml @@ -8,7 +8,7 @@ <!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following --> <!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name --> ]> -<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"> +<language name="Bash" version="2.17-1" 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"> <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl) Changes by Matthew Woehlke (mw_triad@users.sourceforge.net) @@ -635,6 +635,7 @@ <RegExpr attribute="Variable" context="#stay" String="\$\{[*@#?$!_0-9-]\}" /> <RegExpr attribute="Variable" context="#stay" String="\$\{#&varname;(\[[*@]\])?\}" /> <RegExpr attribute="Variable" context="#stay" String="\$\{!&varname;(\[[*@]\]|[*@])?\}" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{#[0-9]+\}" /> <RegExpr attribute="Variable" context="VarBrace" String="\$\{&varname;" /> <RegExpr attribute="Variable" context="VarBrace" String="\$\{[*@#?$!_0-9-](?=[:#%/=?+-])" /> <StringDetect attribute="Variable" context="ExprDblParenSubst" String="$((" beginRegion="expression" /> diff --git a/kate/data/bibtex.xml b/kate/data/bibtex.xml index 61c734da1..e167c270e 100644 --- a/kate/data/bibtex.xml +++ b/kate/data/bibtex.xml @@ -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.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"> +<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"> <highlighting> <list name="kw_entry"> <item>@article</item> diff --git a/kate/data/bmethod.xml b/kate/data/bmethod.xml index 22a21d6ff..5a51dad29 100644 --- a/kate/data/bmethod.xml +++ b/kate/data/bmethod.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="B-Method" version="0.3" kateversion="2.5" section="Scientific" extensions="*.mch;*.imp;*.ref" author="Ivo Anjo (knuckles@gmail.com)" license="LGPL"> +<language name="B-Method" version="0.2" kateversion="2.4" section="Scientific" extensions="*.mch;*.imp;*.ref" author="Ivo Anjo (knuckles@gmail.com)" license="LGPL"> <highlighting> <list name="sections"> diff --git a/kate/data/c.xml b/kate/data/c.xml index 618260825..01566d5d9 100644 --- a/kate/data/c.xml +++ b/kate/data/c.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="C" section="Sources" - version="1.46" kateversion="2.5" + version="1.45" kateversion="2.4" indenter="cstyle" extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" @@ -81,6 +81,7 @@ </Float> <HlCOct attribute="Octal" context="#stay"/> <HlCHex attribute="Hex" context="#stay"/> + <RegExpr attribute="Binary" context="#stay" String="0b[01]+[ul]{0,3}" insensitive="true" /> <Int attribute="Decimal" context="#stay" > <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> @@ -123,11 +124,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> @@ -181,6 +182,7 @@ <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false"/> <itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false"/> <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/> + <itemData name="Binary" defStyleNum="dsBaseN" spellChecking="false"/> <itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/> <itemData name="Char" defStyleNum="dsChar" spellChecking="false"/> <itemData name="String" defStyleNum="dsString"/> diff --git a/kate/data/ccss.xml b/kate/data/ccss.xml index 08aa11715..cbee0f41e 100644 --- a/kate/data/ccss.xml +++ b/kate/data/ccss.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="CleanCSS" version="1.02" kateversion="2.5" section="Markup" extensions="*.ccss" author="Massimiliano Torromeo" license="BSD"> +<language name="CleanCSS" version="1.0" kateversion="2.4" section="Markup" extensions="*.ccss" author="Massimiliano Torromeo" license="BSD"> <highlighting> <list name="properties"> diff --git a/kate/data/cg.xml b/kate/data/cg.xml index 586bdcc9f..48ed5b20d 100644 --- a/kate/data/cg.xml +++ b/kate/data/cg.xml @@ -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.12" kateversion="2.5" author="Florian Schanda (florian.schanda@schanda.de)" license="LGPL"> +<language name="Cg" section="Sources" extensions="*.cg;*.cgfx" mimetype="text/x-cgsrc" version="1.11" kateversion="2.4" author="Florian Schanda (florian.schanda@schanda.de)" license="LGPL"> <highlighting> <list name="binding"> <item>POSITION</item> diff --git a/kate/data/cgis.xml b/kate/data/cgis.xml index e6a655aff..dda121fe7 100644 --- a/kate/data/cgis.xml +++ b/kate/data/cgis.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="CGiS" version="1.03" kateversion="2.5" section="Sources" extensions="*.cgis" mimetype=""> +<language name="CGiS" version="1.02" kateversion="2.4" section="Sources" extensions="*.cgis" mimetype=""> <highlighting> <list name="keywords"> <item> 1D </item> diff --git a/kate/data/changelog.xml b/kate/data/changelog.xml index 902708626..aec339214 100644 --- a/kate/data/changelog.xml +++ b/kate/data/changelog.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="ChangeLog" version="1.05" kateversion="2.5" section="Other" extensions="ChangeLog" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> +<language name="ChangeLog" version="1.04" kateversion="2.4" section="Other" extensions="ChangeLog" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> <highlighting> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> diff --git a/kate/data/chicken.xml b/kate/data/chicken.xml index ad573ae18..2f5a27672 100644 --- a/kate/data/chicken.xml +++ b/kate/data/chicken.xml @@ -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.13" kateversion="2.5" +<language version="1.12-1" kateversion="2.4" name="Chicken" section="Scripts" extensions="*.chicken;*.scm;*.ss;*.scheme;*.meta" indenter="lisp" diff --git a/kate/data/cisco.xml b/kate/data/cisco.xml index e24c0a2f5..47c788807 100644 --- a/kate/data/cisco.xml +++ b/kate/data/cisco.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Cisco" version="1.11" kateversion="2.5" section="Configuration" extensions="*.cis" mimetype="text/cisco" author="Raphaël GRAPINET" license="LGPL"> +<language name="Cisco" version="1.10" kateversion="2.4" section="Configuration" extensions="*.cis" mimetype="text/cisco" author="Raphaël GRAPINET" license="LGPL"> <highlighting> <list name = "commands"> <item> aaa </item> diff --git a/kate/data/clipper.xml b/kate/data/clipper.xml index d26426e31..8b99fab50 100644 --- a/kate/data/clipper.xml +++ b/kate/data/clipper.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="keywords"> @@ -486,7 +486,6 @@ <itemData name="Preprocessor" defStyleNum="dsOthers"/> <itemData name="Prep. Lib" defStyleNum="dsOthers"/> <itemData name="Eval Block" defStyleNum="dsOthers"/> -<!-- <itemData name="Region Marker" defStyleNum="dsNormal" color="#0000ff"/>--> <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> </itemDatas> </highlighting> diff --git a/kate/data/clojure.xml b/kate/data/clojure.xml index 9b693cd02..f96b7883b 100644 --- a/kate/data/clojure.xml +++ b/kate/data/clojure.xml @@ -22,7 +22,7 @@ * Boston, MA 02110-1301, USA. * ********************************************************************** --> -<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"> +<language version="2-1" kateversion="2.3" 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> diff --git a/kate/data/cmake.xml b/kate/data/cmake.xml index 7bec01e11..b20c1dcaa 100644 --- a/kate/data/cmake.xml +++ b/kate/data/cmake.xml @@ -5,8 +5,8 @@ Copyright 2004 Alexander Neundorf (neundorf@kde.org) Copyright 2005 Dominik Haumann (dhdev@gmx.de) - Copyright 2007,2008,2013 Matthew Woehlke (mw_triad@users.sourceforge.net) - Copyright 2013 Alex Turbov (i.zaufi@gmail.com) + Copyright 2007,2008,2013,2014 Matthew Woehlke (mw_triad@users.sourceforge.net) + Copyright 2013,2014 Alex Turbov (i.zaufi@gmail.com) ********************************************************************** * This library is free software; you can redistribute it and/or * @@ -25,13 +25,14 @@ * Boston, MA 02110-1301, USA. * ********************************************************************** --> -<!-- generated for "cmake version 2.8.11.1" --> -<language name="CMake" version="1.25" kateversion="2.5" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL"> +<!-- generated for "cmake version 2.8.12.1" --> +<language name="CMake" version="1.26-1" kateversion="2.4" 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_compile_options </item> <item> add_custom_command </item> <item> add_custom_target </item> <item> add_definitions </item> @@ -44,6 +45,7 @@ <item> break </item> <item> build_command </item> <item> build_name </item> + <item> cmake_host_system_information </item> <item> cmake_minimum_required </item> <item> cmake_policy </item> <item> configure_file </item> @@ -118,6 +120,7 @@ <item> subdir_depends </item> <item> subdirs </item> <item> target_compile_definitions </item> + <item> target_compile_options </item> <item> target_include_directories </item> <item> target_link_libraries </item> <item> try_compile </item> @@ -143,6 +146,7 @@ <list name="special_args"> <!-- generated list --> <item> AFTER </item> + <item> ALIAS </item> <item> ALL </item> <item> ALPHABET </item> <item> AND </item> @@ -170,14 +174,17 @@ <item> COMPILE_RESULT_VAR </item> <item> COMPONENT </item> <item> COMPONENTS </item> + <item> CONDITION </item> <item> CONFIG </item> <item> CONFIGS </item> <item> CONFIGURATION </item> <item> CONFIGURATIONS </item> <item> CONFIGURE </item> + <item> CONTENT </item> <item> COPY </item> <item> COPYONLY </item> <item> COPY_FILE </item> + <item> COPY_FILE_ERROR </item> <item> CRLF </item> <item> DEFINED </item> <item> DEFINITION </item> @@ -202,6 +209,7 @@ <item> EXPECTED_HASH </item> <item> EXPECTED_MD5 </item> <item> EXPORT </item> + <item> EXPORT_LINK_INTERFACE_LIBRARIES </item> <item> EXPR </item> <item> EXTRA_INCLUDE </item> <item> FATAL_ERROR </item> @@ -215,6 +223,7 @@ <item> FRAMEWORK </item> <item> FULL_DOCS </item> <item> FUNCTION </item> + <item> GENERATE </item> <item> GET </item> <item> GLOB </item> <item> GLOBAL </item> @@ -229,8 +238,10 @@ <item> IMPORTED </item> <item> IN </item> <item> INACTIVITY_TIMEOUT </item> + <item> INCLUDES </item> <item> INCLUDE_INTERNALS </item> <item> INHERITED </item> + <item> INPUT </item> <item> INPUT_FILE </item> <item> INSERT </item> <item> INSTALL </item> @@ -258,6 +269,7 @@ <item> LOG </item> <item> MACOSX_BUNDLE </item> <item> MAIN_DEPENDENCY </item> + <item> MAKE_C_IDENTIFIER </item> <item> MAKE_DIRECTORY </item> <item> MATCH </item> <item> MATCHALL </item> @@ -329,6 +341,7 @@ <item> PUBLIC </item> <item> PUBLIC_HEADER </item> <item> PUSH </item> + <item> QUERY </item> <item> QUIET </item> <item> RANDOM </item> <item> RANDOM_SEED </item> @@ -350,6 +363,7 @@ <item> REQUIRED_VARIABLE1 </item> <item> REQUIRED_VARIABLE2 </item> <item> RESOURCE </item> + <item> RESULT </item> <item> RESULT_VAR </item> <item> RESULT_VARIABLE </item> <item> RETURN_VALUE </item> @@ -428,6 +442,15 @@ <item> STRING </item> <item> BOOL </item> <item> INTERNAL </item> + <!-- key values to the QUERY parameter of cmake_host_system_information() --> + <item> NUMBER_OF_LOGICAL_CORES </item> + <item> NUMBER_OF_PHYSICAL_CORES </item> + <item> HOSTNAME </item> + <item> FQDN </item> + <item> TOTAL_VIRTUAL_MEMORY </item> + <item> AVAILABLE_VIRTUAL_MEMORY </item> + <item> TOTAL_PHYSICAL_MEMORY </item> + <item> AVAILABLE_PHYSICAL_MEMORY </item> </list> <!-- ATTENTION Do not change the list name! Or change a generation script accordingly --> @@ -436,6 +459,7 @@ <item> ABSTRACT </item> <item> ADDITIONAL_MAKE_CLEAN_FILES </item> <item> ADVANCED </item> + <item> ALIASED_TARGET </item> <item> ALLOW_DUPLICATE_CUSTOM_TARGETS </item> <item> ARCHIVE_OUTPUT_DIRECTORY </item> <item> ARCHIVE_OUTPUT_NAME </item> @@ -443,6 +467,7 @@ <item> ATTACHED_FILES_ON_FAIL </item> <item> AUTOMOC </item> <item> AUTOMOC_MOC_OPTIONS </item> + <item> AUTOMOC_TARGETS_FOLDER </item> <item> BUILD_WITH_INSTALL_RPATH </item> <item> BUNDLE </item> <item> BUNDLE_EXTENSION </item> @@ -452,6 +477,7 @@ <item> COMPATIBLE_INTERFACE_STRING </item> <item> COMPILE_DEFINITIONS </item> <item> COMPILE_FLAGS </item> + <item> COMPILE_OPTIONS </item> <item> COST </item> <item> DEBUG_CONFIGURATIONS </item> <item> DEBUG_POSTFIX </item> @@ -465,6 +491,7 @@ <item> ENVIRONMENT </item> <item> EXCLUDE_FROM_ALL </item> <item> EXCLUDE_FROM_DEFAULT_BUILD </item> + <item> EXPORT_NAME </item> <item> EXTERNAL_OBJECT </item> <item> EchoString </item> <item> FAIL_REGULAR_EXPRESSION </item> @@ -501,8 +528,11 @@ <item> INSTALL_RPATH </item> <item> INSTALL_RPATH_USE_LINK_PATH </item> <item> INTERFACE_COMPILE_DEFINITIONS </item> + <item> INTERFACE_COMPILE_OPTIONS </item> <item> INTERFACE_INCLUDE_DIRECTORIES </item> + <item> INTERFACE_LINK_LIBRARIES </item> <item> INTERFACE_POSITION_INDEPENDENT_CODE </item> + <item> INTERFACE_SYSTEM_INCLUDE_DIRECTORIES </item> <item> INTERPROCEDURAL_OPTIMIZATION </item> <item> IN_TRY_COMPILE </item> <item> KEEP_EXTENSION </item> @@ -526,9 +556,11 @@ <item> MACOSX_BUNDLE_INFO_PLIST </item> <item> MACOSX_FRAMEWORK_INFO_PLIST </item> <item> MACOSX_PACKAGE_LOCATION </item> + <item> MACOSX_RPATH </item> <item> MACROS </item> <item> MEASUREMENT </item> <item> MODIFIED </item> + <item> NAME </item> <item> NO_SONAME </item> <item> OBJECT_DEPENDS </item> <item> OBJECT_OUTPUTS </item> @@ -576,9 +608,12 @@ <item> VALUE </item> <item> VARIABLES </item> <item> VERSION </item> + <item> VISIBILITY_INLINES_HIDDEN </item> <item> VS_DOTNET_REFERENCES </item> + <item> VS_DOTNET_TARGET_FRAMEWORK_VERSION </item> <item> VS_GLOBAL_KEYWORD </item> <item> VS_GLOBAL_PROJECT_TYPES </item> + <item> VS_GLOBAL_ROOTNAMESPACE </item> <item> VS_KEYWORD </item> <item> VS_SCC_AUXPATH </item> <item> VS_SCC_LOCALPATH </item> @@ -639,6 +674,7 @@ <item> CMAKE_DEBUG_TARGET_PROPERTIES </item> <item> CMAKE_DL_LIBS </item> <item> CMAKE_EDIT_COMMAND </item> + <item> CMAKE_ERROR_DEPRECATED </item> <item> CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION </item> <item> CMAKE_EXECUTABLE_SUFFIX </item> <item> CMAKE_EXE_LINKER_FLAGS </item> @@ -690,7 +726,9 @@ <item> CMAKE_MAJOR_VERSION </item> <item> CMAKE_MAKE_PROGRAM </item> <item> CMAKE_MFC_FLAG </item> + <item> CMAKE_MINIMUM_REQUIRED_VERSION </item> <item> CMAKE_MINOR_VERSION </item> + <item> CMAKE_MODULE_LINKER_FLAGS </item> <item> CMAKE_MODULE_PATH </item> <item> CMAKE_NOT_USING_CONFIG_FLAGS </item> <item> CMAKE_NO_BUILTIN_CHRPATH </item> @@ -708,6 +746,7 @@ <item> CMAKE_SCRIPT_MODE_FILE </item> <item> CMAKE_SHARED_LIBRARY_PREFIX </item> <item> CMAKE_SHARED_LIBRARY_SUFFIX </item> + <item> CMAKE_SHARED_LINKER_FLAGS </item> <item> CMAKE_SHARED_MODULE_PREFIX </item> <item> CMAKE_SHARED_MODULE_SUFFIX </item> <item> CMAKE_SIZEOF_VOID_P </item> @@ -719,6 +758,7 @@ <item> CMAKE_STANDARD_LIBRARIES </item> <item> CMAKE_STATIC_LIBRARY_PREFIX </item> <item> CMAKE_STATIC_LIBRARY_SUFFIX </item> + <item> CMAKE_STATIC_LINKER_FLAGS </item> <item> CMAKE_SYSTEM </item> <item> CMAKE_SYSTEM_IGNORE_PATH </item> <item> CMAKE_SYSTEM_INCLUDE_PATH </item> @@ -734,16 +774,20 @@ <item> CMAKE_USE_RELATIVE_PATHS </item> <item> CMAKE_VERBOSE_MAKEFILE </item> <item> CMAKE_VERSION </item> + <item> CMAKE_VISIBILITY_INLINES_HIDDEN </item> <item> CMAKE_VS_PLATFORM_TOOLSET </item> + <item> CMAKE_WARN_DEPRECATED </item> <item> CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION </item> <item> CMAKE_WIN32_EXECUTABLE </item> <item> CMAKE_XCODE_PLATFORM_TOOLSET </item> <item> CYGWIN </item> + <item> ENV </item> <item> EXECUTABLE_OUTPUT_PATH </item> <item> LIBRARY_OUTPUT_PATH </item> <item> MSVC </item> <item> MSVC10 </item> <item> MSVC11 </item> + <item> MSVC12 </item> <item> MSVC60 </item> <item> MSVC70 </item> <item> MSVC71 </item> @@ -773,15 +817,27 @@ <item> CONFIG </item> <item> BOOL </item> <item> STREQUAL </item> + <item> JOIN </item> <item> TARGET_NAME </item> <item> INSTALL_INTERFACE </item> <item> BUILD_INTERFACE </item> + <item> C_COMPILER_ID </item> + <item> CXX_COMPILER_ID </item> + <item> VERSION_GREATER </item> + <item> VERSION_LESS </item> + <item> VERSION_EQUAL </item> + <item> C_COMPILER_VERSION </item> + <item> CXX_COMPILER_VERSION </item> <item> TARGET_FILE </item> <item> TARGET_LINKER_FILE </item> <item> TARGET_SONAME_FILE </item> + <item> TARGET_FILE_DIR </item> + <item> TARGET_FILE_NAME </item> <item> TARGET_DIR </item> - <item> TARGET_LINKER_DIR </item> - <item> TARGET_SONAME_DIR </item> + <item> TARGET_LINKER_FILE_DIR </item> + <item> TARGET_LINKER_FILE_NAME </item> + <item> TARGET_SONAME_FILE_DIR </item> + <item> TARGET_SONAME_FILE_NAME </item> <item> TARGET_PROPERTY </item> <item> TARGET_OBJECTS </item> <item> TARGET_POLICY </item> @@ -828,7 +884,10 @@ <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_MODULE_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_SHARED_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\b" /> + <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_STATIC_LINKER_FLAGS_[A-Za-z_][A-Za-z_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" /> @@ -842,6 +901,7 @@ <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\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" /> @@ -860,6 +920,7 @@ <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" /> + <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_VISIBILITY_PRESET\b" /> </context> <context attribute="Normal Text" lineEndContext="#stay" name="Detect Builtin Variables"> <keyword attribute="Builtin CMake Variable" context="#stay" String="cmake_vars" insensitive="false"/> @@ -900,8 +961,7 @@ </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="\""/> + <RegExpr attribute="Escapes" context="#stay" String="\\["$n\\]"/> <DetectChar attribute="Strings" context="String" char="""/> <RegExpr attribute="Strings" context="Bracketed String" String="\[(=*)\[" /> <DetectChar attribute="Comment" context="Comment" char="#"/> @@ -924,7 +984,7 @@ </context> <context attribute="Strings" lineEndContext="#stay" name="String"> <RegExpr attribute="Strings" context="#pop" String=""(?=[ );]|$)" /> - <RegExpr attribute="Escapes" context="#stay" String="\\["$n\\]" /> + <RegExpr attribute="Escapes" context="#stay" String="\\["$nrt\\]" /> <IncludeRules context="Detect Variables"/> <IncludeRules context="Detect Generator Expressions"/> </context> diff --git a/kate/data/coffee.xml b/kate/data/coffee.xml index d76a996be..043e51bd5 100644 --- a/kate/data/coffee.xml +++ b/kate/data/coffee.xml @@ -2,8 +2,8 @@ <!DOCTYPE language SYSTEM "language.dtd"> <language name="CoffeeScript" - version="1.5" - kateversion="2.5" + version="1.4" + kateversion="2.4" section="Scripts" extensions="Cakefile;*.coffee;*.coco" mimetype="text/x-coffeescript;application/x-coffeescript" diff --git a/kate/data/coldfusion.xml b/kate/data/coldfusion.xml index 7c43290ac..9e49e4af6 100644 --- a/kate/data/coldfusion.xml +++ b/kate/data/coldfusion.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="ColdFusion" version="1.05" kateversion="2.5" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion"> +<language name="ColdFusion" version="1.04" kateversion="2.3" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion"> <highlighting> diff --git a/kate/data/commonlisp.xml b/kate/data/commonlisp.xml index 6b8691fdc..c15bcf9c1 100644 --- a/kate/data/commonlisp.xml +++ b/kate/data/commonlisp.xml @@ -23,7 +23,7 @@ * Boston, MA 02110-1301, USA. * ********************************************************************** --> -<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"> +<language version="1.05-1" kateversion="2.3" name="Common Lisp" section="Sources" extensions="*.lisp;*.cl;*.lsp" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> <highlighting> <list name="symbols"> <item> < </item> diff --git a/kate/data/component-pascal.xml b/kate/data/component-pascal.xml index a852e8b28..09e70011b 100644 --- a/kate/data/component-pascal.xml +++ b/kate/data/component-pascal.xml @@ -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.06" kateversion="2.5" section="Sources" extensions="*.cp;*.bro" mimetype="text/x-component-pascal" author="Werner Braun (wb@o3-software.de)" license=""> +<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=""> <highlighting> <list name="keywords"> <item> BEGIN </item> diff --git a/kate/data/context.xml b/kate/data/context.xml index d47c7939b..ebd3faaa4 100644 --- a/kate/data/context.xml +++ b/kate/data/context.xml @@ -1,6 +1,6 @@ <?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" > +<language name="ConTeXt" version="1.1" section="Markup" kateversion="2.3" 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> @@ -129,4 +129,4 @@ </spellchecking> </language> -<!-- kate: space-indent off; indent-width 4; mixedindent off; --> +<!-- kate: space-indent off; indent-width 4; --> diff --git a/kate/data/cpp.xml b/kate/data/cpp.xml index 691bcb624..48aed711c 100644 --- a/kate/data/cpp.xml +++ b/kate/data/cpp.xml @@ -1,21 +1,36 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE language SYSTEM "language.dtd"> -<language name="C++" section="Sources" - 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" - priority="9"> -<!-- -########################################################################## -## Fixes by Sebastian Pipping (webmaster@hartwork.org) -## -## NOTE: Keep in sync with C highlighter! (c.xml) -########################################################################## ---> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY space " "> + <!ENTITY separators ",;"> + <!ENTITY ns_punctuators "!%&space;&()+-/.*<=>?[]{|}~^&separators;"> + <!ENTITY punctuators ":&ns_punctuators;"> + <!-- printf-like format strings conversion specifiers --> + <!ENTITY convspec "diouxXeEfFgGaAcsP%"> +]> +<language + name="C++" + section="Sources" + version="2.0-1" + kateversion="2.4" + 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" + author="Alex Turbov (i.zaufi@gmail.com)" + license="LGPL" + priority="9" + > + <!-- + 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> @@ -31,10 +46,9 @@ <item> else </item> <item> enum </item> <item> explicit </item> - <item> export </item> - <item> extern </item> + <item> export </item> <!-- Unused but reserved for future use --> <item> false </item> - <item> final </item> + <item> final </item> <!-- According N3272 --> <item> friend </item> <item> for </item> <item> goto </item> @@ -45,11 +59,10 @@ <item> noexcept </item> <item> nullptr </item> <item> operator </item> - <item> override </item> + <item> override </item> <!-- According N3272 --> <item> private </item> <item> protected </item> <item> public </item> - <item> qobject_cast </item> <item> reinterpret_cast </item> <item> return </item> <item> sizeof </item> @@ -64,17 +77,14 @@ <item> try </item> <item> typedef </item> <item> typeid </item> - <item> type_info </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> bad_cast </item> - <item> bad_typeid </item> <item> bitand </item> <item> bitor </item> <item> compl </item> @@ -85,6 +95,22 @@ <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"> + <!-- C++11 --> + <item> noreturn </item> + <item> carries_dependency </item> + <!-- C++1y --> + <item> deprecated </item> + </list> <!-- QT/TQT extensions --> <list name="extensions"> @@ -201,26 +227,18 @@ </list> <list name="types"> - <item> auto </item> <item> bool </item> <item> char </item> <item> char16_t </item> <item> char32_t </item> - <item> const </item> <item> double </item> <item> float </item> <item> int </item> <item> long </item> - <item> mutable </item> - <item> register </item> <item> short </item> <item> signed </item> - <item> static </item> <item> unsigned </item> <item> void </item> - <item> volatile </item> - <item> uchar </item> - <item> uint </item> <item> int8_t </item> <item> int16_t </item> <item> int32_t </item> @@ -231,143 +249,362 @@ <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 attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> <DetectSpaces /> - <RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0\s*$" beginRegion="PP" firstNonSpace="true" /> + <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*"" _[_0-9A-Za-z]*\b" lookAhead="true" /> + <RegExpr attribute="Error" context="#stay" String="operator\s*"" [_0-9A-Za-z]*\b" /> + <!-- Match keywords --> <keyword attribute="Keyword" context="#stay" String="keywords" /> - <keyword attribute="Extensions" context="#stay" String="extensions" /> + <!-- Detect attributes --> + <Detect2Chars attribute="Symbol" context="Attribute" char="[" char1="[" /> + <!-- 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]('?[0-9A-Fa-f]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" /> + <RegExpr attribute="Binary" context="#stay" String="0[Bb][01]('?[01]+)*([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]('?[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="[\+\-]?(0x?|[1-9][0-9]*)[0-9A-Za-z][_0-9A-Za-z]*\b" /> + <!-- Match string literals --> + <DetectChar attribute="String" context="String" char=""" /> + <Detect2Chars attribute="String" context="String" char="U" char1=""" /> + <Detect2Chars attribute="String" context="String" char="u" char1=""" /> + <Detect2Chars attribute="String" context="String" char="L" char1=""" /> + <StringDetect attribute="String" context="String" String="u8"" /> + <RegExpr attribute="String" context="RawString" String="(u|u8|U|L)?R"([^\(]{0,16})\(" lookAhead="true" /> + <RegExpr attribute="Error" context="#stay" String="(u|u8|U|L)?R"([^\(]{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 GCC extensions --> + <IncludeRules context="DetectGccExtensions##GCCExtensions" /> + <!-- 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" /> - <HlCChar attribute="Char" context="#stay"/> - <DetectChar attribute="String" context="String" char="""/> + <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 /> - <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> + <!-- Match comments --> <IncludeRules context="##Doxygen" /> - <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> - <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <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" /> - <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]{|}~^;"/> + <!-- 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 attribute="String" lineEndContext="#pop" name="String"> - <LineContinue attribute="String" context="#stay"/> - <HlCStringChar attribute="String Char" context="#stay"/> - <DetectChar attribute="String" context="#pop" char="""/> + <context name="UDLOperator" attribute="Normal Text" lineEndContext="#pop"> + <StringDetect attribute="Keyword" context="#stay" String="operator" /> + <StringDetect attribute="String" context="#stay" String="""" /> + <DetectIdentifier context="#pop" /> </context> - <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"> + <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 attribute="Comment" lineEndContext="#pop" name="Commentar 1"> - <LineContinue attribute="Comment" context="#stay"/> + <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'"\" /> + <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="%[^"&convspec;]*[&convspec;]" /> + <DetectChar attribute="String" context="UDLStringSuffix" char=""" /> + </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="Standard Attribute" context="#stay" String="attributes" /> + <Detect2Chars attribute="Symbol" context="#pop" char="]" char1="]" /> + <AnyChar context="#stay" String="&ns_punctuators;" attribute="Symbol" /> + <!-- Attributes may contain some text: [[deprecated("Reason text")]] --> + <DetectChar attribute="String" context="String" char=""" /> + </context> + + <context name="RawString" attribute="String" lineEndContext="#stay" dynamic="true"> + <LineContinue attribute="String" context="#stay" /> + <RegExpr attribute="String Char" context="#stay" String="%[^"&convspec;]*[&convspec;]" /> + <RegExpr attribute="String" context="#pop" String="\)%2"" 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 attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <context name="Commentar 2" attribute="Comment" lineEndContext="#stay"> <DetectSpaces /> - <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + <LineContinue attribute="Comment" context="#stay" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" /> <IncludeRules context="##Alerts" /> + <IncludeRules context="##Modelines" /> <DetectIdentifier /> </context> - <context attribute="Error" lineEndContext="#pop" name="AfterHash"> + <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)" 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" /> + <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 attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> - <LineContinue attribute="Preprocessor" context="#stay"/> - <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> - <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <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=""" char1=""" /> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">" /> <IncludeRules context="##Doxygen" /> <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2" /> - - <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <IncludeRules context="AlignedComments" /> </context> - <context attribute="Preprocessor" lineEndContext="#pop" name="Define"> - <LineContinue attribute="Preprocessor" context="#stay"/> + <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 attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor"> + <context name="Commentar/Preprocessor" attribute="Comment" lineEndContext="#stay"> <DetectSpaces /> <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" /> <DetectIdentifier /> </context> - <context attribute="Comment" lineEndContext="#stay" name="Outscoped" > + <context name="Outscoped Common" attribute="Comment" lineEndContext="#stay"> <DetectSpaces /> <IncludeRules context="##Alerts" /> + <IncludeRules context="##Modelines" /> <DetectIdentifier /> <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" /> + <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 attribute="Comment" lineEndContext="#stay" name="Outscoped intern"> + <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 /> - <DetectChar attribute="String" context="String" char="""/> <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" /> + <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="Extensions" defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0" 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"/> - <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/> - <itemData name="Error" defStyleNum="dsError" spellChecking="false"/> + <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="Standard 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="Binary" 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"/> + <comment name="multiLine" start="/*" end="*/" region="Comment" /> </comments> <keywords casesensitive="1" /> </general> </language> +<!-- kate: indent-width 2; tab-width 2; --> diff --git a/kate/data/cpp11.xml b/kate/data/cpp11.xml deleted file mode 100644 index aff71c10e..000000000 --- a/kate/data/cpp11.xml +++ /dev/null @@ -1,610 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE language SYSTEM "language.dtd" -[ - <!ENTITY space " "> - <!ENTITY separators ",;"> - <!ENTITY ns_punctuators "!%&space;&()+-/.*<=>?[]{|}~^&separators;"> - <!ENTITY punctuators ":&ns_punctuators;"> - <!-- printf-like format strings conversion specifiers --> - <!ENTITY convspec "diouxXeEfFgGaAcsP%"> -]> -<language - name="C++11" - section="Sources" - version="1.64" - 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"> - <!-- C++11 --> - <item> noreturn </item> - <item> carries_dependency </item> - <!-- C++1y --> - <item> deprecated </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*"" _[_0-9A-Za-z]*\b" lookAhead="true" /> - <RegExpr attribute="Error" context="#stay" String="operator\s*"" [_0-9A-Za-z]*\b" /> - <!-- Match keywords --> - <keyword attribute="Keyword" context="#stay" String="keywords" /> - <!-- Detect attributes --> - <Detect2Chars attribute="Symbol" context="Attribute" char="[" char1="[" /> - <!-- 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]('?[0-9A-Fa-f]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" /> - <RegExpr attribute="Binary" context="#stay" String="0[Bb][01]('?[01]+)*([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]('?[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="[\+\-]?(0x?|[1-9][0-9]*)[0-9A-Za-z][_0-9A-Za-z]*\b" /> - <!-- Match string literals --> - <DetectChar attribute="String" context="String" char=""" /> - <Detect2Chars attribute="String" context="String" char="U" char1=""" /> - <Detect2Chars attribute="String" context="String" char="u" char1=""" /> - <Detect2Chars attribute="String" context="String" char="L" char1=""" /> - <StringDetect attribute="String" context="String" String="u8"" /> - <RegExpr attribute="String" context="RawString" String="(u|u8|U|L)?R"([^\(]{0,16})\(" lookAhead="true" /> - <RegExpr attribute="Error" context="#stay" String="(u|u8|U|L)?R"([^\(]{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 GCC extensions --> - <IncludeRules context="DetectGccExtensions##GCCExtensions" /> - <!-- 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="""" /> - <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'"\" /> - <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="%[^"&convspec;]*[&convspec;]" /> - <DetectChar attribute="String" context="UDLStringSuffix" char=""" /> - </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="Standard Attribute" context="#stay" String="attributes" /> - <Detect2Chars attribute="Symbol" context="#pop" char="]" char1="]" /> - <AnyChar context="#stay" String="&ns_punctuators;" attribute="Symbol" /> - <!-- Attributes may contain some text: [[deprecated("Reason text")]] --> - <DetectChar attribute="String" context="String" char=""" /> - </context> - - <context name="RawString" attribute="String" lineEndContext="#stay" dynamic="true"> - <LineContinue attribute="String" context="#stay" /> - <RegExpr attribute="String Char" context="#stay" String="%[^"&convspec;]*[&convspec;]" /> - <RegExpr attribute="String" context="#pop" String="\)%2"" 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=""" char1=""" /> - <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">" /> - <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="Standard 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="Binary" 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; --> diff --git a/kate/data/crk.xml b/kate/data/crk.xml index ff2db1762..2d83e3f25 100644 --- a/kate/data/crk.xml +++ b/kate/data/crk.xml @@ -1,5 +1,5 @@ <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Crack" version="1.2" kateversion="2.5" section="Sources" extensions="*.crk" mimetype=""> +<language name="Crack" version="1.1" kateversion="2.3" section="Sources" extensions="*.crk" mimetype=""> <highlighting> <list name="keywords"> <item> break</item> @@ -24,8 +24,10 @@ <list name="types"> <item> bool</item> <item> byte</item> + <item> int16</item> <item> int32</item> <item> int64</item> + <item> uint16</item> <item> uint32</item> <item> uint64</item> <item> float32</item> @@ -70,6 +72,7 @@ <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" /> <RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" /> + <RegExpr attribute="Annotation" context="#stay" String="@\w+" /> </context> <context attribute="String" lineEndContext="#pop" name="String"> @@ -96,7 +99,15 @@ <DetectChar attribute="Char" context="#pop" char="'" /> </context> + <context name="Braces" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Normal Text" char=")" context="#pop"/> + <!-- Highlight everything inside as code. --> + <IncludeRules context="Normal"/> + </context> + <context name="Subst" attribute="Normal Text" lineEndContext="#stay"> + <!-- Switch to a new context when encountering an lbrace so that we don't #pop too early. --> + <DetectChar attribute="Normal Text" char="(" context="Braces"/> <DetectChar attribute="Substitution" char=")" context="#pop"/> <!-- Highlight substitution as code. --> <IncludeRules context="Normal"/> @@ -134,7 +145,8 @@ <itemData name="Symbol" defStyleNum="dsNormal"/> <itemData name="Substitution" defStyleNum="dsOthers"/> <itemData name="Package" defStyleNum="dsFunction"/> - <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Annotation" defStyleNum="dsKeyword"/> </itemDatas> </highlighting> <general> diff --git a/kate/data/cs.xml b/kate/data/cs.xml index 98402b822..260434c9b 100644 --- a/kate/data/cs.xml +++ b/kate/data/cs.xml @@ -1,5 +1,5 @@ <!DOCTYPE language SYSTEM "language.dtd"> -<language name="C#" version="1.16" kateversion="2.5" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde"> +<language name="C#" version="1.15" kateversion="2.3" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde"> <highlighting> <list name="keywords"> <item> abstract</item> diff --git a/kate/data/css-php.xml b/kate/data/css-php.xml index 3be8ab76a..8fd82afc0 100644 --- a/kate/data/css-php.xml +++ b/kate/data/css-php.xml @@ -13,6 +13,9 @@ Changelog: - Version 2.03, by Milian Wolff: - Make it spelling aware +- Version 2.08, Joseph Wenninger: +- CSS3 media queries + --> @@ -21,7 +24,7 @@ Changelog: -<language name="CSS/PHP" hidden="true" version="2.08" kateversion="2.5" section="Other" extensions="" indenter="cstyle" mimetype="" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> +<language name="CSS/PHP" hidden="true" version="2.08" kateversion="2.4" section="Other" extensions="" indenter="cstyle" mimetype="" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> <highlighting> <list name="properties"> @@ -628,10 +631,52 @@ Changelog: <item> print </item> <item> projection </item> <item> screen </item> + <item> speech </item> <item> tty </item> <item> tv </item> </list> + <list name="mediatypes_op"> + <item> not </item> + <item> only </item> + </list> + + <list name="media_features"> + <item> width </item> + <item> min-width </item> + <item> max-width</item> + <item> height </item> + <item> min-height </item> + <item> max-height </item> + <item> device-width </item> + <item> min-device-width </item> + <item> max-device-width </item> + <item> device-height </item> + <item> min-device-height </item> + <item> max-device-height </item> + <item> orientation </item> + <item> aspect-ratio </item> + <item> min-aspect-ratio </item> + <item> max-aspect-ratio </item> + <item> device-aspect-ratio </item> + <item> min-device-aspect-ratio </item> + <item> max-device-aspect-ratio </item> + <item> color </item> + <item> min-color </item> + <item> max-color </item> + <item> color-index </item> + <item> min-color-index </item> + <item> max-color-index </item> + <item> monochrome </item> + <item> min-monochrome </item> + <item> max-monochrome </item> + <item> resolution </item> + <item> min-resolution </item> + <item> max-resolution </item> + <item> scan </item> + <item> grid </item> + </list> + <list name="pseudoclasses"> <item> hover </item> <item> link </item> @@ -716,11 +761,60 @@ Changelog: <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="MediaQueryExpression" char="(" /> + <keyword attribute="Media" context="MediaQueries" String="mediatypes"/> + <keyword attribute="Media" context="MediaTypes" String="mediatypes_op" /> <DetectChar attribute="Media" context="#stay" char="," /> <IncludeRules context="FindComments" /> <RegExpr attribute="Error" context="#stay" String="\S+" /> </context> + + <context attribute="Media" lineEndContext="#stay" name="MediaTypes"> +<IncludeRules context="FindPHP" /> + <keyword attribute="Media" context="MediaQueries" String="mediatypes"/> + <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/> + <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/> + <DetectSpaces/> + <IncludeRules context="FindComments"/> + <RegExpr attribute="Error" context="#stay" String="\S+"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MediaQueries"> +<IncludeRules context="FindPHP" /> + <RegExpr attribute="Media" context="MediaQueryExpression" String="\s+and\s+\("/> + <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/> + <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/> + <DetectSpaces/> + <IncludeRules context="FindComments"/> + <RegExpr attribute="Error" context="#stay" String="\S+"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MediaQueryExpression"> +<IncludeRules context="FindPHP" /> + <DetectSpaces/> + <keyword attribute="Media" context="MQEE" String="media_features"/> + <IncludeRules context="FindComments"/> + <RegExpr attribute="Error" context="#stay" String="\S+"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MQEE" fallthrough="true" fallthroughContext="#pop"> +<IncludeRules context="FindPHP" /> + <DetectSpaces/> + <IncludeRules context="FindComments"/> + <DetectChar attribute="Media" context="MQEV" char=":"/> + <RegExpr attribute="Media" context="#pop" String="\)\s+and\s+\("/> + <DetectChar attribute="Media" context="#pop#pop" char=")"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MQEV"> +<IncludeRules context="FindPHP" /> + <!-- this should be seperate for different features, for now it is all the same --> + <RegExpr attribute="Value" context="#pop" String="[1-9][0-9.]*\s*/\s*[1-9][0-9.]*" /> + <RegExpr attribute="Value" context="#pop" String="[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|dpi|dpcm)\b" /> + <RegExpr attribute="Value" context="#pop" String="[0-9.]+[%]?" /> + <RegExpr attribute="Value" context="#pop" String="(portrait|landscape)" /> + <RegExpr attribute="Error" context="#stay" String=".*"/> + </context> <context attribute="Normal Text" lineEndContext="#stay" name="Media2"> <IncludeRules context="FindPHP" /> @@ -840,7 +934,6 @@ Changelog: <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> @@ -852,4 +945,5 @@ Changelog: </general> </language> + <!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** --> diff --git a/kate/data/css.xml b/kate/data/css.xml index 14d4cc3dd..6f274bb50 100644 --- a/kate/data/css.xml +++ b/kate/data/css.xml @@ -13,9 +13,12 @@ Changelog: - Version 2.03, by Milian Wolff: - Make it spelling aware +- Version 2.08, Joseph Wenninger: +- CSS3 media queries + --> -<language name="CSS" version="2.09" kateversion="2.5" section="Markup" extensions="*.css" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> +<language name="CSS" version="2.08" kateversion="2.4" section="Markup" extensions="*.css" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> <highlighting> <list name="properties"> @@ -622,10 +625,52 @@ Changelog: <item> print </item> <item> projection </item> <item> screen </item> + <item> speech </item> <item> tty </item> <item> tv </item> </list> + <list name="mediatypes_op"> + <item> not </item> + <item> only </item> + </list> + + <list name="media_features"> + <item> width </item> + <item> min-width </item> + <item> max-width</item> + <item> height </item> + <item> min-height </item> + <item> max-height </item> + <item> device-width </item> + <item> min-device-width </item> + <item> max-device-width </item> + <item> device-height </item> + <item> min-device-height </item> + <item> max-device-height </item> + <item> orientation </item> + <item> aspect-ratio </item> + <item> min-aspect-ratio </item> + <item> max-aspect-ratio </item> + <item> device-aspect-ratio </item> + <item> min-device-aspect-ratio </item> + <item> max-device-aspect-ratio </item> + <item> color </item> + <item> min-color </item> + <item> max-color </item> + <item> color-index </item> + <item> min-color-index </item> + <item> max-color-index </item> + <item> monochrome </item> + <item> min-monochrome </item> + <item> max-monochrome </item> + <item> resolution </item> + <item> min-resolution </item> + <item> max-resolution </item> + <item> scan </item> + <item> grid </item> + </list> + <list name="pseudoclasses"> <item> hover </item> <item> link </item> @@ -704,11 +749,55 @@ Changelog: <!-- 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="MediaQueryExpression" char="(" /> + <keyword attribute="Media" context="MediaQueries" String="mediatypes"/> + <keyword attribute="Media" context="MediaTypes" String="mediatypes_op" /> <DetectChar attribute="Media" context="#stay" char="," /> <IncludeRules context="FindComments" /> <RegExpr attribute="Error" context="#stay" String="\S+" /> </context> + + <context attribute="Media" lineEndContext="#stay" name="MediaTypes"> + <keyword attribute="Media" context="MediaQueries" String="mediatypes"/> + <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/> + <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/> + <DetectSpaces/> + <IncludeRules context="FindComments"/> + <RegExpr attribute="Error" context="#stay" String="\S+"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MediaQueries"> + <RegExpr attribute="Media" context="MediaQueryExpression" String="\s+and\s+\("/> + <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/> + <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/> + <DetectSpaces/> + <IncludeRules context="FindComments"/> + <RegExpr attribute="Error" context="#stay" String="\S+"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MediaQueryExpression"> + <DetectSpaces/> + <keyword attribute="Media" context="MQEE" String="media_features"/> + <IncludeRules context="FindComments"/> + <RegExpr attribute="Error" context="#stay" String="\S+"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MQEE" fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces/> + <IncludeRules context="FindComments"/> + <DetectChar attribute="Media" context="MQEV" char=":"/> + <RegExpr attribute="Media" context="#pop" String="\)\s+and\s+\("/> + <DetectChar attribute="Media" context="#pop#pop" char=")"/> + </context> + + <context attribute="Media" lineEndContext="#stay" name="MQEV"> + <!-- this should be seperate for different features, for now it is all the same --> + <RegExpr attribute="Value" context="#pop" String="[1-9][0-9.]*\s*/\s*[1-9][0-9.]*" /> + <RegExpr attribute="Value" context="#pop" String="[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|dpi|dpcm)\b" /> + <RegExpr attribute="Value" context="#pop" String="[0-9.]+[%]?" /> + <RegExpr attribute="Value" context="#pop" String="(portrait|landscape)" /> + <RegExpr attribute="Error" context="#stay" String=".*"/> + </context> <context attribute="Normal Text" lineEndContext="#stay" name="Media2"> <DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" /> diff --git a/kate/data/cue.xml b/kate/data/cue.xml index 8d76bb4c2..6044aae7b 100644 --- a/kate/data/cue.xml +++ b/kate/data/cue.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="CUE Sheet" version="0.92" kateversion="2.5" section="Other" extensions="*.cue" mimetype="application/x-cue"> +<language name="CUE Sheet" version="0.91" kateversion="2.1" section="Other" extensions="*.cue" mimetype="application/x-cue"> <highlighting> <list name="keywords"> <item> CATALOG </item> diff --git a/kate/data/curry.xml b/kate/data/curry.xml index 07e6dd35c..4dcb9b4a6 100644 --- a/kate/data/curry.xml +++ b/kate/data/curry.xml @@ -30,7 +30,7 @@ <!-- dashes introducing a currydoc comment --> <!ENTITY currydoc "---" > ]> -<language name="Curry" version="0.4" kateversion="2.5" +<language name="Curry" version="0.3" kateversion="2.3" section="Sources" extensions="*.curry" mimetype="text/x-curry" author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL" indenter="haskell"> diff --git a/kate/data/d.xml b/kate/data/d.xml index b4ca0720d..ab21b3752 100644 --- a/kate/data/d.xml +++ b/kate/data/d.xml @@ -101,7 +101,7 @@ ======================================================================== --> -<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"> +<language name="D" version="1.62-1" 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"> @@ -691,7 +691,7 @@ <context name="DdocNested2" attribute="Ddoc" lineEndContext="#stay"> <DetectSpaces /> <DetectIdentifier attribute="Ddoc"/> - <!-- Identical to DdocNested except that nested comments don't recieve any formatting --> + <!-- Identical to DdocNested except that nested comments don't receive any formatting --> <RegExpr attribute="Ddoc" context="#pop" String="\++/"/> <!-- The above rules should match before the unwanted rule in DdocNested --> <IncludeRules context="DdocNested" /> diff --git a/kate/data/debianchangelog.xml b/kate/data/debianchangelog.xml index 952e20b5a..b629b1f77 100644 --- a/kate/data/debianchangelog.xml +++ b/kate/data/debianchangelog.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Debian Changelog" version="0.69" kateversion="2.5" section="Other" extensions="" mimetype=""> +<language name="Debian Changelog" version="0.68" kateversion="2.4" section="Other" extensions="" mimetype=""> <highlighting> <list name="keywords"> <item>urgency</item> diff --git a/kate/data/debiancontrol.xml b/kate/data/debiancontrol.xml index 4d8c6a702..8c34c64ca 100644 --- a/kate/data/debiancontrol.xml +++ b/kate/data/debiancontrol.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Debian Control" version="0.85" kateversion="2.5" section="Other" extensions="control" mimetype=""> +<language name="Debian Control" version="0.84" kateversion="2.4" section="Other" extensions="control" mimetype=""> <highlighting> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="INIT"> diff --git a/kate/data/desktop.xml b/kate/data/desktop.xml index 059d891c4..e2eeab477 100644 --- a/kate/data/desktop.xml +++ b/kate/data/desktop.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name=".desktop" version="1.07" kateversion="2.5" +<language name=".desktop" version="1.05-1" kateversion="2.4" section="Configuration" extensions="*.desktop;*.kdelnk;*.desktop.cmake;*.protocol" mimetype="application/x-desktop"> <highlighting> diff --git a/kate/data/diff.xml b/kate/data/diff.xml index 1163ea859..eb63a52bb 100644 --- a/kate/data/diff.xml +++ b/kate/data/diff.xml @@ -15,7 +15,7 @@ 2008-02-13: 1.11 Eduardo Robles Elvira <edulix AT gmail DOT com> Fixed folding. --> -<language name="Diff" version="1.12" kateversion="2.5" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch"> +<language name="Diff" version="1.11" kateversion="2.1" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch"> <highlighting> @@ -108,10 +108,10 @@ <itemData name="Normal Text" defStyleNum="dsNormal"/> <itemData name="File" defStyleNum="dsKeyword"/> <itemData name="Header" defStyleNum="dsDataType"/> - <itemData name="Removed line" defStyleNum="dsOthers" color="#FF0000"/> - <itemData name="Added line" defStyleNum="dsString" color="#0000FF"/> - <itemData name="Changed line (old)" defStyleNum="dsOthers" color="#FF0000"/> - <itemData name="Changed line (new)" defStyleNum="dsString" color="#0000FF"/> + <itemData name="Removed line" defStyleNum="dsString" color="#FF0000"/> + <itemData name="Added line" defStyleNum="dsOthers" color="#0000FF"/> + <itemData name="Changed line (old)" defStyleNum="dsString" color="#FF0000"/> + <itemData name="Changed line (new)" defStyleNum="dsOthers" color="#0000FF"/> </itemDatas> </highlighting> diff --git a/kate/data/djangotemplate.xml b/kate/data/djangotemplate.xml index 73754b089..5189f86ea 100644 --- a/kate/data/djangotemplate.xml +++ b/kate/data/djangotemplate.xml @@ -4,7 +4,7 @@ <!ENTITY name "[A-Za-z_:][\w.:_-]*"> <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]> -<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"> +<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"> <!-- Based off of the katepart html syntax highlighting by Wilbert Berendsen. diff --git a/kate/data/dosbat.xml b/kate/data/dosbat.xml index 1b91578da..d85bcbc55 100644 --- a/kate/data/dosbat.xml +++ b/kate/data/dosbat.xml @@ -8,7 +8,7 @@ <!ENTITY eop "(?=([\s\\;"%]|$))"> <!-- end of path --> <!ENTITY pathpart "[^\s\\%;/:\*\?"><\|]"> <!-- valid character in a file name --> ]> -<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"> +<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"> <!-- (c) 2006, 2009, 2010 Matthew Woehlke (mw_triad@users.sourceforge.net) Released under the LGPL --> diff --git a/kate/data/dot.xml b/kate/data/dot.xml index 2dc3e4ba9..5b0e66389 100644 --- a/kate/data/dot.xml +++ b/kate/data/dot.xml @@ -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.2" kateversion="2.5" section="Scientific" extensions="*.dot" mimetype="text/x-dot" author="Postula Loïs (lois.postula@live.be)" priority="0"> +<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"> <highlighting> diff --git a/kate/data/doxygen.xml b/kate/data/doxygen.xml index 98417e6b7..2bc15ce06 100644 --- a/kate/data/doxygen.xml +++ b/kate/data/doxygen.xml @@ -29,8 +29,8 @@ --> <language name="Doxygen" - version="1.36" - kateversion="2.5" + version="1.35-1" + kateversion="2.4" section="Markup" extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" diff --git a/kate/data/doxygenlua.xml b/kate/data/doxygenlua.xml index 287885ff4..03fcdc9c7 100644 --- a/kate/data/doxygenlua.xml +++ b/kate/data/doxygenlua.xml @@ -27,7 +27,7 @@ * Boston, MA 02110-1301, USA. * ********************************************************************** --> -<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"> +<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"> <highlighting> <!-- note: all tags may begin with a \ or @ char so if you add/change tags you have to do it twice --> diff --git a/kate/data/dtd.xml b/kate/data/dtd.xml index 181ac77db..17914d16c 100644 --- a/kate/data/dtd.xml +++ b/kate/data/dtd.xml @@ -3,7 +3,7 @@ <!ENTITY nmtoken "[\-\w\d\.:_]+"> <!ENTITY entref "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);"> ]> -<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"> +<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"> <highlighting> <list name="Category"> @@ -49,11 +49,11 @@ <DetectIdentifier /> </context> - <context name="PI" attribute="Normal" lineEndContext="#stay"> + <context name="PI" attribute="Other" lineEndContext="#stay"> <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" /> </context> - <context name="Declaration" attribute="Normal" lineEndContext="#stay"> + <context name="Declaration" attribute="Other" lineEndContext="#stay"> <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> <Detect2Chars attribute="Comment" context="InlineComment" char="-" char1="-" /> <DetectChar attribute="Declaration" context="#pop" char=">" endRegion="declaration" /> @@ -85,16 +85,17 @@ <itemDatas> <itemData name="Normal" defStyleNum="dsNormal" /> + <itemData name="Other" defStyleNum="dsNormal" /> <itemData name="Comment" defStyleNum="dsComment" /> - <itemData name="Processing Instruction" defStyleNum="dsKeyword" /> - <itemData name="Declaration" defStyleNum="dsDataType" bold="1" /> - <itemData name="Name" defStyleNum="dsFunction" /> - <itemData name="Delimiter" defStyleNum="dsDecVal" /> - <itemData name="Symbol" defStyleNum="dsFloat" bold="1" /> - <itemData name="Keyword" defStyleNum="dsKeyword" /> - <itemData name="String" defStyleNum="dsString" /> - <itemData name="Entity" defStyleNum="dsDecVal" /> - <itemData name="Local" defStyleNum="dsDecVal" bold="1" /> + <itemData name="Processing Instruction" defStyleNum="dsKeyword" spellChecking="false" /> + <itemData name="Declaration" defStyleNum="dsDataType" bold="1" spellChecking="false" /> + <itemData name="Name" defStyleNum="dsFunction" spellChecking="false" /> + <itemData name="Delimiter" defStyleNum="dsDecVal" spellChecking="false" /> + <itemData name="Symbol" defStyleNum="dsFloat" bold="1" spellChecking="false" /> + <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" /> + <itemData name="String" defStyleNum="dsString" spellChecking="false" /> + <itemData name="Entity" defStyleNum="dsDecVal" spellChecking="false" /> + <itemData name="Local" defStyleNum="dsDecVal" bold="1" spellChecking="false" /> </itemDatas> </highlighting> diff --git a/kate/data/e.xml b/kate/data/e.xml index 8c510dd4d..c21ac2880 100644 --- a/kate/data/e.xml +++ b/kate/data/e.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="E Language" version="0.23" kateversion="2.5" section="Sources" extensions="*.e" mimetype="text/x-e-src"> +<language name="E Language" version="0.22" kateversion="2.3" section="Sources" extensions="*.e" mimetype="text/x-e-src"> <highlighting> <list name="Type"> <item> FALSE </item> diff --git a/kate/data/eiffel.xml b/kate/data/eiffel.xml index 761560cc4..9998fd824 100644 --- a/kate/data/eiffel.xml +++ b/kate/data/eiffel.xml @@ -10,7 +10,7 @@ Change log: Author of version 1.02: Sebastian Vuorinen --> -<language name="Eiffel" version="1.03" kateversion="2.5" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src" author="Sebastian Vuorinen" license=""> +<language name="Eiffel" version="1.02" kateversion="2.1" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src" author="Sebastian Vuorinen" license=""> <highlighting> <list name="keywords"> <item> agent </item> diff --git a/kate/data/email.xml b/kate/data/email.xml index 700e9e626..a3ef294f2 100644 --- a/kate/data/email.xml +++ b/kate/data/email.xml @@ -3,7 +3,7 @@ <!-- Copyright (C) 2005 Carl A Joslin <carl.joslin@joslin.dyndns.org> --> -<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"> +<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"> <highlighting> <contexts> <context name="headder" attribute="Normal Text" lineEndContext="#stay" casesensitive="0"> diff --git a/kate/data/euphoria.xml b/kate/data/euphoria.xml index 88f94e9c5..4c00a56b1 100644 --- a/kate/data/euphoria.xml +++ b/kate/data/euphoria.xml @@ -29,7 +29,7 @@ <!-- Store this in /usr/share/apps/katepart/syntax --> -<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"> +<language name="Euphoria" version="2.08-1" kateversion="2.4" 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> diff --git a/kate/data/ferite.xml b/kate/data/ferite.xml index 52685e844..7d1548275 100644 --- a/kate/data/ferite.xml +++ b/kate/data/ferite.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="ferite" version="1.05" kateversion="2.5" section="Scripts" extensions="*.fe;*.feh" mimetype="text/x-ferite-src"> +<language name="ferite" version="1.04" kateversion="2.4" section="Scripts" extensions="*.fe;*.feh" mimetype="text/x-ferite-src"> <highlighting> <list name="keywords"> <item> break </item> diff --git a/kate/data/fortran.xml b/kate/data/fortran.xml index 36a08ff4e..43817994b 100644 --- a/kate/data/fortran.xml +++ b/kate/data/fortran.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <!-- by Franchin Matteo, fnch@libero.it --> <highlighting> diff --git a/kate/data/freebasic.xml b/kate/data/freebasic.xml index f2e7cf8f1..d3bf41243 100644 --- a/kate/data/freebasic.xml +++ b/kate/data/freebasic.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="preproc"> diff --git a/kate/data/fsharp.xml b/kate/data/fsharp.xml index e3ae20bb1..e5180e3bc 100644 --- a/kate/data/fsharp.xml +++ b/kate/data/fsharp.xml @@ -9,7 +9,7 @@ <!ENTITY ESC "(\\[ntbr'"\\]|\\[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.2" kateversion="2.5" section="Sources" extensions="*.fs;*.fsi;*.fsx" mimetype="" priority="10" author="Bas Bossink (bas.bossink@gmail.com)" license="LGPL"> +<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"> <highlighting> <list name="keywords"> diff --git a/kate/data/fstab.xml b/kate/data/fstab.xml index b6cf5780c..c2e1b21c6 100644 --- a/kate/data/fstab.xml +++ b/kate/data/fstab.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="fstab" version="1.01" kateversion="2.5" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni (elcuco@kde.org)" license="Public Domain" > +<language name="fstab" version="1.00" kateversion="2.4" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni (elcuco@kde.org)" license="Public Domain" > <highlighting> <list name="valid_fs"> <item> ext2 </item> diff --git a/kate/data/gap.xml b/kate/data/gap.xml index 8a44e1f44..849977398 100644 --- a/kate/data/gap.xml +++ b/kate/data/gap.xml @@ -14,7 +14,7 @@ --> -<language name="GAP" section="Scientific" extensions="*.gd;*.gi;*.g" mimetype="text/gap" version="0.3" kateversion="2.5" author="Jose Joao Morais" license="GPL"> +<language name="GAP" section="Scientific" extensions="*.gd;*.gi;*.g" mimetype="text/gap" version="0.2-1" kateversion="2.4" author="Jose Joao Morais" license="GPL"> <highlighting> diff --git a/kate/data/gcc.xml b/kate/data/gcc.xml index e7b3e14bc..57b4f9f5b 100644 --- a/kate/data/gcc.xml +++ b/kate/data/gcc.xml @@ -13,8 +13,8 @@ --> <language name="GCCExtensions" - version="0.4" - kateversion="2.5" + version="0.3" + kateversion="2.4" 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" @@ -130,6 +130,7 @@ <item> __atomic_fetch_nand </item> <item> __atomic_test_and_set </item> <item> __atomic_clear </item> + <item> __atomic_signal_fence </item> <item> __atomic_thread_fence </item> <item> __atomic_always_lock_free </item> <item> __atomic_is_lock_free </item> diff --git a/kate/data/gdb.xml b/kate/data/gdb.xml index 21f6d2e7e..0cff053b3 100644 --- a/kate/data/gdb.xml +++ b/kate/data/gdb.xml @@ -8,7 +8,7 @@ v1.0: --> <language name="GDB Backtrace" section="Other" - version="1.01" kateversion="2.5" + version="1.0-1" kateversion="2.4" extensions="*.kcrash;*.crash;*.bt" mimetype="" author="Milian Wolff (mail@milianw.de)" license="LGPL"> diff --git a/kate/data/gdl.xml b/kate/data/gdl.xml index 9b16d7616..a41af14c4 100644 --- a/kate/data/gdl.xml +++ b/kate/data/gdl.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="GDL" version="1.02" kateversion="2.5" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype=""> +<language name="GDL" version="1.01" kateversion="2.0" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype=""> <highlighting> <list name="colors"> <item> white </item> diff --git a/kate/data/gettext.xml b/kate/data/gettext.xml index f2121fec3..95ef695d8 100644 --- a/kate/data/gettext.xml +++ b/kate/data/gettext.xml @@ -6,7 +6,7 @@ Copyright 2004, Dominik Haumann <dhdev@gmx.de> Copyright 2008, Chusslove Illich <caslav.ilic@gmx.net> - Last change: 2008-01-30 + Last change: 2008-12-03 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -23,41 +23,63 @@ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> -<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"> +<language name="GNU Gettext" version="2.00-1" kateversion="2.4" section="Markup" extensions="*.po;*.pot" mimetype="text/x-gettext-translation" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> <highlighting> <contexts> <context name = "Normal" attribute = "Normal Text" lineEndContext="#stay"> <RegExpr attribute = "Keyword" String = "^(msgid_plural|msgid|msgstr|msgctxt)" context="#stay"/> - <RegExpr attribute = "Automatic Comment" String = "#\..*$" context="#stay" firstNonSpace="true"/> - <RegExpr attribute = "Reference" String = "#:.*$" context="#stay" firstNonSpace="true"/> + <StringDetect attribute = "Automatic Comment" String = "#." context="AutomaticComment" firstNonSpace="true"/> + <StringDetect attribute = "Reference" String = "#:" context="References" firstNonSpace="true"/> <StringDetect attribute = "Flag" String = "#," context="Flags" firstNonSpace="true"/> <StringDetect attribute = "StringPrevious" String = "#|" context="Previous" firstNonSpace="true"/> - <RegExpr attribute = "Translator Comment" String = "#.*$" context="#stay" firstNonSpace="true"/> + <StringDetect attribute = "Translator Comment" String = "#" context="TranslatorComment" firstNonSpace="true"/> <RegExpr attribute = "Char" String="\\." context="#stay"/> <DetectChar attribute = "String" char=""" context="String"/> <RegExpr attribute = "Index" String="\[\d+\]" context="#stay"/> </context> - <!-- - Make fuzzy-flag stand out from the rest, being the most important. - --> + <context name = "TranslatorComment" attribute = "Translator Comment" lineEndContext="#pop"> + <StringDetect attribute = "StringDiffNewWrapComment" String="{+" context="StringDiffNewComment"/> + <StringDetect attribute = "StringDiffOldWrapComment" String="{-" context="StringDiffOldComment"/> + </context> + <context name = "AutomaticComment" attribute = "Automatic Comment" lineEndContext="#pop"> + <StringDetect attribute = "StringDiffNewWrapComment" String="{+" context="StringDiffNewComment"/> + <StringDetect attribute = "StringDiffOldWrapComment" String="{-" context="StringDiffOldComment"/> + </context> + <context name = "References" attribute = "Reference" lineEndContext="#pop"> + <StringDetect attribute = "StringDiffNewWrapComment" String="{+" context="StringDiffNewComment"/> + <StringDetect attribute = "StringDiffOldWrapComment" String="{-" context="StringDiffOldComment"/> + </context> <context name = "Flags" attribute = "Flag" lineEndContext="#pop"> - <StringDetect attribute = "FlagFuzzy" String="fuzzy" context="#stay"/> + <!-- Make fuzzy-flag stand out from the rest, being the most important. --> + <StringDetect attribute = "FlagFuzzy" String="fuzzy" context="#stay"/> + <StringDetect attribute = "StringDiffNewWrapComment" String="{+" context="StringDiffNewComment"/> + <StringDetect attribute = "StringDiffOldWrapComment" String="{-" context="StringDiffOldComment"/> + </context> + <context name = "StringDiffNewComment" attribute = "StringDiffNewComment" lineEndContext="#pop"> + <StringDetect attribute = "StringDiffNewWrapComment" String="+}" context="#pop"/> + </context> + <context name = "StringDiffOldComment" attribute = "StringDiffOldComment" lineEndContext="#pop"> + <StringDetect attribute = "StringDiffOldWrapComment" String="-}" context="#pop"/> </context> <!-- Tag-context should be carried over if split by string continuation, - to not loose markup highlighting when that happens. + to not lose markup highlighting when that happens. --> <context name = "String" attribute = "String" lineEndContext="#stay"> <RegExpr attribute = "Char" String="\\." context="#stay"/> <RegExpr attribute = "Entity" String="&([a-zA-Z0-9_.-]+|#[0-9]+);" context="#stay"/> + <StringDetect attribute = "StringDiffNewWrap" String="{+" context="StringDiffNew"/> + <StringDetect attribute = "StringDiffOldWrap" String="{-" context="StringDiffOld"/> <DetectChar attribute = "StringTag" char="<" context="StringTag"/> <DetectChar attribute = "String" char=""" context="StringWrap"/> </context> <context name = "StringTag" attribute = "StringTag" lineEndContext="#stay"> <RegExpr attribute = "Char" String="\\." context="#stay"/> + <StringDetect attribute = "StringDiffNewWrap" String="{+" context="StringDiffNew"/> + <StringDetect attribute = "StringDiffOldWrap" String="{-" context="StringDiffOld"/> <DetectChar attribute = "StringTag" char=">" context="#pop"/> <DetectChar attribute = "String" char=""" context="StringWrapSub"/> </context> @@ -65,6 +87,16 @@ <DetectChar attribute = "String" char=""" context="#pop"/> <RegExpr String="." lookAhead="true" context="#pop#pop"/> </context> + <context name = "StringDiffNew" attribute = "StringDiffNew" lineEndContext="#stay"> + <RegExpr attribute = "Char" String="\\." context="#stay"/> + <StringDetect attribute = "StringDiffNewWrap" String="+}" context="#pop"/> + <DetectChar attribute = "String" char=""" context="StringWrapSub"/> + </context> + <context name = "StringDiffOld" attribute = "StringDiffOld" lineEndContext="#stay"> + <RegExpr attribute = "Char" String="\\." context="#stay"/> + <StringDetect attribute = "StringDiffOldWrap" String="-}" context="#pop"/> + <DetectChar attribute = "String" char=""" context="StringWrapSub"/> + </context> <context name = "StringWrapSub" lineEndContext="#stay"> <DetectChar attribute = "String" char=""" context="#pop"/> <RegExpr String="." lookAhead="true" context="#pop#pop#pop"/> @@ -77,33 +109,34 @@ which are not Gettext standard, but some tools can produce them. --> <context name = "Previous" attribute = "Normal Text" lineEndContext="#pop"> - <RegExpr attribute = "KeywordPrevious" String = "(msgctxt|msgid_plural|msgid)" context="#stay"/> + <RegExpr attribute = "KeywordPrevious" String = "(msgctxt|msgid_plural|msgid|msgstr)" context="#stay"/> <RegExpr attribute = "CharPrevious" String="\\." context="#stay"/> <DetectChar attribute = "StringPrevious" char=""" context="StringPrevious"/> + <RegExpr attribute = "IndexPrevious" String="\[\d+\]" context="#stay"/> </context> <context name = "StringPrevious" attribute = "StringPrevious" lineEndContext="#stay"> <RegExpr attribute = "CharPrevious" String="\\." context="#stay"/> <RegExpr attribute = "EntityPrevious" String="&([a-zA-Z0-9_.-]+|#[0-9]+);" context="#stay"/> - <StringDetect attribute = "StringDiffNew" String="{+" context="StringDiffNew"/> - <StringDetect attribute = "StringDiffOld" String="{-" context="StringDiffOld"/> + <StringDetect attribute = "StringDiffNewWrapPrevious" String="{+" context="StringDiffNewPrevious"/> + <StringDetect attribute = "StringDiffOldWrapPrevious" String="{-" context="StringDiffOldPrevious"/> <DetectChar attribute = "StringTagPrevious" char="<" context="StringTagPrevious"/> <DetectChar attribute = "StringPrevious" char=""" context="StringWrapPrevious"/> </context> <context name = "StringTagPrevious" attribute = "StringTagPrevious" lineEndContext="#stay"> <RegExpr attribute = "Char" String="\\." context="#stay"/> - <StringDetect attribute = "StringDiffNew" String="{+" context="StringDiffNew"/> - <StringDetect attribute = "StringDiffOld" String="{-" context="StringDiffOld"/> + <StringDetect attribute = "StringDiffNewWrapPrevious" String="{+" context="StringDiffNewPrevious"/> + <StringDetect attribute = "StringDiffOldWrapPrevious" String="{-" context="StringDiffOldPrevious"/> <DetectChar attribute = "StringTagPrevious" char=">" context="#pop"/> <DetectChar attribute = "StringPrevious" char=""" context="StringWrapSubPrevious"/> </context> - <context name = "StringDiffNew" attribute = "StringDiffNew" lineEndContext="#stay"> - <RegExpr attribute = "Char" String="\\." context="#stay"/> - <StringDetect attribute = "StringDiffNew" String="+}" context="#pop"/> + <context name = "StringDiffNewPrevious" attribute = "StringDiffNewPrevious" lineEndContext="#stay"> + <RegExpr attribute = "CharPrevious" String="\\." context="#stay"/> + <StringDetect attribute = "StringDiffNewWrapPrevious" String="+}" context="#pop"/> <DetectChar attribute = "StringPrevious" char=""" context="StringWrapSubPrevious"/> </context> - <context name = "StringDiffOld" attribute = "StringDiffOld" lineEndContext="#stay"> - <RegExpr attribute = "Char" String="\\." context="#stay"/> - <StringDetect attribute = "StringDiffOld" String="-}" context="#pop"/> + <context name = "StringDiffOldPrevious" attribute = "StringDiffOldPrevious" lineEndContext="#stay"> + <RegExpr attribute = "CharPrevious" String="\\." context="#stay"/> + <StringDetect attribute = "StringDiffOldWrapPrevious" String="-}" context="#pop"/> <DetectChar attribute = "StringPrevious" char=""" context="StringWrapSubPrevious"/> </context> <context name = "StringWrapPrevious" lineEndContext="#stay"> @@ -119,25 +152,36 @@ </contexts> <itemDatas> - <itemData name = "Normal Text" defStyleNum ="dsNormal"/> - <itemData name = "Keyword" defStyleNum ="dsKeyword"/> + <itemData name = "Normal Text" defStyleNum ="dsNormal" color="#000000"/> + <itemData name = "Keyword" defStyleNum ="dsKeyword" color="#000000"/> <itemData name = "KeywordPrevious" defStyleNum ="dsKeyword" italic="true" color="#006060"/> <itemData name = "String" defStyleNum ="dsString" color="#ff0000"/> <itemData name = "StringPrevious" defStyleNum ="dsString" italic="true" color="#008080"/> - <itemData name = "Translator Comment" defStyleNum ="dsComment"/> + <itemData name = "Translator Comment" defStyleNum ="dsComment" color="#888888"/> <itemData name = "Automatic Comment" defStyleNum ="dsComment" color="#0000ff"/> <itemData name = "Reference" defStyleNum ="dsComment" color="#0000ff"/> <itemData name = "Flag" defStyleNum ="dsComment" color="#0000ff"/> <itemData name = "FlagFuzzy" defStyleNum ="dsComment" color="#800080" bold="true"/> - <itemData name = "Char" defStyleNum ="dsChar"/> + <itemData name = "Char" defStyleNum ="dsChar" color="#ff00ff"/> <itemData name = "CharPrevious" defStyleNum ="dsChar" italic="true" color="#00c040"/> <itemData name = "Entity" defStyleNum ="dsString" color="#ff0040" bold="true"/> <itemData name = "EntityPrevious" defStyleNum ="dsString" color="#40c080" bold="true" italic="true"/> <itemData name = "StringTag" defStyleNum ="dsString" color="#c00000" bold="true"/> - <itemData name = "StringTagPrevious" defStyleNum ="dsString" color="#006060" bold="true"/> - <itemData name = "Index" defStyleNum ="dsDecVal"/> - <itemData name = "StringDiffNew" defStyleNum ="dsString" italic="true" color="#0060f0"/> - <itemData name = "StringDiffOld" defStyleNum ="dsString" italic="true" color="#f00060"/> + <itemData name = "StringTagPrevious" defStyleNum ="dsString" color="#006060" bold="true" italic="true"/> + <itemData name = "Index" defStyleNum ="dsDecVal" color="#0000ff"/> + <itemData name = "IndexPrevious" defStyleNum ="dsDecVal" italic="true" color="#000000"/> + <itemData name = "StringDiffNewWrap" defStyleNum ="dsString" color="#0080f8"/> + <itemData name = "StringDiffOldWrap" defStyleNum ="dsString" color="#f00080"/> + <itemData name = "StringDiffNew" defStyleNum ="dsString" underline="true" color="#0080f8"/> + <itemData name = "StringDiffOld" defStyleNum ="dsString" underline="true" color="#f00080"/> + <itemData name = "StringDiffNewWrapComment" defStyleNum ="dsString" italic="true" color="#0080f8"/> + <itemData name = "StringDiffOldWrapComment" defStyleNum ="dsString" italic="true" color="#f00080"/> + <itemData name = "StringDiffNewComment" defStyleNum ="dsString" italic="true" color="#0080f8"/> + <itemData name = "StringDiffOldComment" defStyleNum ="dsString" italic="true" color="#f00080"/> + <itemData name = "StringDiffNewWrapPrevious" defStyleNum ="dsString" italic="true" color="#0080f8"/> + <itemData name = "StringDiffOldWrapPrevious" defStyleNum ="dsString" italic="true" color="#f00080"/> + <itemData name = "StringDiffNewPrevious" defStyleNum ="dsString" italic="true" color="#0080f8"/> + <itemData name = "StringDiffOldPrevious" defStyleNum ="dsString" italic="true" color="#f00080"/> </itemDatas> </highlighting> <general> diff --git a/kate/data/git-rebase.xml b/kate/data/git-rebase.xml index d0197fe9f..69f4b535c 100644 --- a/kate/data/git-rebase.xml +++ b/kate/data/git-rebase.xml @@ -1,6 +1,6 @@ <?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)"> +<language name="Git Rebase" version="1.00" kateversion="2.4" 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> diff --git a/kate/data/glosstex.xml b/kate/data/glosstex.xml index 117dd5390..b9a98866b 100644 --- a/kate/data/glosstex.xml +++ b/kate/data/glosstex.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <contexts> <context name="Comment" attribute="Comment" lineEndContext="#stay"> diff --git a/kate/data/glsl.xml b/kate/data/glsl.xml index a7922702f..53a872265 100644 --- a/kate/data/glsl.xml +++ b/kate/data/glsl.xml @@ -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.04" kateversion="2.5" 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.03" kateversion="2.4" author="Oliver Richers (o.richers@tu-bs.de)" license="LGPL"> <highlighting> <list name="keywords"> <item>break</item> diff --git a/kate/data/gnuassembler.xml b/kate/data/gnuassembler.xml index f324c5dcc..a03332984 100644 --- a/kate/data/gnuassembler.xml +++ b/kate/data/gnuassembler.xml @@ -43,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc., --> -<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"> +<language name="GNU Assembler" version="1.10-1" 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"> <highlighting> <list name="keywords"> <item>.abort</item> diff --git a/kate/data/gnuplot.xml b/kate/data/gnuplot.xml index 0e4a2f827..dee90da0c 100644 --- a/kate/data/gnuplot.xml +++ b/kate/data/gnuplot.xml @@ -1,6 +1,6 @@ <?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" > +<language name="Gnuplot" version="0.1" kateversion="2.1" section="Scripts" extensions="*.gnuplot;*.gp;*.gplt" casesensitive="1" > <highlighting> <list name="set_no_keywords"> <item> noarrow </item> diff --git a/kate/data/go.xml b/kate/data/go.xml index 5279b9a40..c864b92e3 100644 --- a/kate/data/go.xml +++ b/kate/data/go.xml @@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., --> -<language name="Go" version="1.05" kateversion="2.5" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL"> +<language name="Go" version="1.04-1" kateversion="2.4" 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 --> diff --git a/kate/data/grammar.xml b/kate/data/grammar.xml index 9d0a5bf0b..9816e4c17 100644 --- a/kate/data/grammar.xml +++ b/kate/data/grammar.xml @@ -3,7 +3,7 @@ <!-- Syntax definition for tdev-pg/tdev-pg-qt grammars. --> -<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=""> +<language name="KDev-PG[-Qt] Grammar" version="0.24-1" 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> diff --git a/kate/data/haml.xml b/kate/data/haml.xml index 163063f20..48bcb1319 100644 --- a/kate/data/haml.xml +++ b/kate/data/haml.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Haml" version="1.2" kateversion="2.5" section="Markup" +<language name="Haml" version="1.1" kateversion="2.3" section="Markup" extensions="*.haml" author="Cies Breijs (cies_at_kde_nl)" license="LGPL" mimetype="text/x-haml"> diff --git a/kate/data/haskell.xml b/kate/data/haskell.xml index d250154da..49583a116 100644 --- a/kate/data/haskell.xml +++ b/kate/data/haskell.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<language name="Haskell" version="2.2" kateversion="2.3" section="Sources" extensions="*.hs;*.chs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell"> <highlighting> <list name="keywords"> <item> case </item> @@ -376,7 +376,7 @@ <RegExpr attribute="Comment" context="comments" String="\{-[^#]?" /> <RegExpr attribute="Comment" context="comment" String="--[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:].*$" /> </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" /> @@ -437,7 +437,7 @@ <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> diff --git a/kate/data/html.xml b/kate/data/html.xml index 13ab31bd4..e2c46db44 100644 --- a/kate/data/html.xml +++ b/kate/data/html.xml @@ -4,7 +4,7 @@ <!ENTITY name "[A-Za-z_:][\w.:_-]*"> <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]> -<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"> +<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"> <highlighting> <contexts> @@ -39,24 +39,24 @@ <IncludeRules context="FindEntityRefs" /> </context> - <context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <context name="FindEntityRefs" attribute="Other Text" lineEndContext="#stay"> <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> <AnyChar attribute="Error" context="#stay" String="&<" /> </context> - <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <context name="FindPEntityRefs" attribute="Other Text" lineEndContext="#stay"> <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> <RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" /> <AnyChar attribute="Error" context="#stay" String="&%" /> </context> - <context name="FindAttributes" attribute="Normal Text" lineEndContext="#stay"> + <context name="FindAttributes" attribute="Other Text" lineEndContext="#stay"> <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="Normal Text" lineEndContext="#stay"> + <context name="FindDTDRules" attribute="Other Text" lineEndContext="#stay"> <RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" /> </context> @@ -69,23 +69,23 @@ <RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" /> </context> - <context name="CDATA" attribute="Normal Text" lineEndContext="#stay"> + <context name="CDATA" attribute="Other Text" lineEndContext="#stay"> <DetectSpaces/> <DetectIdentifier/> <StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" /> <StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" /> </context> - <context name="PI" attribute="Normal Text" lineEndContext="#stay"> + <context name="PI" attribute="Other Text" lineEndContext="#stay"> <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" /> </context> - <context name="Doctype" attribute="Normal Text" lineEndContext="#stay"> + <context name="Doctype" attribute="Other Text" lineEndContext="#stay"> <DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" /> <DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" /> </context> - <context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay"> + <context name="Doctype Internal Subset" attribute="Other Text" lineEndContext="#stay"> <DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" /> <IncludeRules context="FindDTDRules" /> <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> @@ -93,7 +93,7 @@ <IncludeRules context="FindPEntityRefs" /> </context> - <context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay"> + <context name="Doctype Markupdecl" attribute="Other Text" lineEndContext="#stay"> <DetectChar attribute="Doctype" context="#pop" char=">" /> <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" /> <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" /> @@ -109,48 +109,48 @@ <IncludeRules context="FindPEntityRefs" /> </context> - <context name="El Open" attribute="Normal Text" lineEndContext="#stay"> + <context name="El Open" attribute="Other Text" lineEndContext="#stay"> <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" /> <DetectChar attribute="Element" context="#pop" char=">" /> <IncludeRules context="FindAttributes" /> <RegExpr attribute="Error" context="#stay" String="\S" /> </context> - <context name="El Close" attribute="Normal Text" lineEndContext="#stay"> + <context name="El Close" attribute="Other Text" lineEndContext="#stay"> <DetectChar attribute="Element" context="#pop" char=">" /> <RegExpr attribute="Error" context="#stay" String="\S" /> </context> - <context name="El Close 2" attribute="Normal Text" lineEndContext="#stay"> + <context name="El Close 2" attribute="Other Text" lineEndContext="#stay"> <DetectChar attribute="Element" context="#pop#pop#pop" char=">" /> <RegExpr attribute="Error" context="#stay" String="\S" /> </context> - <context name="El Close 3" attribute="Normal Text" lineEndContext="#stay"> + <context name="El Close 3" attribute="Other Text" lineEndContext="#stay"> <DetectChar attribute="Element" context="#pop#pop#pop#pop" char=">" /> <RegExpr attribute="Error" context="#stay" String="\S" /> </context> - <context name="CSS" attribute="Normal Text" lineEndContext="#stay"> + <context name="CSS" attribute="Other Text" lineEndContext="#stay"> <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="style" /> <DetectChar attribute="Element" context="CSS content" char=">" /> <IncludeRules context="FindAttributes" /> <RegExpr attribute="Error" context="#stay" String="\S" /> </context> - <context name="CSS content" attribute="Normal Text" lineEndContext="#stay"> + <context name="CSS content" attribute="Other Text" lineEndContext="#stay"> <RegExpr attribute="Element" context="El Close 2" String="</style\b" insensitive="TRUE" endRegion="style" /> <IncludeRules context="##CSS" includeAttrib="true"/> </context> - <context name="JS" attribute="Normal Text" lineEndContext="#stay"> + <context name="JS" attribute="Other Text" lineEndContext="#stay"> <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="script" /> <DetectChar attribute="Element" context="JS content" char=">" /> <IncludeRules context="FindAttributes" /> <RegExpr attribute="Error" context="#stay" String="\S" /> </context> - <context name="JS content" attribute="Normal Text" lineEndContext="#stay"> + <context name="JS content" attribute="Other Text" lineEndContext="#stay"> <RegExpr attribute="Element" context="El Close 2" String="</script\b" insensitive="TRUE" endRegion="script" /> <RegExpr attribute="Comment" context="JS comment close" String="//(?=.*</script\b)" insensitive="TRUE" /> <IncludeRules context="##JavaScript" includeAttrib="true"/> @@ -161,13 +161,13 @@ <IncludeRules context="##Alerts" /> </context> - <context name="Value" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ"> + <context name="Value" attribute="Other Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ"> <DetectChar attribute="Value" context="Value DQ" char=""" /> <DetectChar attribute="Value" context="Value SQ" char="'" /> <DetectSpaces /> </context> - <context name="Value NQ" attribute="Normal Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop"> + <context name="Value NQ" attribute="Other Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop"> <IncludeRules context="FindEntityRefs" /> <RegExpr attribute="Value" context="#stay" String="/(?!>)" /> <RegExpr attribute="Value" context="#stay" String="[^/><"'\s]" /> @@ -186,16 +186,17 @@ </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" /> - <itemData name="Processing Instruction" defStyleNum="dsKeyword" /> - <itemData name="Doctype" defStyleNum="dsDataType" bold="1" /> - <itemData name="Element" defStyleNum="dsKeyword" /> - <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="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> diff --git a/kate/data/idconsole.xml b/kate/data/idconsole.xml index 85470e278..fa2a5cffd 100644 --- a/kate/data/idconsole.xml +++ b/kate/data/idconsole.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Quake Script" version="1.03" kateversion="2.5" section="Scripts" extensions="*.cfg" mimetype=""> +<language name="Quake Script" version="1.02" kateversion="2.1" section="Scripts" extensions="*.cfg" mimetype=""> <highlighting> <list name="Commands"> diff --git a/kate/data/idl.xml b/kate/data/idl.xml index c311ce293..d75f6713a 100644 --- a/kate/data/idl.xml +++ b/kate/data/idl.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="IDL" version="1.08" kateversion="2.5" section="Sources" extensions="*.idl" mimetype="text/x-idl-src"> +<language name="IDL" version="1.07" kateversion="2.4" section="Sources" extensions="*.idl" mimetype="text/x-idl-src"> <highlighting> <list name="keywords"> <item> any </item> diff --git a/kate/data/ilerpg.xml b/kate/data/ilerpg.xml index 6054b995c..92bc7e8a8 100644 --- a/kate/data/ilerpg.xml +++ b/kate/data/ilerpg.xml @@ -45,7 +45,7 @@ --> -<language name="ILERPG" version="1.06" kateversion="2.5" section="Sources" extensions="QRPG*.*;qrpg*.*" mimetype="text/x-ilerpg-src" casesensitive="0"> +<language name="ILERPG" version="1.05-1" kateversion="2.1" section="Sources" extensions="QRPG*.*;qrpg*.*" mimetype="text/x-ilerpg-src" casesensitive="0"> <highlighting> <list name="dkeywords"> <item> EXTPROC </item> diff --git a/kate/data/inform.xml b/kate/data/inform.xml index 41921e33f..814ba5a48 100644 --- a/kate/data/inform.xml +++ b/kate/data/inform.xml @@ -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.24" kateversion="2.5" section="Sources" extensions="*.inf;*.h" mimetype="text/x-inform-src" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL"> +<language name="Inform" version="1.23-1" kateversion="2.3" 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> diff --git a/kate/data/ini.xml b/kate/data/ini.xml index 2349cccfa..3cdcd1f20 100644 --- a/kate/data/ini.xml +++ b/kate/data/ini.xml @@ -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.2" kateversion="2.5" author="Jan Janssen (medhefgo@web.de)" license="LGPL"> +<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"> <highlighting> <list name="keywords"> diff --git a/kate/data/jam.xml b/kate/data/jam.xml index 43fd0b5ea..0b0ebf625 100644 --- a/kate/data/jam.xml +++ b/kate/data/jam.xml @@ -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.4" kateversion="2.5" section="Other" extensions="Jam*;*.jam" mimetype="text/x-jam;text/x-Jamfile;text/x-Jamrules;text/x-Jambase"> +<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"> <!-- Changelog 0.2 diff --git a/kate/data/java.xml b/kate/data/java.xml index 418a3fa42..1039ba779 100644 --- a/kate/data/java.xml +++ b/kate/data/java.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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)"> +<language name="Java" version="1.21" kateversion="2.4" 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> diff --git a/kate/data/javadoc.xml b/kate/data/javadoc.xml index ebdc75bce..2fa40ea91 100644 --- a/kate/data/javadoc.xml +++ b/kate/data/javadoc.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Javadoc" version="1.05" kateversion="2.5" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)"> +<language name="Javadoc" version="1.04" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)"> <highlighting> <contexts> <context name="Start" attribute="Normal Text" lineEndContext="#stay"> @@ -78,12 +78,12 @@ <RegExpr attribute="JavadocParam" context="#pop#pop" String="\S*(?=\*/)" /> <RegExpr attribute="JavadocParam" context="#pop" String="\S*(\s|$)" /> </context> - <context attribute="InlineTag" lineEndContext="#pop" name="InlineTagar"> + <context attribute="InlineTag" name="InlineTagar"> <DetectChar attribute="InlineTag" context="#pop" char="}" /> <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> <IncludeRules context="##HTML"/> </context> - <context attribute="InlineTag" lineEndContext="#pop" name="LiteralTagar"> + <context attribute="InlineTag" name="LiteralTagar"> <DetectChar attribute="InlineTag" context="#pop" char="}" /> <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> </context> diff --git a/kate/data/javascript-php.xml b/kate/data/javascript-php.xml index b1c58bdad..d61b07663 100644 --- a/kate/data/javascript-php.xml +++ b/kate/data/javascript-php.xml @@ -9,7 +9,7 @@ -<language name="JavaScript/PHP" hidden="true" version="1.23" kateversion="2.5" section="Other" extensions="" +<language name="JavaScript/PHP" hidden="true" version="1.22" kateversion="2.4" section="Other" extensions="" mimetype="" indenter="cstyle" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> <highlighting> @@ -109,17 +109,14 @@ <AnyChar attribute="Symbol" String=":!%&+,-/.*<=>?|~^;" /> </context> - <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="Object Member"> + <context attribute="Normal Text" lineEndContext="#pop" 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="/" /> + <IncludeRules context="NoRegExp" /> </context> <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="NoRegExp"> diff --git a/kate/data/javascript.xml b/kate/data/javascript.xml index 71d18fb94..260aa721a 100644 --- a/kate/data/javascript.xml +++ b/kate/data/javascript.xml @@ -3,7 +3,7 @@ <!-- 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.23" kateversion="2.5" section="Scripts" extensions="*.js;*.kwinscript" +<language name="JavaScript" version="1.22" kateversion="2.4" 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> @@ -102,16 +102,13 @@ <AnyChar attribute="Symbol" String=":!%&+,-/.*<=>?|~^;" /> </context> - <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="Object Member"> + <context attribute="Normal Text" lineEndContext="#pop" 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="/" /> + <IncludeRules context="NoRegExp" /> </context> <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="NoRegExp"> diff --git a/kate/data/json.xml b/kate/data/json.xml index 03239298c..ca03e11c4 100644 --- a/kate/data/json.xml +++ b/kate/data/json.xml @@ -12,7 +12,7 @@ ** http://tools.ietf.org/html/rfc4627 *************************************************************************** --> -<language name="JSON" section="Markup" version="1.3" kateversion="2.5" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL"> +<language name="JSON" section="Markup" version="1.3" kateversion="2.3" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL"> <highlighting> <list name="Constants"> <item>null</item> @@ -82,17 +82,17 @@ <itemDatas> <itemData name="Style_Normal" defStyleNum="dsNormal" /> - <itemData name="Style_Seperator_Pair" defStyleNum="dsNormal" bold="1" color="#EF0000" /> - <itemData name="Style_Seperator_Array" defStyleNum="dsNormal" bold="1" color="#0000AF" /> + <itemData name="Style_Seperator_Pair" defStyleNum="dsFunction" bold="true" /> + <itemData name="Style_Seperator_Array" defStyleNum="dsOthers" bold="true" /> <itemData name="Style_Decimal" defStyleNum="dsDecVal" /> <itemData name="Style_Float" defStyleNum="dsFloat" /> <itemData name="Style_String_Key" defStyleNum="dsDataType" /> - <itemData name="Style_String_Value" defStyleNum="dsString" color="#FF00FF" /> - <itemData name="Style_String_Key_Char" defStyleNum="dsDataType" underline="1" /> - <itemData name="Style_String_Value_Char" defStyleNum="dsString" color="#FF00FF" underline="1" /> + <itemData name="Style_String_Value" defStyleNum="dsString" /> + <itemData name="Style_String_Key_Char" defStyleNum="dsChar" /> + <itemData name="Style_String_Value_Char" defStyleNum="dsChar" /> - <itemData name="Style_Keyword" defStyleNum="dsDecVal" bold="1" /> + <itemData name="Style_Keyword" defStyleNum="dsKeyword" /> <itemData name="Style_Error" defStyleNum="dsError" /> </itemDatas> diff --git a/kate/data/jsp.xml b/kate/data/jsp.xml index 555291e59..da448227e 100644 --- a/kate/data/jsp.xml +++ b/kate/data/jsp.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="java-1.4.2-classes"> diff --git a/kate/data/julia.xml b/kate/data/julia.xml index 29f0a7635..685a7a44b 100644 --- a/kate/data/julia.xml +++ b/kate/data/julia.xml @@ -29,7 +29,7 @@ <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Julia" section="Sources" version="0.3" kateversion="2.5" extensions="*.jl" casesensitive="1" priority="5" license="MIT"> +<language name="Julia" section="Sources" version="0.2-1" kateversion="2.2" extensions="*.jl" casesensitive="1" priority="5" license="MIT"> <highlighting> <list name="block_begin"> @@ -148,11 +148,11 @@ <DetectSpaces /> <!-- Blocks --> - <keyword context="#stay" attribute="Keyword" String="block_begin" + <keyword context="#stay" attribute="Keyword" String="block_begin" beginRegion="block" /> - <keyword context="#stay" attribute="Keyword" String="block_eb" + <keyword context="#stay" attribute="Keyword" String="block_eb" endRegion="block" beginRegion="block" /> - <keyword context="#stay" attribute="Keyword" String="block_end" + <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" /> @@ -272,7 +272,6 @@ endRegion="block" /> <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> diff --git a/kate/data/kbasic.xml b/kate/data/kbasic.xml index e14124871..638cbe828 100644 --- a/kate/data/kbasic.xml +++ b/kate/data/kbasic.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="KBasic" version="1.03" kateversion="2.5" section="Sources" extensions="*.kbasic" mimetype="text/x-kbasic-src"> +<language name="KBasic" version="1.02" kateversion="2.1" section="Sources" extensions="*.kbasic" mimetype="text/x-kbasic-src"> <highlighting> <list name="keywords"> <item> For </item> diff --git a/kate/data/latex.xml b/kate/data/latex.xml index acefa464a..d5fd8c929 100644 --- a/kate/data/latex.xml +++ b/kate/data/latex.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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" > +<language name="LaTeX" version="1.55" section="Markup" kateversion="2.3" 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 --> @@ -213,7 +213,7 @@ <DetectChar char="×" attribute="Bullet" context="#stay"/> <RegExpr String="\s*\]\s*" attribute="Normal Text" context="#pop"/> </context> - + <context name="FancyLabelRoundBrackets" attribute="Normal Text" lineEndContext="#stay"> <StringDetect String="\(" attribute="Math" context="MathMode" /> <DetectChar char="\" attribute="Keyword" context="ContrSeq"/> diff --git a/kate/data/ldif.xml b/kate/data/ldif.xml index 26ed9d9a9..d0da293a1 100644 --- a/kate/data/ldif.xml +++ b/kate/data/ldif.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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=""> +<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=""> <highlighting> <list name="attributetypes"> <item>IPPhone</item> diff --git a/kate/data/less.xml b/kate/data/less.xml index afb1c98ef..1908fc55e 100644 --- a/kate/data/less.xml +++ b/kate/data/less.xml @@ -1,674 +1,818 @@ <?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=""" /> - <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=""" /> - <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="\\["']" /> - <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>
\ No newline at end of file +<language name="LESSCSS" version="0.01" kateversion="2.4" section="Markup" extensions="*.less" mimetype="text/css" author="from CCS: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"> + <LineContinue/> + <DetectSpaces/> + <IncludeRules context="FindRuleSets" /> + </context> + + <!-- to be included --> + <!-- finds rules and detects nesting --> + <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="#stay" String="\@[^:]*" /> + <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"> + <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=""" /> + <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="*" beginRegion="comment" /> + <Detect2Chars attribute="Comment" context="lessComment" char="/" char1="/" beginRegion="lessComment" /> + </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="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" /> + </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="#pop" name="lessComment"> + </context> + + <context attribute="Comment" lineEndContext="#stay" name="Comment"> + <DetectSpaces/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet"> + <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" /> + <IncludeRules context="FindRuleSets" /> + <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"> + <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" /> + <!-- 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="Variable" context="#stay" String="\@[^;]*" /> + <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=""" /> + <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="\\["']" /> + <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"/> + <itemData name="Variable" defStyleNum="dsNormal" spellChecking="false"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="-%"/> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + </general> + </language>
\ No newline at end of file diff --git a/kate/data/lex.xml b/kate/data/lex.xml index c7be41633..ae1e6f4eb 100644 --- a/kate/data/lex.xml +++ b/kate/data/lex.xml @@ -18,7 +18,7 @@ ======================================================================== --> -<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"> +<language name="Lex/Flex" version="1.01-1" kateversion="2.4" section="Sources" extensions="*.l;*.lex;*.flex" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL"> <highlighting> <contexts> diff --git a/kate/data/literate-curry.xml b/kate/data/literate-curry.xml index 2ea3ecd69..d6c170c18 100644 --- a/kate/data/literate-curry.xml +++ b/kate/data/literate-curry.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Literate Curry" version="0.3" kateversion="2.5" +<language name="Literate Curry" version="0.2" kateversion="2.3" section="Sources" extensions="*.lcurry" mimetype="text/x-curry" author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL" indenter="haskell"> diff --git a/kate/data/literate-haskell.xml b/kate/data/literate-haskell.xml index d16c736d5..6433229fd 100644 --- a/kate/data/literate-haskell.xml +++ b/kate/data/literate-haskell.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<language name="Literate Haskell" version="2.0.2-1" kateversion="2.3" 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"> diff --git a/kate/data/logtalk.xml b/kate/data/logtalk.xml index 3351e8e8c..17e130c8f 100644 --- a/kate/data/logtalk.xml +++ b/kate/data/logtalk.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> diff --git a/kate/data/lpc.xml b/kate/data/lpc.xml index 43a00371d..2b13ef7ff 100644 --- a/kate/data/lpc.xml +++ b/kate/data/lpc.xml @@ -16,7 +16,7 @@ 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" > +<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" > <highlighting> diff --git a/kate/data/lua.xml b/kate/data/lua.xml index 5bb8ed6f4..97e6b21bd 100644 --- a/kate/data/lua.xml +++ b/kate/data/lua.xml @@ -35,7 +35,7 @@ - improved highlighting --> -<language name="Lua" version="1.07" indenter="lua" kateversion="2.5" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> +<language name="Lua" version="1.06" indenter="lua" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> <highlighting> <list name="keywords"> <item> and </item> diff --git a/kate/data/m3u.xml b/kate/data/m3u.xml index 20bc46008..cc1099650 100644 --- a/kate/data/m3u.xml +++ b/kate/data/m3u.xml @@ -3,6 +3,9 @@ <!-- Changelog: +v1.2: (kde4) +- mimetype set to audio/x-mpegurl (fdo standard) + v1.1: - mimetype korrigiert zu "audio/mpegurl" - Syntax verbessert @@ -11,7 +14,7 @@ v1.0: -first Release --> -<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/mpegurl" version="1.11" author="Jan Janssen (medhefgo@web.de)" license="LGPL" > +<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/x-mpegurl" version="1.10-1" kateversion="2.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL" > <highlighting> <contexts> diff --git a/kate/data/m4.xml b/kate/data/m4.xml index 76fa302b0..a433905ca 100644 --- a/kate/data/m4.xml +++ b/kate/data/m4.xml @@ -38,7 +38,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> -<language name="GNU M4" version="1.2" section="Sources" kateversion="2.5" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License"> +<language name="GNU M4" version="1.1-1" section="Sources" kateversion="2.5" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License"> <highlighting> <list name="optbuiltins"> <item> __gnu__ </item> diff --git a/kate/data/mab.xml b/kate/data/mab.xml index cbc656021..338d24070 100644 --- a/kate/data/mab.xml +++ b/kate/data/mab.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="MAB-DB" version="1.04" kateversion="2.5" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0"> +<language name="MAB-DB" version="1.03" kateversion="2.4" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0"> <highlighting> <contexts> <context attribute="Normal Text" name="Section" lineEndContext="#stay" > diff --git a/kate/data/makefile.xml b/kate/data/makefile.xml index cf4a12ded..573359208 100644 --- a/kate/data/makefile.xml +++ b/kate/data/makefile.xml @@ -6,8 +6,8 @@ <!-- 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" section="Other" - version="2.01" kateversion="2.5" - extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*" + version="2.0" kateversion="2.4" + extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*;*.mk" mimetype="text/x-makefile" author="Per Wigren (wigren@home.se)" license=""> <highlighting> @@ -64,10 +64,11 @@ <contexts> <context name="normal" attribute="Normal" lineEndContext="#stay"> <DetectSpaces/> + <RegExpr attribute="Comment" context="#stay" String="#.*$"/> <keyword attribute="Keyword" context="#stay" String="keywords"/> <RegExpr attribute="Variable" context="assign" String="[^\s:+?]*\s*(?=:=|=|\+=|\?=)"/> - <RegExpr attribute="Section" context="prereq" String="^[.].*:"/> - <RegExpr attribute="Target" context="prereq" String="^.*:"/> + <RegExpr attribute="Section" context="prereq" String="^\.[^.][^:]*:"/> + <RegExpr attribute="Target" context="prereq" String="^[^:]*:"/> <DetectIdentifier/> <DetectChar attribute="String" context="string"" char="""/> <DetectChar attribute="String" context="string'" char="'"/> @@ -75,12 +76,12 @@ <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="prereq" attribute="Prereq" lineEndContext="rule"> <DetectSpaces/> <DetectIdentifier/> + <LineContinue attribute="Operator" context="#stay"/> <DetectChar attribute="Operator" context="dollar" char="$"/> <Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/> <Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/> diff --git a/kate/data/mako.xml b/kate/data/mako.xml index 52be6db10..cfac8394e 100644 --- a/kate/data/mako.xml +++ b/kate/data/mako.xml @@ -4,7 +4,7 @@ <!ENTITY name "[A-Za-z_:][\w.:_-]*"> <!ENTITY entref "&(#[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"> +<language name="Mako" version="1.0" kateversion="2.4" section="Markup" extensions="*.mako;*.mak" author="Massimiliano Torromeo (massimiliano.torromeo@gmail.com)" license="LGPL"> <highlighting> <list name="flow"> diff --git a/kate/data/mason.xml b/kate/data/mason.xml index 8ba23f640..cf7b30952 100644 --- a/kate/data/mason.xml +++ b/kate/data/mason.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language version="1.07" kateversion="2.5" name="Mason" section="Scripts" extensions="*.html;" mimetype=""> +<language version="1.06" kateversion="2.1" name="Mason" section="Scripts" extensions="*.html;" mimetype=""> <highlighting> <list name="keywords"> <item> sub </item> @@ -120,7 +120,7 @@ <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="!&()+,-<=>?[]^{|}~"/> + <AnyChar attribute="Symbol" context="#stay" String="!&()+,-<=>?[]^{|}~"/> <DetectChar attribute="Comment" context="Commentar 1" char="#" /> </context> @@ -131,11 +131,11 @@ <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="</%text>" insensitive="FALSE" /> </context> - + <context attribute="Data Type" lineEndContext="#pop" name="Variable"> <Detect2Chars attribute="normal" context="#stay" char="-" char1=">" /> <DetectChar attribute="String" context="String" char=""" /> diff --git a/kate/data/mathematica.xml b/kate/data/mathematica.xml new file mode 100644 index 000000000..880ac54b8 --- /dev/null +++ b/kate/data/mathematica.xml @@ -0,0 +1,3229 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Mathematica" version="8.0.4" kateversion="2.4" section="Scientific" extensions="*.nb" indenter="cstyle" + author="Sven Brauch (svenbrauch@gmail.com)" license="LGPL" priority="3"> + <highlighting> + <list name="functions"> + <item>A</item> + <item>AbelianGroup</item> + <item>All</item> + <item>ArcSinh</item> + <item>Abort</item> + <item>AllowGroupClose</item> + <item>ArcTan</item> + <item>AbortKernels</item> + <item>AllowReverseGroupClose</item> + <item>ArcTanh</item> + <item>AbortProtect</item> + <item>AlphaChannel</item> + <item>Arg</item> + <item>Abs</item> + <item>AlternatingGroup</item> + <item>ArgMax</item> + <item>AbsoluteCurrentValue</item> + <item>AlternativeHypothesis</item> + <item>ArgMin</item> + <item>AbsoluteDashing</item> + <item>Alternatives</item> + <item>ArithmeticGeometricMean</item> + <item>AbsoluteFileName</item> + <item>AnchoredSearch</item> + <item>Array</item> + <item>AbsoluteOptions</item> + <item>And</item> + <item>ArrayComponents</item> + <item>AbsolutePointSize</item> + <item>AndersonDarlingTest</item> + <item>ArrayDepth</item> + <item>AbsoluteThickness</item> + <item>AngerJ</item> + <item>ArrayFlatten</item> + <item>AbsoluteTime</item> + <item>AngleBracket</item> + <item>ArrayPad</item> + <item>AbsoluteTiming</item> + <item>Animate</item> + <item>ArrayPlot</item> + <item>AccountingForm</item> + <item>AnimationDirection</item> + <item>ArrayQ</item> + <item>Accumulate</item> + <item>AnimationDisplayTime</item> + <item>ArrayRules</item> + <item>Accuracy</item> + <item>AnimationRate</item> + <item>Arrow</item> + <item>AccuracyGoal</item> + <item>AnimationRepetitions</item> + <item>Arrowheads</item> + <item>ActionMenu</item> + <item>AnimationRunning</item> + <item>AspectRatio</item> + <item>ActiveStyle</item> + <item>Animator</item> + <item>Assert</item> + <item>AcyclicGraphQ</item> + <item>Annotation</item> + <item>Assuming</item> + <item>AddTo</item> + <item>Annuity</item> + <item>Assumptions</item> + <item>AdjacencyGraph</item> + <item>AnnuityDue</item> + <item>AstronomicalData</item> + <item>AdjacencyMatrix</item> + <item>Antialiasing</item> + <item>Asynchronous</item> + <item>AdjustmentBox</item> + <item>Apart</item> + <item>AtomQ</item> + <item>AffineTransform</item> + <item>ApartSquareFree</item> + <item>Attributes</item> + <item>AiryAi</item> + <item>Appearance</item> + <item>AugmentedSymmetricPolynomial</item> + <item>AiryAiPrime</item> + <item>AppearanceElements</item> + <item>AutoAction</item> + <item>AiryAiZero</item> + <item>AppellF1</item> + <item>AutoIndent</item> + <item>AiryBi</item> + <item>Append</item> + <item>AutoItalicWords</item> + <item>AiryBiPrime</item> + <item>AppendTo</item> + <item>Automatic</item> + <item>AiryBiZero</item> + <item>Apply</item> + <item>AutoMultiplicationSymbol</item> + <item>AlgebraicIntegerQ</item> + <item>ArcCos</item> + <item>AutorunSequencing</item> + <item>AlgebraicNumber</item> + <item>ArcCosh</item> + <item>AutoScroll</item> + <item>AlgebraicNumberDenominator</item> + <item>ArcCot</item> + <item>AutoSpacing</item> + <item>AlgebraicNumberNorm</item> + <item>ArcCoth</item> + <item>Axes</item> + <item>AlgebraicNumberPolynomial</item> + <item>ArcCsc</item> + <item>AxesEdge</item> + <item>AlgebraicNumberTrace</item> + <item>ArcCsch</item> + <item>AxesLabel</item> + <item>Algebraics</item> + <item>ArcSec</item> + <item>AxesOrigin</item> + <item>AlgebraicUnitQ</item> + <item>ArcSech</item> + <item>AxesStyle</item> + <item>Alignment</item> + <item>ArcSin</item> + <item>Axis</item> + <item>AlignmentPoint</item> + <item>ArcSinDistribution</item> + <item>B</item> + <item>BabyMonsterGroupB</item> + <item>BetaRegularized</item> + <item>BooleanGraph</item> + <item>Back</item> + <item>BetweennessCentrality</item> + <item>BooleanMaxterms</item> + <item>Background</item> + <item>BezierCurve</item> + <item>BooleanMinimize</item> + <item>Backslash</item> + <item>BezierFunction</item> + <item>BooleanMinterms</item> + <item>Backward</item> + <item>BilateralFilter</item> + <item>Booleans</item> + <item>Band</item> + <item>Binarize</item> + <item>BooleanTable</item> + <item>BarabasiAlbertGraphDistribution</item> + <item>BinaryFormat</item> + <item>BooleanVariables</item> + <item>BarChart</item> + <item>BinaryImageQ</item> + <item>BorderDimensions</item> + <item>BarChart3D</item> + <item>BinaryRead</item> + <item>BorelTannerDistribution</item> + <item>BarnesG</item> + <item>BinaryReadList</item> + <item>Bottom</item> + <item>BarOrigin</item> + <item>BinaryWrite</item> + <item>BottomHatTransform</item> + <item>BarSpacing</item> + <item>BinCounts</item> + <item>BoundaryStyle</item> + <item>BaseForm</item> + <item>BinLists</item> + <item>BoxData</item> + <item>Baseline</item> + <item>Binomial</item> + <item>Boxed</item> + <item>BaselinePosition</item> + <item>BinomialDistribution</item> + <item>BoxMatrix</item> + <item>BaseStyle</item> + <item>BinormalDistribution</item> + <item>BoxRatios</item> + <item>BatesDistribution</item> + <item>BiorthogonalSplineWavelet</item> + <item>BoxStyle</item> + <item>BattleLemarieWavelet</item> + <item>BipartiteGraphQ</item> + <item>BoxWhiskerChart</item> + <item>Because</item> + <item>BirnbaumSaundersDistribution</item> + <item>BracketingBar</item> + <item>BeckmannDistribution</item> + <item>BitAnd</item> + <item>BrayCurtisDistance</item> + <item>Beep</item> + <item>BitClear</item> + <item>BreadthFirstScan</item> + <item>Begin</item> + <item>BitGet</item> + <item>Break</item> + <item>BeginDialogPacket</item> + <item>BitLength</item> + <item>Brown</item> + <item>BeginPackage</item> + <item>BitNot</item> + <item>BrownForsytheTest</item> + <item>BellB</item> + <item>BitOr</item> + <item>BSplineBasis</item> + <item>BellY</item> + <item>BitSet</item> + <item>BSplineCurve</item> + <item>BenfordDistribution</item> + <item>BitShiftLeft</item> + <item>BSplineFunction</item> + <item>BeniniDistribution</item> + <item>BitShiftRight</item> + <item>BSplineSurface</item> + <item>BenktanderGibratDistribution</item> + <item>BitXor</item> + <item>BubbleChart</item> + <item>BenktanderWeibullDistribution</item> + <item>Black</item> + <item>BubbleChart3D</item> + <item>BernoulliB</item> + <item>Blank</item> + <item>BubbleScale</item> + <item>BernoulliDistribution</item> + <item>BlankNullSequence</item> + <item>BubbleSizes</item> + <item>BernoulliGraphDistribution</item> + <item>BlankSequence</item> + <item>ButterflyGraph</item> + <item>BernsteinBasis</item> + <item>Blend</item> + <item>Button</item> + <item>BesselI</item> + <item>Block</item> + <item>ButtonBar</item> + <item>BesselJ</item> + <item>BlockRandom</item> + <item>ButtonBox</item> + <item>BesselJZero</item> + <item>Blue</item> + <item>ButtonData</item> + <item>BesselK</item> + <item>Blur</item> + <item>ButtonFrame</item> + <item>BesselY</item> + <item>BodePlot</item> + <item>ButtonFunction</item> + <item>BesselYZero</item> + <item>Bold</item> + <item>ButtonMinHeight</item> + <item>Beta</item> + <item>Bookmarks</item> + <item>ButtonNotebook</item> + <item>BetaBinomialDistribution</item> + <item>Boole</item> + <item>ButtonSource</item> + <item>BetaDistribution</item> + <item>BooleanConvert</item> + <item>Byte</item> + <item>BetaNegativeBinomialDistribution</item> + <item>BooleanCountingFunction</item> + <item>ByteCount</item> + <item>BetaPrimeDistribution</item> + <item>BooleanFunction</item> + <item>ByteOrdering</item> + <item>C</item> + <item>C</item> + <item>CityData</item> + <item>ContinuousAction</item> + <item>CallPacket</item> + <item>Clear</item> + <item>ContinuousTimeModelQ</item> + <item>CanberraDistance</item> + <item>ClearAll</item> + <item>ContinuousWaveletData</item> + <item>Cancel</item> + <item>ClearAttributes</item> + <item>ContinuousWaveletTransform</item> + <item>CancelButton</item> + <item>ClearSystemCache</item> + <item>ContourDetect</item> + <item>CandlestickChart</item> + <item>ClebschGordan</item> + <item>ContourLabels</item> + <item>Cap</item> + <item>ClickPane</item> + <item>ContourPlot</item> + <item>CapForm</item> + <item>Clip</item> + <item>ContourPlot3D</item> + <item>CapitalDifferentialD</item> + <item>ClippingStyle</item> + <item>Contours</item> + <item>CarmichaelLambda</item> + <item>Clock</item> + <item>ContourShading</item> + <item>Cases</item> + <item>Close</item> + <item>ContourStyle</item> + <item>Cashflow</item> + <item>CloseKernels</item> + <item>ContraharmonicMean</item> + <item>Casoratian</item> + <item>ClosenessCentrality</item> + <item>Control</item> + <item>Catalan</item> + <item>Closing</item> + <item>ControlActive</item> + <item>CatalanNumber</item> + <item>ClusteringComponents</item> + <item>ControllabilityGramian</item> + <item>Catch</item> + <item>CMYKColor</item> + <item>ControllabilityMatrix</item> + <item>CauchyDistribution</item> + <item>Coefficient</item> + <item>ControllableDecomposition</item> + <item>CayleyGraph</item> + <item>CoefficientArrays</item> + <item>ControllableModelQ</item> + <item>CDF</item> + <item>CoefficientList</item> + <item>ControllerInformation</item> + <item>CDFWavelet</item> + <item>CoefficientRules</item> + <item>ControllerLinking</item> + <item>Ceiling</item> + <item>CoifletWavelet</item> + <item>ControllerManipulate</item> + <item>Cell</item> + <item>Collect</item> + <item>ControllerMethod</item> + <item>CellAutoOverwrite</item> + <item>Colon</item> + <item>ControllerPath</item> + <item>CellBaseline</item> + <item>ColorCombine</item> + <item>ControllerState</item> + <item>CellChangeTimes</item> + <item>ColorConvert</item> + <item>ControlPlacement</item> + <item>CellContext</item> + <item>ColorData</item> + <item>ControlsRendering</item> + <item>CellDingbat</item> + <item>ColorDataFunction</item> + <item>ControlType</item> + <item>CellDynamicExpression</item> + <item>ColorFunction</item> + <item>Convergents</item> + <item>CellEditDuplicate</item> + <item>ColorFunctionScaling</item> + <item>ConversionRules</item> + <item>CellEpilog</item> + <item>Colorize</item> + <item>Convolve</item> + <item>CellEvaluationDuplicate</item> + <item>ColorNegate</item> + <item>ConwayGroupCo1</item> + <item>CellEvaluationFunction</item> + <item>ColorQuantize</item> + <item>ConwayGroupCo2</item> + <item>CellEventActions</item> + <item>ColorRules</item> + <item>ConwayGroupCo3</item> + <item>CellFrame</item> + <item>ColorSeparate</item> + <item>CoordinatesToolOptions</item> + <item>CellFrameMargins</item> + <item>ColorSetter</item> + <item>CoprimeQ</item> + <item>CellGroup</item> + <item>ColorSlider</item> + <item>Coproduct</item> + <item>CellGroupData</item> + <item>ColorSpace</item> + <item>CopulaDistribution</item> + <item>CellGrouping</item> + <item>Column</item> + <item>Copyable</item> + <item>CellLabel</item> + <item>ColumnAlignments</item> + <item>CopyDirectory</item> + <item>CellLabelAutoDelete</item> + <item>ColumnLines</item> + <item>CopyFile</item> + <item>CellMargins</item> + <item>ColumnsEqual</item> + <item>CopyToClipboard</item> + <item>CellOpen</item> + <item>ColumnSpacings</item> + <item>CornerFilter</item> + <item>CellPrint</item> + <item>ColumnWidths</item> + <item>CornerNeighbors</item> + <item>CellProlog</item> + <item>Commonest</item> + <item>Correlation</item> + <item>CellTags</item> + <item>CommonestFilter</item> + <item>CorrelationDistance</item> + <item>CellularAutomaton</item> + <item>CompilationOptions</item> + <item>Cos</item> + <item>CensoredDistribution</item> + <item>CompilationTarget</item> + <item>Cosh</item> + <item>Censoring</item> + <item>Compile</item> + <item>CoshIntegral</item> + <item>Center</item> + <item>Compiled</item> + <item>CosineDistance</item> + <item>CenterDot</item> + <item>CompiledFunction</item> + <item>CosIntegral</item> + <item>CentralMoment</item> + <item>Complement</item> + <item>Cot</item> + <item>CentralMomentGeneratingFunction</item> + <item>CompleteGraph</item> + <item>Coth</item> + <item>CForm</item> + <item>CompleteGraphQ</item> + <item>Count</item> + <item>ChampernowneNumber</item> + <item>CompleteKaryTree</item> + <item>CountRoots</item> + <item>ChanVeseBinarize</item> + <item>Complex</item> + <item>CountryData</item> + <item>Character</item> + <item>Complexes</item> + <item>Covariance</item> + <item>CharacterEncoding</item> + <item>ComplexExpand</item> + <item>CovarianceEstimatorFunction</item> + <item>CharacteristicFunction</item> + <item>ComplexInfinity</item> + <item>CramerVonMisesTest</item> + <item>CharacteristicPolynomial</item> + <item>ComplexityFunction</item> + <item>CreateArchive</item> + <item>CharacterRange</item> + <item>ComponentMeasurements</item> + <item>CreateDialog</item> + <item>Characters</item> + <item>ComposeList</item> + <item>CreateDirectory</item> + <item>ChartBaseStyle</item> + <item>ComposeSeries</item> + <item>CreateDocument</item> + <item>ChartElementFunction</item> + <item>Composition</item> + <item>CreateIntermediateDirectories</item> + <item>ChartElements</item> + <item>CompoundExpression</item> + <item>CreatePalette</item> + <item>ChartLabels</item> + <item>Compress</item> + <item>CreateScheduledTask</item> + <item>ChartLayout</item> + <item>Condition</item> + <item>CreateWindow</item> + <item>ChartLegends</item> + <item>ConditionalExpression</item> + <item>CriticalSection</item> + <item>ChartStyle</item> + <item>Conditioned</item> + <item>Cross</item> + <item>ChebyshevT</item> + <item>Cone</item> + <item>CrossingDetect</item> + <item>ChebyshevU</item> + <item>ConfidenceLevel</item> + <item>CrossMatrix</item> + <item>Check</item> + <item>Congruent</item> + <item>Csc</item> + <item>CheckAbort</item> + <item>Conjugate</item> + <item>Csch</item> + <item>Checkbox</item> + <item>ConjugateTranspose</item> + <item>Cubics</item> + <item>CheckboxBar</item> + <item>Conjunction</item> + <item>Cuboid</item> + <item>ChemicalData</item> + <item>ConnectedComponents</item> + <item>Cumulant</item> + <item>ChessboardDistance</item> + <item>ConnectedGraphQ</item> + <item>CumulantGeneratingFunction</item> + <item>ChiDistribution</item> + <item>ConoverTest</item> + <item>Cup</item> + <item>ChineseRemainder</item> + <item>Constant</item> + <item>CupCap</item> + <item>ChiSquareDistribution</item> + <item>ConstantArray</item> + <item>CurrentImage</item> + <item>ChoiceButtons</item> + <item>Constants</item> + <item>CurrentValue</item> + <item>ChoiceDialog</item> + <item>ContentPadding</item> + <item>CurvatureFlowFilter</item> + <item>CholeskyDecomposition</item> + <item>ContentSelectable</item> + <item>CurveClosed</item> + <item>Chop</item> + <item>ContentSize</item> + <item>Cyan</item> + <item>Circle</item> + <item>Context</item> + <item>CycleGraph</item> + <item>CircleDot</item> + <item>Contexts</item> + <item>Cycles</item> + <item>CircleMinus</item> + <item>ContextToFileName</item> + <item>CyclicGroup</item> + <item>CirclePlus</item> + <item>Continue</item> + <item>Cyclotomic</item> + <item>CircleTimes</item> + <item>ContinuedFraction</item> + <item>Cylinder</item> + <item>CirculantGraph</item> + <item>ContinuedFractionK</item> + <item>CylindricalDecomposition</item> + <item>D</item> + <item>D</item> + <item>DepthFirstScan</item> + <item>DiskMatrix</item> + <item>DagumDistribution</item> + <item>Derivative</item> + <item>Dispatch</item> + <item>DamerauLevenshteinDistance</item> + <item>DerivativeFilter</item> + <item>DispersionEstimatorFunction</item> + <item>Darker</item> + <item>DesignMatrix</item> + <item>DisplayAllSteps</item> + <item>Dashed</item> + <item>Det</item> + <item>DisplayEndPacket</item> + <item>Dashing</item> + <item>DGaussianWavelet</item> + <item>DisplayForm</item> + <item>DataDistribution</item> + <item>Diagonal</item> + <item>DisplayFunction</item> + <item>DataRange</item> + <item>DiagonalMatrix</item> + <item>DisplayPacket</item> + <item>DataReversed</item> + <item>Dialog</item> + <item>DistanceFunction</item> + <item>DateDifference</item> + <item>DialogInput</item> + <item>DistanceTransform</item> + <item>DateFunction</item> + <item>DialogNotebook</item> + <item>Distribute</item> + <item>DateList</item> + <item>DialogProlog</item> + <item>Distributed</item> + <item>DateListLogPlot</item> + <item>DialogReturn</item> + <item>DistributedContexts</item> + <item>DateListPlot</item> + <item>DialogSymbols</item> + <item>DistributeDefinitions</item> + <item>DatePattern</item> + <item>Diamond</item> + <item>DistributionChart</item> + <item>DatePlus</item> + <item>DiamondMatrix</item> + <item>DistributionFitTest</item> + <item>DateString</item> + <item>DiceDissimilarity</item> + <item>DistributionParameterAssumptions</item> + <item>DateTicksFormat</item> + <item>DictionaryLookup</item> + <item>DistributionParameterQ</item> + <item>DaubechiesWavelet</item> + <item>DifferenceDelta</item> + <item>Divide</item> + <item>DavisDistribution</item> + <item>DifferenceRoot</item> + <item>DivideBy</item> + <item>DawsonF</item> + <item>DifferenceRootReduce</item> + <item>Dividers</item> + <item>DeBruijnGraph</item> + <item>Differences</item> + <item>Divisible</item> + <item>DeclarePackage</item> + <item>DifferentialD</item> + <item>Divisors</item> + <item>Decompose</item> + <item>DifferentialRoot</item> + <item>DivisorSigma</item> + <item>Decrement</item> + <item>DifferentialRootReduce</item> + <item>DivisorSum</item> + <item>DedekindEta</item> + <item>DigitBlock</item> + <item>DMSList</item> + <item>Default</item> + <item>DigitCharacter</item> + <item>DMSString</item> + <item>DefaultAxesStyle</item> + <item>DigitCount</item> + <item>Do</item> + <item>DefaultBaseStyle</item> + <item>DigitQ</item> + <item>DockedCells</item> + <item>DefaultBoxStyle</item> + <item>DihedralGroup</item> + <item>DocumentNotebook</item> + <item>DefaultButton</item> + <item>Dilation</item> + <item>Dot</item> + <item>DefaultDuplicateCellStyle</item> + <item>Dimensions</item> + <item>DotDashed</item> + <item>DefaultDuration</item> + <item>DiracComb</item> + <item>DotEqual</item> + <item>DefaultElement</item> + <item>DiracDelta</item> + <item>Dotted</item> + <item>DefaultFaceGridsStyle</item> + <item>DirectedEdge</item> + <item>DoubleBracketingBar</item> + <item>DefaultFieldHintStyle</item> + <item>DirectedEdges</item> + <item>DoubleDownArrow</item> + <item>DefaultFrameStyle</item> + <item>DirectedGraph</item> + <item>DoubleLeftArrow</item> + <item>DefaultFrameTicksStyle</item> + <item>DirectedGraphQ</item> + <item>DoubleLeftRightArrow</item> + <item>DefaultGridLinesStyle</item> + <item>DirectedInfinity</item> + <item>DoubleLongLeftArrow</item> + <item>DefaultLabelStyle</item> + <item>Direction</item> + <item>DoubleLongLeftRightArrow</item> + <item>DefaultMenuStyle</item> + <item>Directive</item> + <item>DoubleLongRightArrow</item> + <item>DefaultNewCellStyle</item> + <item>Directory</item> + <item>DoubleRightArrow</item> + <item>DefaultOptions</item> + <item>DirectoryName</item> + <item>DoubleUpArrow</item> + <item>DefaultTicksStyle</item> + <item>DirectoryQ</item> + <item>DoubleUpDownArrow</item> + <item>Defer</item> + <item>DirectoryStack</item> + <item>DoubleVerticalBar</item> + <item>Definition</item> + <item>DirichletCharacter</item> + <item>DownArrow</item> + <item>Degree</item> + <item>DirichletConvolve</item> + <item>DownArrowBar</item> + <item>DegreeCentrality</item> + <item>DirichletDistribution</item> + <item>DownArrowUpArrow</item> + <item>DegreeGraphDistribution</item> + <item>DirichletL</item> + <item>DownLeftRightVector</item> + <item>Deinitialization</item> + <item>DirichletTransform</item> + <item>DownLeftTeeVector</item> + <item>Del</item> + <item>DiscreteConvolve</item> + <item>DownLeftVector</item> + <item>Deletable</item> + <item>DiscreteDelta</item> + <item>DownLeftVectorBar</item> + <item>Delete</item> + <item>DiscreteIndicator</item> + <item>DownRightTeeVector</item> + <item>DeleteBorderComponents</item> + <item>DiscreteLQEstimatorGains</item> + <item>DownRightVector</item> + <item>DeleteCases</item> + <item>DiscreteLQRegulatorGains</item> + <item>DownRightVectorBar</item> + <item>DeleteContents</item> + <item>DiscreteLyapunovSolve</item> + <item>DownTeeArrow</item> + <item>DeleteDirectory</item> + <item>DiscretePlot</item> + <item>DownValues</item> + <item>DeleteDuplicates</item> + <item>DiscretePlot3D</item> + <item>DragAndDrop</item> + <item>DeleteFile</item> + <item>DiscreteRatio</item> + <item>Drop</item> + <item>DeleteSmallComponents</item> + <item>DiscreteRiccatiSolve</item> + <item>DSolve</item> + <item>Delimiter</item> + <item>DiscreteShift</item> + <item>Dt</item> + <item>DelimiterFlashTime</item> + <item>DiscreteTimeModelQ</item> + <item>DualSystemsModel</item> + <item>Denominator</item> + <item>DiscreteUniformDistribution</item> + <item>DumpSave</item> + <item>DensityHistogram</item> + <item>DiscreteWaveletData</item> + <item>Dynamic</item> + <item>DensityPlot</item> + <item>DiscreteWaveletPacketTransform</item> + <item>DynamicEvaluationTimeout</item> + <item>DependentVariables</item> + <item>DiscreteWaveletTransform</item> + <item>DynamicModule</item> + <item>Deploy</item> + <item>Discriminant</item> + <item>DynamicModuleValues</item> + <item>Deployed</item> + <item>Disjunction</item> + <item>DynamicSetting</item> + <item>Depth</item> + <item>Disk</item> + <item>DynamicWrapper</item> + <item>E</item> + <item>E</item> + <item>End</item> + <item>ExactNumberQ</item> + <item>EdgeAdd</item> + <item>EndDialogPacket</item> + <item>ExampleData</item> + <item>EdgeCount</item> + <item>EndOfFile</item> + <item>Except</item> + <item>EdgeCoverQ</item> + <item>EndOfLine</item> + <item>ExcludedForms</item> + <item>EdgeDelete</item> + <item>EndOfString</item> + <item>ExcludePods</item> + <item>EdgeDetect</item> + <item>EndPackage</item> + <item>Exclusions</item> + <item>EdgeForm</item> + <item>EngineeringForm</item> + <item>ExclusionsStyle</item> + <item>EdgeIndex</item> + <item>EnterExpressionPacket</item> + <item>Exists</item> + <item>EdgeLabeling</item> + <item>EnterTextPacket</item> + <item>Exit</item> + <item>EdgeLabels</item> + <item>Entropy</item> + <item>Exp</item> + <item>EdgeList</item> + <item>EntropyFilter</item> + <item>Expand</item> + <item>EdgeQ</item> + <item>Environment</item> + <item>ExpandAll</item> + <item>EdgeRenderingFunction</item> + <item>Epilog</item> + <item>ExpandDenominator</item> + <item>EdgeRules</item> + <item>Equal</item> + <item>ExpandFileName</item> + <item>EdgeShapeFunction</item> + <item>EqualTilde</item> + <item>ExpandNumerator</item> + <item>EdgeStyle</item> + <item>Equilibrium</item> + <item>Expectation</item> + <item>EdgeWeight</item> + <item>Equivalent</item> + <item>ExpGammaDistribution</item> + <item>Editable</item> + <item>Erf</item> + <item>ExpIntegralE</item> + <item>EditDistance</item> + <item>Erfc</item> + <item>ExpIntegralEi</item> + <item>EffectiveInterest</item> + <item>Erfi</item> + <item>Exponent</item> + <item>Eigensystem</item> + <item>ErlangDistribution</item> + <item>ExponentFunction</item> + <item>Eigenvalues</item> + <item>Erosion</item> + <item>ExponentialDistribution</item> + <item>EigenvectorCentrality</item> + <item>ErrorBox</item> + <item>ExponentialFamily</item> + <item>Eigenvectors</item> + <item>EstimatedDistribution</item> + <item>ExponentialGeneratingFunction</item> + <item>Element</item> + <item>EstimatorGains</item> + <item>ExponentialMovingAverage</item> + <item>ElementData</item> + <item>EstimatorRegulator</item> + <item>ExponentialPowerDistribution</item> + <item>Eliminate</item> + <item>EuclideanDistance</item> + <item>ExponentStep</item> + <item>EllipticE</item> + <item>EulerE</item> + <item>Export</item> + <item>EllipticExp</item> + <item>EulerGamma</item> + <item>ExportString</item> + <item>EllipticExpPrime</item> + <item>EulerianGraphQ</item> + <item>Expression</item> + <item>EllipticF</item> + <item>EulerPhi</item> + <item>ExpressionCell</item> + <item>EllipticK</item> + <item>Evaluatable</item> + <item>ExpToTrig</item> + <item>EllipticLog</item> + <item>Evaluate</item> + <item>ExtendedGCD</item> + <item>EllipticNomeQ</item> + <item>EvaluatePacket</item> + <item>Extension</item> + <item>EllipticPi</item> + <item>EvaluationElements</item> + <item>ExtentElementFunction</item> + <item>EllipticTheta</item> + <item>EvaluationMonitor</item> + <item>ExtentMarkers</item> + <item>EllipticThetaPrime</item> + <item>EvaluationNotebook</item> + <item>ExtentSize</item> + <item>EmitSound</item> + <item>EvaluationObject</item> + <item>Extract</item> + <item>EmpiricalDistribution</item> + <item>Evaluator</item> + <item>ExtractArchive</item> + <item>EmptyGraphQ</item> + <item>EvenQ</item> + <item>ExtremeValueDistribution</item> + <item>Enabled</item> + <item>EventHandler</item> + <item>Encode</item> + <item>EventLabels</item> + <item>F</item> + <item>FaceForm</item> + <item>FindFit</item> + <item>FormBox</item> + <item>FaceGrids</item> + <item>FindGeneratingFunction</item> + <item>FortranForm</item> + <item>FaceGridsStyle</item> + <item>FindGeoLocation</item> + <item>Forward</item> + <item>Factor</item> + <item>FindGeometricTransform</item> + <item>ForwardBackward</item> + <item>Factorial</item> + <item>FindGraphIsomorphism</item> + <item>Fourier</item> + <item>Factorial2</item> + <item>FindHamiltonianCycle</item> + <item>FourierCoefficient</item> + <item>FactorialMoment</item> + <item>FindIndependentEdgeSet</item> + <item>FourierCosCoefficient</item> + <item>FactorialMomentGeneratingFunction</item> + <item>FindIndependentVertexSet</item> + <item>FourierCosSeries</item> + <item>FactorialPower</item> + <item>FindInstance</item> + <item>FourierCosTransform</item> + <item>FactorInteger</item> + <item>FindIntegerNullVector</item> + <item>FourierDCT</item> + <item>FactorList</item> + <item>FindLibrary</item> + <item>FourierDST</item> + <item>FactorSquareFree</item> + <item>FindLinearRecurrence</item> + <item>FourierParameters</item> + <item>FactorSquareFreeList</item> + <item>FindList</item> + <item>FourierSequenceTransform</item> + <item>FactorTerms</item> + <item>FindMaximum</item> + <item>FourierSeries</item> + <item>FactorTermsList</item> + <item>FindMaxValue</item> + <item>FourierSinCoefficient</item> + <item>False</item> + <item>FindMinimum</item> + <item>FourierSinSeries</item> + <item>FeedbackType</item> + <item>FindMinValue</item> + <item>FourierSinTransform</item> + <item>Fibonacci</item> + <item>FindPermutation</item> + <item>FourierTransform</item> + <item>FieldHint</item> + <item>FindRoot</item> + <item>FourierTrigSeries</item> + <item>FieldHintStyle</item> + <item>FindSequenceFunction</item> + <item>FractionalPart</item> + <item>FieldMasked</item> + <item>FindShortestPath</item> + <item>FractionBox</item> + <item>FieldSize</item> + <item>FindShortestTour</item> + <item>Frame</item> + <item>FileBaseName</item> + <item>FindThreshold</item> + <item>FrameBox</item> + <item>FileByteCount</item> + <item>FindVertexCover</item> + <item>Framed</item> + <item>FileDate</item> + <item>FinishDynamic</item> + <item>FrameLabel</item> + <item>FileExistsQ</item> + <item>FiniteAbelianGroupCount</item> + <item>FrameMargins</item> + <item>FileExtension</item> + <item>FiniteGroupCount</item> + <item>FrameStyle</item> + <item>FileFormat</item> + <item>FiniteGroupData</item> + <item>FrameTicks</item> + <item>FileHash</item> + <item>First</item> + <item>FrameTicksStyle</item> + <item>FileNameDepth</item> + <item>FischerGroupFi22</item> + <item>FRatioDistribution</item> + <item>FileNameDrop</item> + <item>FischerGroupFi23</item> + <item>FrechetDistribution</item> + <item>FileNameJoin</item> + <item>FischerGroupFi24Prime</item> + <item>FreeQ</item> + <item>FileNames</item> + <item>FisherHypergeometricDistribution</item> + <item>FresnelC</item> + <item>FileNameSetter</item> + <item>FisherRatioTest</item> + <item>FresnelS</item> + <item>FileNameSplit</item> + <item>FisherZDistribution</item> + <item>FrobeniusNumber</item> + <item>FileNameTake</item> + <item>Fit</item> + <item>FrobeniusSolve</item> + <item>FilePrint</item> + <item>FittedModel</item> + <item>FromCharacterCode</item> + <item>FileType</item> + <item>FixedPoint</item> + <item>FromCoefficientRules</item> + <item>FilledCurve</item> + <item>FixedPointList</item> + <item>FromContinuedFraction</item> + <item>Filling</item> + <item>Flat</item> + <item>FromDigits</item> + <item>FillingStyle</item> + <item>Flatten</item> + <item>FromDMS</item> + <item>FillingTransform</item> + <item>FlattenAt</item> + <item>Front</item> + <item>FilterRules</item> + <item>FlipView</item> + <item>FrontEndDynamicExpression</item> + <item>FinancialBond</item> + <item>Floor</item> + <item>FrontEndEventActions</item> + <item>FinancialData</item> + <item>Fold</item> + <item>FrontEndExecute</item> + <item>FinancialDerivative</item> + <item>FoldList</item> + <item>FrontEndToken</item> + <item>FinancialIndicator</item> + <item>FontColor</item> + <item>FrontEndTokenExecute</item> + <item>Find</item> + <item>FontFamily</item> + <item>Full</item> + <item>FindArgMax</item> + <item>FontSize</item> + <item>FullDefinition</item> + <item>FindArgMin</item> + <item>FontSlant</item> + <item>FullForm</item> + <item>FindClique</item> + <item>FontSubstitutions</item> + <item>FullGraphics</item> + <item>FindClusters</item> + <item>FontTracking</item> + <item>FullSimplify</item> + <item>FindCurvePath</item> + <item>FontVariations</item> + <item>Function</item> + <item>FindDistributionParameters</item> + <item>FontWeight</item> + <item>FunctionExpand</item> + <item>FindDivisions</item> + <item>For</item> + <item>FunctionInterpolation</item> + <item>FindEdgeCover</item> + <item>ForAll</item> + <item>FunctionSpace</item> + <item>FindEulerianCycle</item> + <item>Format</item> + <item>FindFile</item> + <item>FormatType</item> + <item>G</item> + <item>GaborWavelet</item> + <item>GeoPositionXYZ</item> + <item>GraphStyle</item> + <item>GainMargins</item> + <item>GeoProjectionData</item> + <item>GraphUnion</item> + <item>GainPhaseMargins</item> + <item>Get</item> + <item>Gray</item> + <item>Gamma</item> + <item>Glaisher</item> + <item>GrayLevel</item> + <item>GammaDistribution</item> + <item>Glow</item> + <item>Greater</item> + <item>GammaRegularized</item> + <item>GoldenRatio</item> + <item>GreaterEqual</item> + <item>GapPenalty</item> + <item>GompertzMakehamDistribution</item> + <item>GreaterEqualLess</item> + <item>Gather</item> + <item>Goto</item> + <item>GreaterFullEqual</item> + <item>GatherBy</item> + <item>Gradient</item> + <item>GreaterGreater</item> + <item>GaussianFilter</item> + <item>GradientFilter</item> + <item>GreaterLess</item> + <item>GaussianIntegers</item> + <item>Graph</item> + <item>GreaterSlantEqual</item> + <item>GaussianMatrix</item> + <item>GraphCenter</item> + <item>GreaterTilde</item> + <item>GCD</item> + <item>GraphComplement</item> + <item>Green</item> + <item>GegenbauerC</item> + <item>GraphData</item> + <item>Grid</item> + <item>General</item> + <item>GraphDiameter</item> + <item>GridBox</item> + <item>GeneralizedLinearModelFit</item> + <item>GraphDifference</item> + <item>GridDefaultElement</item> + <item>GenerateConditions</item> + <item>GraphDisjointUnion</item> + <item>GridGraph</item> + <item>GeneratedCell</item> + <item>GraphDistance</item> + <item>GridLines</item> + <item>GeneratedParameters</item> + <item>GraphDistanceMatrix</item> + <item>GridLinesStyle</item> + <item>GeneratingFunction</item> + <item>GraphHighlight</item> + <item>GroebnerBasis</item> + <item>GenericCylindricalDecomposition</item> + <item>GraphHighlightStyle</item> + <item>GroupActionBase</item> + <item>GenomeData</item> + <item>Graphics</item> + <item>GroupCentralizer</item> + <item>GenomeLookup</item> + <item>Graphics3D</item> + <item>GroupElementPosition</item> + <item>GeodesicDilation</item> + <item>GraphicsColumn</item> + <item>GroupElementQ</item> + <item>GeodesicErosion</item> + <item>GraphicsComplex</item> + <item>GroupElements</item> + <item>GeoDestination</item> + <item>GraphicsGrid</item> + <item>GroupGenerators</item> + <item>GeodesyData</item> + <item>GraphicsGroup</item> + <item>GroupMultiplicationTable</item> + <item>GeoDirection</item> + <item>GraphicsRow</item> + <item>GroupOrbits</item> + <item>GeoDistance</item> + <item>GraphIntersection</item> + <item>GroupOrder</item> + <item>GeoGridPosition</item> + <item>GraphLayout</item> + <item>GroupPageBreakWithin</item> + <item>GeometricDistribution</item> + <item>GraphPeriphery</item> + <item>GroupSetwiseStabilizer</item> + <item>GeometricMean</item> + <item>GraphPlot</item> + <item>GroupStabilizer</item> + <item>GeometricMeanFilter</item> + <item>GraphPlot3D</item> + <item>GroupStabilizerChain</item> + <item>GeometricTransformation</item> + <item>GraphPower</item> + <item>Gudermannian</item> + <item>GeoPosition</item> + <item>GraphQ</item> + <item>GumbelDistribution</item> + <item>GeoPositionENU</item> + <item>GraphRadius</item> + <item>H</item> + <item>HaarWavelet</item> + <item>HermitianMatrixQ</item> + <item>Hue</item> + <item>HalfNormalDistribution</item> + <item>HessenbergDecomposition</item> + <item>HumpDownHump</item> + <item>HamiltonianGraphQ</item> + <item>HexadecimalCharacter</item> + <item>HumpEqual</item> + <item>HammingDistance</item> + <item>HighlightGraph</item> + <item>HurwitzLerchPhi</item> + <item>HankelH1</item> + <item>HigmanSimsGroupHS</item> + <item>HurwitzZeta</item> + <item>HankelH2</item> + <item>HilbertMatrix</item> + <item>HyperbolicDistribution</item> + <item>HankelMatrix</item> + <item>Histogram</item> + <item>HypercubeGraph</item> + <item>HaradaNortonGroupHN</item> + <item>Histogram3D</item> + <item>Hyperfactorial</item> + <item>HararyGraph</item> + <item>HistogramDistribution</item> + <item>Hypergeometric0F1</item> + <item>HarmonicMean</item> + <item>HistogramList</item> + <item>Hypergeometric0F1Regularized</item> + <item>HarmonicMeanFilter</item> + <item>HitMissTransform</item> + <item>Hypergeometric1F1</item> + <item>HarmonicNumber</item> + <item>HITSCentrality</item> + <item>Hypergeometric1F1Regularized</item> + <item>Hash</item> + <item>Hold</item> + <item>Hypergeometric2F1</item> + <item>Haversine</item> + <item>HoldAll</item> + <item>Hypergeometric2F1Regularized</item> + <item>HazardFunction</item> + <item>HoldAllComplete</item> + <item>HypergeometricDistribution</item> + <item>Head</item> + <item>HoldComplete</item> + <item>HypergeometricPFQ</item> + <item>Heads</item> + <item>HoldFirst</item> + <item>HypergeometricPFQRegularized</item> + <item>HeavisideLambda</item> + <item>HoldForm</item> + <item>HypergeometricU</item> + <item>HeavisidePi</item> + <item>HoldPattern</item> + <item>Hyperlink</item> + <item>HeavisideTheta</item> + <item>HoldRest</item> + <item>Hyphenation</item> + <item>HeldGroupHe</item> + <item>HornerForm</item> + <item>HypothesisTestData</item> + <item>HermiteDecomposition</item> + <item>HotellingTSquareDistribution</item> + <item>HermiteH</item> + <item>HoytDistribution</item> + <item>I</item> + <item>I</item> + <item>ImportString</item> + <item>Interrupt</item> + <item>Identity</item> + <item>In</item> + <item>Intersection</item> + <item>IdentityMatrix</item> + <item>IncidenceGraph</item> + <item>Interval</item> + <item>If</item> + <item>IncidenceMatrix</item> + <item>IntervalIntersection</item> + <item>IgnoreCase</item> + <item>IncludeConstantBasis</item> + <item>IntervalMemberQ</item> + <item>Im</item> + <item>IncludePods</item> + <item>IntervalUnion</item> + <item>Image</item> + <item>Increment</item> + <item>Inverse</item> + <item>ImageAdd</item> + <item>IndependentEdgeSetQ</item> + <item>InverseBetaRegularized</item> + <item>ImageAdjust</item> + <item>IndependentVertexSetQ</item> + <item>InverseCDF</item> + <item>ImageAlign</item> + <item>Indeterminate</item> + <item>InverseChiSquareDistribution</item> + <item>ImageApply</item> + <item>IndexGraph</item> + <item>InverseContinuousWaveletTransform</item> + <item>ImageAspectRatio</item> + <item>InexactNumberQ</item> + <item>InverseDistanceTransform</item> + <item>ImageAssemble</item> + <item>Infinity</item> + <item>InverseEllipticNomeQ</item> + <item>ImageCapture</item> + <item>Infix</item> + <item>InverseErf</item> + <item>ImageChannels</item> + <item>Information</item> + <item>InverseErfc</item> + <item>ImageClip</item> + <item>Inherited</item> + <item>InverseFourier</item> + <item>ImageColorSpace</item> + <item>Initialization</item> + <item>InverseFourierCosTransform</item> + <item>ImageCompose</item> + <item>InitializationCell</item> + <item>InverseFourierSequenceTransform</item> + <item>ImageConvolve</item> + <item>Inner</item> + <item>InverseFourierSinTransform</item> + <item>ImageCooccurrence</item> + <item>Inpaint</item> + <item>InverseFourierTransform</item> + <item>ImageCorrelate</item> + <item>Input</item> + <item>InverseFunction</item> + <item>ImageCorrespondingPoints</item> + <item>InputAliases</item> + <item>InverseFunctions</item> + <item>ImageCrop</item> + <item>InputAssumptions</item> + <item>InverseGammaDistribution</item> + <item>ImageData</item> + <item>InputAutoReplacements</item> + <item>InverseGammaRegularized</item> + <item>ImageDeconvolve</item> + <item>InputField</item> + <item>InverseGaussianDistribution</item> + <item>ImageDifference</item> + <item>InputForm</item> + <item>InverseGudermannian</item> + <item>ImageDimensions</item> + <item>InputNamePacket</item> + <item>InverseHaversine</item> + <item>ImageEffect</item> + <item>InputNotebook</item> + <item>InverseJacobiCD</item> + <item>ImageFilter</item> + <item>InputPacket</item> + <item>InverseJacobiCN</item> + <item>ImageForestingComponents</item> + <item>InputStream</item> + <item>InverseJacobiCS</item> + <item>ImageForwardTransformation</item> + <item>InputString</item> + <item>InverseJacobiDC</item> + <item>ImageHistogram</item> + <item>InputStringPacket</item> + <item>InverseJacobiDN</item> + <item>ImageKeypoints</item> + <item>Insert</item> + <item>InverseJacobiDS</item> + <item>ImageLevels</item> + <item>InsertResults</item> + <item>InverseJacobiNC</item> + <item>ImageLines</item> + <item>Inset</item> + <item>InverseJacobiND</item> + <item>ImageMargins</item> + <item>Install</item> + <item>InverseJacobiNS</item> + <item>ImageMultiply</item> + <item>InstallService</item> + <item>InverseJacobiSC</item> + <item>ImagePad</item> + <item>InString</item> + <item>InverseJacobiSD</item> + <item>ImagePadding</item> + <item>Integer</item> + <item>InverseJacobiSN</item> + <item>ImagePartition</item> + <item>IntegerDigits</item> + <item>InverseLaplaceTransform</item> + <item>ImagePerspectiveTransformation</item> + <item>IntegerExponent</item> + <item>InversePermutation</item> + <item>ImageQ</item> + <item>IntegerLength</item> + <item>InverseRadon</item> + <item>ImageReflect</item> + <item>IntegerPart</item> + <item>InverseSeries</item> + <item>ImageResize</item> + <item>IntegerPartitions</item> + <item>InverseSurvivalFunction</item> + <item>ImageResolution</item> + <item>IntegerQ</item> + <item>InverseWaveletTransform</item> + <item>ImageRotate</item> + <item>Integers</item> + <item>InverseWeierstrassP</item> + <item>ImageScaled</item> + <item>IntegerString</item> + <item>InverseZTransform</item> + <item>ImageSize</item> + <item>Integrate</item> + <item>Invisible</item> + <item>ImageSizeAction</item> + <item>InteractiveTradingChart</item> + <item>IrreduciblePolynomialQ</item> + <item>ImageSizeMultipliers</item> + <item>Interleaving</item> + <item>IsolatingInterval</item> + <item>ImageSubtract</item> + <item>InternallyBalancedDecomposition</item> + <item>IsomorphicGraphQ</item> + <item>ImageTake</item> + <item>InterpolatingFunction</item> + <item>IsotopeData</item> + <item>ImageTransformation</item> + <item>InterpolatingPolynomial</item> + <item>Italic</item> + <item>ImageTrim</item> + <item>Interpolation</item> + <item>Item</item> + <item>ImageType</item> + <item>InterpolationOrder</item> + <item>ItemAspectRatio</item> + <item>ImageValue</item> + <item>Interpretation</item> + <item>ItemSize</item> + <item>Implies</item> + <item>InterpretationBox</item> + <item>ItemStyle</item> + <item>Import</item> + <item>InterquartileRange</item> + <item>J</item> + <item>JaccardDissimilarity</item> + <item>JacobiNS</item> + <item>JankoGroupJ4</item> + <item>JacobiAmplitude</item> + <item>JacobiP</item> + <item>JarqueBeraALMTest</item> + <item>JacobiCD</item> + <item>JacobiSC</item> + <item>JohnsonDistribution</item> + <item>JacobiCN</item> + <item>JacobiSD</item> + <item>Join</item> + <item>JacobiCS</item> + <item>JacobiSN</item> + <item>Joined</item> + <item>JacobiDC</item> + <item>JacobiSymbol</item> + <item>JoinedCurve</item> + <item>JacobiDN</item> + <item>JacobiZeta</item> + <item>JoinForm</item> + <item>JacobiDS</item> + <item>JankoGroupJ1</item> + <item>JordanDecomposition</item> + <item>JacobiNC</item> + <item>JankoGroupJ2</item> + <item>JordanModelDecomposition</item> + <item>JacobiND</item> + <item>JankoGroupJ3</item> + <item>K</item> + <item>KagiChart</item> + <item>KelvinKer</item> + <item>KolmogorovSmirnovTest</item> + <item>KalmanEstimator</item> + <item>KernelMixtureDistribution</item> + <item>KroneckerDelta</item> + <item>KarhunenLoeveDecomposition</item> + <item>KernelObject</item> + <item>KroneckerProduct</item> + <item>KaryTree</item> + <item>Kernels</item> + <item>KroneckerSymbol</item> + <item>KatzCentrality</item> + <item>Khinchin</item> + <item>KuiperTest</item> + <item>KCoreComponents</item> + <item>KirchhoffGraph</item> + <item>KumaraswamyDistribution</item> + <item>KDistribution</item> + <item>KirchhoffMatrix</item> + <item>Kurtosis</item> + <item>KelvinBei</item> + <item>KleinInvariantJ</item> + <item>KuwaharaFilter</item> + <item>KelvinBer</item> + <item>KnightTourGraph</item> + <item>KelvinKei</item> + <item>KnotData</item> + <item>L</item> + <item>Label</item> + <item>LibraryFunction</item> + <item>ListDensityPlot</item> + <item>Labeled</item> + <item>LibraryFunctionError</item> + <item>ListInterpolation</item> + <item>LabelingFunction</item> + <item>LibraryFunctionInformation</item> + <item>ListLineIntegralConvolutionPlot</item> + <item>LabelStyle</item> + <item>LibraryFunctionLoad</item> + <item>ListLinePlot</item> + <item>LaguerreL</item> + <item>LibraryFunctionUnload</item> + <item>ListLogLinearPlot</item> + <item>LandauDistribution</item> + <item>LibraryLoad</item> + <item>ListLogLogPlot</item> + <item>LanguageCategory</item> + <item>LibraryUnload</item> + <item>ListLogPlot</item> + <item>LaplaceDistribution</item> + <item>LiftingFilterData</item> + <item>ListPlay</item> + <item>LaplaceTransform</item> + <item>LiftingWaveletTransform</item> + <item>ListPlot</item> + <item>LaplacianFilter</item> + <item>LightBlue</item> + <item>ListPlot3D</item> + <item>LaplacianGaussianFilter</item> + <item>LightBrown</item> + <item>ListPointPlot3D</item> + <item>Large</item> + <item>LightCyan</item> + <item>ListPolarPlot</item> + <item>Larger</item> + <item>Lighter</item> + <item>ListStreamDensityPlot</item> + <item>Last</item> + <item>LightGray</item> + <item>ListStreamPlot</item> + <item>Latitude</item> + <item>LightGreen</item> + <item>ListSurfacePlot3D</item> + <item>LatitudeLongitude</item> + <item>Lighting</item> + <item>ListVectorDensityPlot</item> + <item>LatticeData</item> + <item>LightingAngle</item> + <item>ListVectorPlot</item> + <item>LatticeReduce</item> + <item>LightMagenta</item> + <item>ListVectorPlot3D</item> + <item>LaunchKernels</item> + <item>LightOrange</item> + <item>LocalizeVariables</item> + <item>LayeredGraphPlot</item> + <item>LightPink</item> + <item>LocationEquivalenceTest</item> + <item>LayerSizeFunction</item> + <item>LightPurple</item> + <item>LocationTest</item> + <item>LCM</item> + <item>LightRed</item> + <item>Locator</item> + <item>LeafCount</item> + <item>LightYellow</item> + <item>LocatorAutoCreate</item> + <item>LeastSquares</item> + <item>Likelihood</item> + <item>LocatorPane</item> + <item>Left</item> + <item>Limit</item> + <item>LocatorRegion</item> + <item>LeftArrow</item> + <item>LimitsPositioning</item> + <item>Locked</item> + <item>LeftArrowBar</item> + <item>LindleyDistribution</item> + <item>Log</item> + <item>LeftArrowRightArrow</item> + <item>Line</item> + <item>Log10</item> + <item>LeftDownTeeVector</item> + <item>LinearFractionalTransform</item> + <item>Log2</item> + <item>LeftDownVector</item> + <item>LinearModelFit</item> + <item>LogBarnesG</item> + <item>LeftDownVectorBar</item> + <item>LinearOffsetFunction</item> + <item>LogGamma</item> + <item>LeftRightArrow</item> + <item>LinearProgramming</item> + <item>LogGammaDistribution</item> + <item>LeftRightVector</item> + <item>LinearRecurrence</item> + <item>LogicalExpand</item> + <item>LeftTeeArrow</item> + <item>LinearSolve</item> + <item>LogIntegral</item> + <item>LeftTeeVector</item> + <item>LinearSolveFunction</item> + <item>LogisticDistribution</item> + <item>LeftTriangle</item> + <item>LineBreakChart</item> + <item>LogitModelFit</item> + <item>LeftTriangleBar</item> + <item>LineGraph</item> + <item>LogLikelihood</item> + <item>LeftTriangleEqual</item> + <item>LineIndent</item> + <item>LogLinearPlot</item> + <item>LeftUpDownVector</item> + <item>LineIndentMaxFraction</item> + <item>LogLogisticDistribution</item> + <item>LeftUpTeeVector</item> + <item>LineIntegralConvolutionPlot</item> + <item>LogLogPlot</item> + <item>LeftUpVector</item> + <item>LineIntegralConvolutionScale</item> + <item>LogNormalDistribution</item> + <item>LeftUpVectorBar</item> + <item>LineSpacing</item> + <item>LogPlot</item> + <item>LeftVector</item> + <item>LinkClose</item> + <item>LogSeriesDistribution</item> + <item>LeftVectorBar</item> + <item>LinkConnect</item> + <item>Longest</item> + <item>LegendAppearance</item> + <item>LinkCreate</item> + <item>LongestCommonSequence</item> + <item>Legended</item> + <item>LinkFunction</item> + <item>LongestCommonSubsequence</item> + <item>LegendreP</item> + <item>LinkInterrupt</item> + <item>Longitude</item> + <item>LegendreQ</item> + <item>LinkLaunch</item> + <item>LongLeftArrow</item> + <item>Length</item> + <item>LinkObject</item> + <item>LongLeftRightArrow</item> + <item>LengthWhile</item> + <item>LinkPatterns</item> + <item>LongRightArrow</item> + <item>LerchPhi</item> + <item>LinkProtocol</item> + <item>LoopFreeGraphQ</item> + <item>Less</item> + <item>LinkRead</item> + <item>LowerCaseQ</item> + <item>LessEqual</item> + <item>LinkReadyQ</item> + <item>LowerLeftArrow</item> + <item>LessEqualGreater</item> + <item>Links</item> + <item>LowerRightArrow</item> + <item>LessFullEqual</item> + <item>LinkWrite</item> + <item>LowerTriangularize</item> + <item>LessGreater</item> + <item>LiouvilleLambda</item> + <item>LQEstimatorGains</item> + <item>LessLess</item> + <item>List</item> + <item>LQGRegulator</item> + <item>LessSlantEqual</item> + <item>Listable</item> + <item>LQOutputRegulatorGains</item> + <item>LessTilde</item> + <item>ListAnimate</item> + <item>LQRegulatorGains</item> + <item>LetterCharacter</item> + <item>ListContourPlot</item> + <item>LucasL</item> + <item>LetterQ</item> + <item>ListContourPlot3D</item> + <item>LUDecomposition</item> + <item>Level</item> + <item>ListConvolve</item> + <item>LyapunovSolve</item> + <item>LeveneTest</item> + <item>ListCorrelate</item> + <item>LyonsGroupLy</item> + <item>LeviCivitaTensor</item> + <item>ListCurvePathPlot</item> + <item>LevyDistribution</item> + <item>ListDeconvolve</item> + <item>M</item> + <item>MachineNumberQ</item> + <item>MaxDetect</item> + <item>MinDetect</item> + <item>MachinePrecision</item> + <item>MaxExtraBandwidths</item> + <item>MinFilter</item> + <item>Magenta</item> + <item>MaxExtraConditions</item> + <item>MinimalPolynomial</item> + <item>Magnification</item> + <item>MaxFilter</item> + <item>MinimalStateSpaceModel</item> + <item>Magnify</item> + <item>Maximize</item> + <item>Minimize</item> + <item>Majority</item> + <item>MaxIterations</item> + <item>Minors</item> + <item>MakeBoxes</item> + <item>MaxMemoryUsed</item> + <item>MinStableDistribution</item> + <item>MakeExpression</item> + <item>MaxMixtureKernels</item> + <item>Minus</item> + <item>MangoldtLambda</item> + <item>MaxPlotPoints</item> + <item>MinusPlus</item> + <item>ManhattanDistance</item> + <item>MaxRecursion</item> + <item>MinValue</item> + <item>Manipulate</item> + <item>MaxStableDistribution</item> + <item>Missing</item> + <item>Manipulator</item> + <item>MaxStepFraction</item> + <item>MixtureDistribution</item> + <item>MannWhitneyTest</item> + <item>MaxSteps</item> + <item>Mod</item> + <item>MantissaExponent</item> + <item>MaxStepSize</item> + <item>Modal</item> + <item>Manual</item> + <item>MaxValue</item> + <item>ModularLambda</item> + <item>Map</item> + <item>MaxwellDistribution</item> + <item>Module</item> + <item>MapAll</item> + <item>McLaughlinGroupMcL</item> + <item>Modulus</item> + <item>MapAt</item> + <item>Mean</item> + <item>MoebiusMu</item> + <item>MapIndexed</item> + <item>MeanDeviation</item> + <item>Moment</item> + <item>MapThread</item> + <item>MeanFilter</item> + <item>MomentConvert</item> + <item>MarcumQ</item> + <item>MeanShift</item> + <item>MomentEvaluate</item> + <item>MardiaCombinedTest</item> + <item>MeanShiftFilter</item> + <item>MomentGeneratingFunction</item> + <item>MardiaKurtosisTest</item> + <item>Median</item> + <item>Monitor</item> + <item>MardiaSkewnessTest</item> + <item>MedianDeviation</item> + <item>MonomialList</item> + <item>MarginalDistribution</item> + <item>MedianFilter</item> + <item>MonsterGroupM</item> + <item>Masking</item> + <item>Medium</item> + <item>MorletWavelet</item> + <item>MatchingDissimilarity</item> + <item>MeijerG</item> + <item>MorphologicalBinarize</item> + <item>MatchLocalNames</item> + <item>MemberQ</item> + <item>MorphologicalBranchPoints</item> + <item>MatchQ</item> + <item>MemoryConstrained</item> + <item>MorphologicalComponents</item> + <item>MathieuC</item> + <item>MemoryInUse</item> + <item>MorphologicalEulerNumber</item> + <item>MathieuCharacteristicA</item> + <item>MenuCommandKey</item> + <item>MorphologicalGraph</item> + <item>MathieuCharacteristicB</item> + <item>MenuPacket</item> + <item>MorphologicalPerimeter</item> + <item>MathieuCharacteristicExponent</item> + <item>MenuSortingValue</item> + <item>MorphologicalTransform</item> + <item>MathieuCPrime</item> + <item>MenuStyle</item> + <item>Most</item> + <item>MathieuGroupM11</item> + <item>MenuView</item> + <item>MouseAnnotation</item> + <item>MathieuGroupM12</item> + <item>Mesh</item> + <item>MouseAppearance</item> + <item>MathieuGroupM22</item> + <item>MeshFunctions</item> + <item>Mouseover</item> + <item>MathieuGroupM23</item> + <item>MeshShading</item> + <item>MousePosition</item> + <item>MathieuGroupM24</item> + <item>MeshStyle</item> + <item>MovingAverage</item> + <item>MathieuS</item> + <item>Message</item> + <item>MovingMedian</item> + <item>MathieuSPrime</item> + <item>MessageDialog</item> + <item>MoyalDistribution</item> + <item>MathMLForm</item> + <item>MessageList</item> + <item>MultiedgeStyle</item> + <item>MatrixExp</item> + <item>MessageName</item> + <item>Multinomial</item> + <item>MatrixForm</item> + <item>MessagePacket</item> + <item>MultinomialDistribution</item> + <item>MatrixPlot</item> + <item>Messages</item> + <item>MultinormalDistribution</item> + <item>MatrixPower</item> + <item>Method</item> + <item>MultiplicativeOrder</item> + <item>MatrixQ</item> + <item>MexicanHatWavelet</item> + <item>MultivariateHypergeometricDistribution</item> + <item>MatrixRank</item> + <item>MeyerWavelet</item> + <item>MultivariatePoissonDistribution</item> + <item>Max</item> + <item>Min</item> + <item>MultivariateTDistribution</item> + <item>N</item> + <item>N</item> + <item>NormalizedSquaredEuclideanDistance</item> + <item>NotPrecedesSlantEqual</item> + <item>NakagamiDistribution</item> + <item>NormalsFunction</item> + <item>NotPrecedesTilde</item> + <item>NameQ</item> + <item>NormFunction</item> + <item>NotReverseElement</item> + <item>Names</item> + <item>Not</item> + <item>NotRightTriangle</item> + <item>Nand</item> + <item>NotCongruent</item> + <item>NotRightTriangleBar</item> + <item>NArgMax</item> + <item>NotCupCap</item> + <item>NotRightTriangleEqual</item> + <item>NArgMin</item> + <item>NotDoubleVerticalBar</item> + <item>NotSquareSubset</item> + <item>NCache</item> + <item>Notebook</item> + <item>NotSquareSubsetEqual</item> + <item>NDSolve</item> + <item>NotebookApply</item> + <item>NotSquareSuperset</item> + <item>Nearest</item> + <item>NotebookAutoSave</item> + <item>NotSquareSupersetEqual</item> + <item>NearestFunction</item> + <item>NotebookClose</item> + <item>NotSubset</item> + <item>NeedlemanWunschSimilarity</item> + <item>NotebookDelete</item> + <item>NotSubsetEqual</item> + <item>Needs</item> + <item>NotebookDirectory</item> + <item>NotSucceeds</item> + <item>Negative</item> + <item>NotebookDynamicExpression</item> + <item>NotSucceedsEqual</item> + <item>NegativeBinomialDistribution</item> + <item>NotebookEvaluate</item> + <item>NotSucceedsSlantEqual</item> + <item>NegativeMultinomialDistribution</item> + <item>NotebookEventActions</item> + <item>NotSucceedsTilde</item> + <item>NeighborhoodGraph</item> + <item>NotebookFileName</item> + <item>NotSuperset</item> + <item>Nest</item> + <item>NotebookFind</item> + <item>NotSupersetEqual</item> + <item>NestedGreaterGreater</item> + <item>NotebookGet</item> + <item>NotTilde</item> + <item>NestedLessLess</item> + <item>NotebookInformation</item> + <item>NotTildeEqual</item> + <item>NestList</item> + <item>NotebookLocate</item> + <item>NotTildeFullEqual</item> + <item>NestWhile</item> + <item>NotebookObject</item> + <item>NotTildeTilde</item> + <item>NestWhileList</item> + <item>NotebookOpen</item> + <item>NotVerticalBar</item> + <item>NevilleThetaC</item> + <item>NotebookPrint</item> + <item>NProbability</item> + <item>NevilleThetaD</item> + <item>NotebookPut</item> + <item>NProduct</item> + <item>NevilleThetaN</item> + <item>NotebookRead</item> + <item>NRoots</item> + <item>NevilleThetaS</item> + <item>Notebooks</item> + <item>NSolve</item> + <item>NExpectation</item> + <item>NotebookSave</item> + <item>NSum</item> + <item>NextPrime</item> + <item>NotebookSelection</item> + <item>Null</item> + <item>NHoldAll</item> + <item>NotebookWrite</item> + <item>NullRecords</item> + <item>NHoldFirst</item> + <item>NotElement</item> + <item>NullSpace</item> + <item>NHoldRest</item> + <item>NotEqualTilde</item> + <item>NullWords</item> + <item>NicholsGridLines</item> + <item>NotExists</item> + <item>Number</item> + <item>NicholsPlot</item> + <item>NotGreater</item> + <item>NumberFieldClassNumber</item> + <item>NIntegrate</item> + <item>NotGreaterEqual</item> + <item>NumberFieldDiscriminant</item> + <item>NMaximize</item> + <item>NotGreaterFullEqual</item> + <item>NumberFieldFundamentalUnits</item> + <item>NMaxValue</item> + <item>NotGreaterGreater</item> + <item>NumberFieldIntegralBasis</item> + <item>NMinimize</item> + <item>NotGreaterLess</item> + <item>NumberFieldNormRepresentatives</item> + <item>NMinValue</item> + <item>NotGreaterSlantEqual</item> + <item>NumberFieldRegulator</item> + <item>NominalVariables</item> + <item>NotGreaterTilde</item> + <item>NumberFieldRootsOfUnity</item> + <item>NoncentralBetaDistribution</item> + <item>NotHumpDownHump</item> + <item>NumberFieldSignature</item> + <item>NoncentralChiSquareDistribution</item> + <item>NotHumpEqual</item> + <item>NumberForm</item> + <item>NoncentralFRatioDistribution</item> + <item>NotLeftTriangle</item> + <item>NumberFormat</item> + <item>NoncentralStudentTDistribution</item> + <item>NotLeftTriangleBar</item> + <item>NumberMarks</item> + <item>NonCommutativeMultiply</item> + <item>NotLeftTriangleEqual</item> + <item>NumberMultiplier</item> + <item>NonConstants</item> + <item>NotLess</item> + <item>NumberPadding</item> + <item>None</item> + <item>NotLessEqual</item> + <item>NumberPoint</item> + <item>NonlinearModelFit</item> + <item>NotLessFullEqual</item> + <item>NumberQ</item> + <item>NonNegative</item> + <item>NotLessGreater</item> + <item>NumberSeparator</item> + <item>NonPositive</item> + <item>NotLessLess</item> + <item>NumberSigns</item> + <item>Nor</item> + <item>NotLessSlantEqual</item> + <item>NumberString</item> + <item>NorlundB</item> + <item>NotLessTilde</item> + <item>Numerator</item> + <item>Norm</item> + <item>NotNestedGreaterGreater</item> + <item>NumericFunction</item> + <item>Normal</item> + <item>NotNestedLessLess</item> + <item>NumericQ</item> + <item>NormalDistribution</item> + <item>NotPrecedes</item> + <item>NyquistGridLines</item> + <item>Normalize</item> + <item>NotPrecedesEqual</item> + <item>NyquistPlot</item> + <item>O</item> + <item>O</item> + <item>Operate</item> + <item>OutputForm</item> + <item>ObservabilityGramian</item> + <item>OperatingSystem</item> + <item>OutputNamePacket</item> + <item>ObservabilityMatrix</item> + <item>Optional</item> + <item>OutputResponse</item> + <item>ObservableDecomposition</item> + <item>Options</item> + <item>OutputSizeLimit</item> + <item>ObservableModelQ</item> + <item>OptionsPattern</item> + <item>OutputStream</item> + <item>OddQ</item> + <item>OptionValue</item> + <item>OverBar</item> + <item>Off</item> + <item>Or</item> + <item>OverDot</item> + <item>Offset</item> + <item>Orange</item> + <item>Overflow</item> + <item>On</item> + <item>Order</item> + <item>OverHat</item> + <item>ONanGroupON</item> + <item>OrderDistribution</item> + <item>Overlaps</item> + <item>OneIdentity</item> + <item>OrderedQ</item> + <item>Overlay</item> + <item>Opacity</item> + <item>Ordering</item> + <item>Overscript</item> + <item>OpenAppend</item> + <item>Orderless</item> + <item>OverscriptBox</item> + <item>Opener</item> + <item>Orthogonalize</item> + <item>OverTilde</item> + <item>OpenerView</item> + <item>Out</item> + <item>OverVector</item> + <item>Opening</item> + <item>Outer</item> + <item>OwenT</item> + <item>OpenRead</item> + <item>OutputControllabilityMatrix</item> + <item>OwnValues</item> + <item>OpenWrite</item> + <item>OutputControllableModelQ</item> + <item>P</item> + <item>PackingMethod</item> + <item>PermutationList</item> + <item>PopupMenu</item> + <item>PaddedForm</item> + <item>PermutationListQ</item> + <item>PopupView</item> + <item>Padding</item> + <item>PermutationMax</item> + <item>PopupWindow</item> + <item>PadeApproximant</item> + <item>PermutationMin</item> + <item>Position</item> + <item>PadLeft</item> + <item>PermutationOrder</item> + <item>Positive</item> + <item>PadRight</item> + <item>PermutationPower</item> + <item>PositiveDefiniteMatrixQ</item> + <item>PageBreakAbove</item> + <item>PermutationProduct</item> + <item>PossibleZeroQ</item> + <item>PageBreakBelow</item> + <item>PermutationReplace</item> + <item>Postfix</item> + <item>PageBreakWithin</item> + <item>Permutations</item> + <item>Power</item> + <item>PageFooters</item> + <item>PermutationSupport</item> + <item>PowerDistribution</item> + <item>PageHeaders</item> + <item>Permute</item> + <item>PowerExpand</item> + <item>PageRankCentrality</item> + <item>PeronaMalikFilter</item> + <item>PowerMod</item> + <item>PageWidth</item> + <item>PERTDistribution</item> + <item>PowerModList</item> + <item>PairedBarChart</item> + <item>PetersenGraph</item> + <item>PowersRepresentations</item> + <item>PairedHistogram</item> + <item>PhaseMargins</item> + <item>PowerSymmetricPolynomial</item> + <item>PairedTTest</item> + <item>Pi</item> + <item>PrecedenceForm</item> + <item>PairedZTest</item> + <item>Pick</item> + <item>Precedes</item> + <item>PaletteNotebook</item> + <item>Piecewise</item> + <item>PrecedesEqual</item> + <item>Pane</item> + <item>PiecewiseExpand</item> + <item>PrecedesSlantEqual</item> + <item>Panel</item> + <item>PieChart</item> + <item>PrecedesTilde</item> + <item>Paneled</item> + <item>PieChart3D</item> + <item>Precision</item> + <item>PaneSelector</item> + <item>Pink</item> + <item>PrecisionGoal</item> + <item>ParabolicCylinderD</item> + <item>PixelConstrained</item> + <item>PreDecrement</item> + <item>ParagraphIndent</item> + <item>PixelValue</item> + <item>PreemptProtect</item> + <item>ParagraphSpacing</item> + <item>Placed</item> + <item>Prefix</item> + <item>ParallelArray</item> + <item>Placeholder</item> + <item>PreIncrement</item> + <item>ParallelCombine</item> + <item>PlaceholderReplace</item> + <item>Prepend</item> + <item>ParallelDo</item> + <item>Plain</item> + <item>PrependTo</item> + <item>ParallelEvaluate</item> + <item>Play</item> + <item>PreserveImageOptions</item> + <item>Parallelization</item> + <item>PlayRange</item> + <item>PriceGraphDistribution</item> + <item>Parallelize</item> + <item>Plot</item> + <item>Prime</item> + <item>ParallelMap</item> + <item>Plot3D</item> + <item>PrimeNu</item> + <item>ParallelNeeds</item> + <item>PlotLabel</item> + <item>PrimeOmega</item> + <item>ParallelProduct</item> + <item>PlotLayout</item> + <item>PrimePi</item> + <item>ParallelSubmit</item> + <item>PlotMarkers</item> + <item>PrimePowerQ</item> + <item>ParallelSum</item> + <item>PlotPoints</item> + <item>PrimeQ</item> + <item>ParallelTable</item> + <item>PlotRange</item> + <item>Primes</item> + <item>ParallelTry</item> + <item>PlotRangeClipping</item> + <item>PrimeZetaP</item> + <item>ParameterEstimator</item> + <item>PlotRangePadding</item> + <item>PrimitiveRoot</item> + <item>ParameterMixtureDistribution</item> + <item>PlotRegion</item> + <item>PrincipalComponents</item> + <item>ParametricPlot</item> + <item>PlotStyle</item> + <item>PrincipalValue</item> + <item>ParametricPlot3D</item> + <item>Plus</item> + <item>Print</item> + <item>ParentDirectory</item> + <item>PlusMinus</item> + <item>PrintingStyleEnvironment</item> + <item>ParetoDistribution</item> + <item>Pochhammer</item> + <item>PrintTemporary</item> + <item>Part</item> + <item>PodStates</item> + <item>Probability</item> + <item>ParticleData</item> + <item>PodWidth</item> + <item>ProbabilityDistribution</item> + <item>Partition</item> + <item>Point</item> + <item>ProbabilityPlot</item> + <item>PartitionsP</item> + <item>PointFigureChart</item> + <item>ProbabilityScalePlot</item> + <item>PartitionsQ</item> + <item>PointSize</item> + <item>ProbitModelFit</item> + <item>PascalDistribution</item> + <item>PoissonConsulDistribution</item> + <item>Product</item> + <item>PassEventsDown</item> + <item>PoissonDistribution</item> + <item>ProductDistribution</item> + <item>PassEventsUp</item> + <item>PolarAxes</item> + <item>ProductLog</item> + <item>Paste</item> + <item>PolarAxesOrigin</item> + <item>ProgressIndicator</item> + <item>PasteButton</item> + <item>PolarGridLines</item> + <item>Projection</item> + <item>Path</item> + <item>PolarPlot</item> + <item>Prolog</item> + <item>PathGraph</item> + <item>PolarTicks</item> + <item>Properties</item> + <item>PathGraphQ</item> + <item>PoleZeroMarkers</item> + <item>Property</item> + <item>Pattern</item> + <item>PolyaAeppliDistribution</item> + <item>PropertyList</item> + <item>PatternSequence</item> + <item>PolyGamma</item> + <item>PropertyValue</item> + <item>PatternTest</item> + <item>Polygon</item> + <item>Proportion</item> + <item>PauliMatrix</item> + <item>PolyhedronData</item> + <item>Proportional</item> + <item>PaulWavelet</item> + <item>PolyLog</item> + <item>Protect</item> + <item>Pause</item> + <item>PolynomialExtendedGCD</item> + <item>Protected</item> + <item>PDF</item> + <item>PolynomialGCD</item> + <item>ProteinData</item> + <item>PearsonChiSquareTest</item> + <item>PolynomialLCM</item> + <item>Pruning</item> + <item>PearsonDistribution</item> + <item>PolynomialMod</item> + <item>PseudoInverse</item> + <item>PerformanceGoal</item> + <item>PolynomialQ</item> + <item>Purple</item> + <item>PermutationCycles</item> + <item>PolynomialQuotient</item> + <item>Put</item> + <item>PermutationCyclesQ</item> + <item>PolynomialQuotientRemainder</item> + <item>PutAppend</item> + <item>PermutationGroup</item> + <item>PolynomialReduce</item> + <item>PermutationLength</item> + <item>PolynomialRemainder</item> + <item>Q</item> + <item>QBinomial</item> + <item>QRDecomposition</item> + <item>Quartiles</item> + <item>QFactorial</item> + <item>QuadraticIrrationalQ</item> + <item>QuartileSkewness</item> + <item>QGamma</item> + <item>Quantile</item> + <item>Quiet</item> + <item>QHypergeometricPFQ</item> + <item>QuantilePlot</item> + <item>Quit</item> + <item>QPochhammer</item> + <item>Quartics</item> + <item>Quotient</item> + <item>QPolyGamma</item> + <item>QuartileDeviation</item> + <item>QuotientRemainder</item> + <item>R</item> + <item>RadicalBox</item> + <item>RefreshRate</item> + <item>RightArrowBar</item> + <item>RadioButton</item> + <item>RegionBinarize</item> + <item>RightArrowLeftArrow</item> + <item>RadioButtonBar</item> + <item>RegionFunction</item> + <item>RightCosetRepresentative</item> + <item>Radon</item> + <item>RegionPlot</item> + <item>RightDownTeeVector</item> + <item>RamanujanTau</item> + <item>RegionPlot3D</item> + <item>RightDownVector</item> + <item>RamanujanTauL</item> + <item>RegularExpression</item> + <item>RightDownVectorBar</item> + <item>RamanujanTauTheta</item> + <item>Regularization</item> + <item>RightTeeArrow</item> + <item>RamanujanTauZ</item> + <item>ReleaseHold</item> + <item>RightTeeVector</item> + <item>RandomChoice</item> + <item>ReliefImage</item> + <item>RightTriangle</item> + <item>RandomComplex</item> + <item>ReliefPlot</item> + <item>RightTriangleBar</item> + <item>RandomGraph</item> + <item>Remove</item> + <item>RightTriangleEqual</item> + <item>RandomImage</item> + <item>RemoveAlphaChannel</item> + <item>RightUpDownVector</item> + <item>RandomInteger</item> + <item>RemoveProperty</item> + <item>RightUpTeeVector</item> + <item>RandomPermutation</item> + <item>RemoveScheduledTask</item> + <item>RightUpVector</item> + <item>RandomPrime</item> + <item>RenameDirectory</item> + <item>RightUpVectorBar</item> + <item>RandomReal</item> + <item>RenameFile</item> + <item>RightVector</item> + <item>RandomSample</item> + <item>RenkoChart</item> + <item>RightVectorBar</item> + <item>RandomVariate</item> + <item>Repeated</item> + <item>RogersTanimotoDissimilarity</item> + <item>Range</item> + <item>RepeatedNull</item> + <item>Root</item> + <item>RangeFilter</item> + <item>Replace</item> + <item>RootApproximant</item> + <item>RankedMax</item> + <item>ReplaceAll</item> + <item>RootIntervals</item> + <item>RankedMin</item> + <item>ReplaceList</item> + <item>RootLocusPlot</item> + <item>Raster</item> + <item>ReplacePart</item> + <item>RootMeanSquare</item> + <item>Rasterize</item> + <item>ReplaceRepeated</item> + <item>RootOfUnityQ</item> + <item>RasterSize</item> + <item>Resampling</item> + <item>RootReduce</item> + <item>Rational</item> + <item>Rescale</item> + <item>Roots</item> + <item>Rationalize</item> + <item>RescalingTransform</item> + <item>RootSum</item> + <item>Rationals</item> + <item>ResetDirectory</item> + <item>Rotate</item> + <item>Ratios</item> + <item>ResetScheduledTask</item> + <item>RotateLabel</item> + <item>RawBoxes</item> + <item>Residue</item> + <item>RotateLeft</item> + <item>RawData</item> + <item>Resolve</item> + <item>RotateRight</item> + <item>RayleighDistribution</item> + <item>Rest</item> + <item>RotationAction</item> + <item>Re</item> + <item>Resultant</item> + <item>RotationMatrix</item> + <item>Read</item> + <item>ResumePacket</item> + <item>RotationTransform</item> + <item>ReadList</item> + <item>Return</item> + <item>Round</item> + <item>ReadProtected</item> + <item>ReturnExpressionPacket</item> + <item>RoundingRadius</item> + <item>Real</item> + <item>ReturnPacket</item> + <item>Row</item> + <item>RealBlockDiagonalForm</item> + <item>ReturnTextPacket</item> + <item>RowAlignments</item> + <item>RealDigits</item> + <item>Reverse</item> + <item>RowBox</item> + <item>RealExponent</item> + <item>ReverseBiorthogonalSplineWavelet</item> + <item>RowLines</item> + <item>Reals</item> + <item>ReverseElement</item> + <item>RowMinHeight</item> + <item>Reap</item> + <item>ReverseEquilibrium</item> + <item>RowReduce</item> + <item>Record</item> + <item>ReverseGraph</item> + <item>RowsEqual</item> + <item>RecordLists</item> + <item>ReverseUpEquilibrium</item> + <item>RowSpacings</item> + <item>RecordSeparators</item> + <item>RevolutionAxis</item> + <item>RSolve</item> + <item>Rectangle</item> + <item>RevolutionPlot3D</item> + <item>RudvalisGroupRu</item> + <item>RectangleChart</item> + <item>RGBColor</item> + <item>Rule</item> + <item>RectangleChart3D</item> + <item>RiccatiSolve</item> + <item>RuleDelayed</item> + <item>RecurrenceTable</item> + <item>RiceDistribution</item> + <item>Run</item> + <item>Red</item> + <item>RidgeFilter</item> + <item>RunScheduledTask</item> + <item>Reduce</item> + <item>RiemannR</item> + <item>RunThrough</item> + <item>ReferenceLineStyle</item> + <item>RiemannSiegelTheta</item> + <item>RuntimeAttributes</item> + <item>Refine</item> + <item>RiemannSiegelZ</item> + <item>RuntimeOptions</item> + <item>ReflectionMatrix</item> + <item>Riffle</item> + <item>RussellRaoDissimilarity</item> + <item>ReflectionTransform</item> + <item>Right</item> + <item>Refresh</item> + <item>RightArrow</item> + <item>S</item> + <item>SameQ</item> + <item>Sin</item> + <item>StationaryWaveletPacketTransform</item> + <item>SameTest</item> + <item>Sinc</item> + <item>StationaryWaveletTransform</item> + <item>SampleDepth</item> + <item>SinghMaddalaDistribution</item> + <item>StatusArea</item> + <item>SampledSoundFunction</item> + <item>SingleLetterItalics</item> + <item>StepMonitor</item> + <item>SampledSoundList</item> + <item>SingularValueDecomposition</item> + <item>StieltjesGamma</item> + <item>SampleRate</item> + <item>SingularValueList</item> + <item>StirlingS1</item> + <item>SamplingPeriod</item> + <item>SingularValuePlot</item> + <item>StirlingS2</item> + <item>SatisfiabilityCount</item> + <item>Sinh</item> + <item>StopScheduledTask</item> + <item>SatisfiabilityInstances</item> + <item>SinhIntegral</item> + <item>StreamColorFunction</item> + <item>SatisfiableQ</item> + <item>SinIntegral</item> + <item>StreamColorFunctionScaling</item> + <item>Save</item> + <item>SixJSymbol</item> + <item>StreamDensityPlot</item> + <item>SaveDefinitions</item> + <item>Skeleton</item> + <item>StreamPlot</item> + <item>SawtoothWave</item> + <item>SkeletonTransform</item> + <item>StreamPoints</item> + <item>Scale</item> + <item>SkellamDistribution</item> + <item>StreamPosition</item> + <item>Scaled</item> + <item>Skewness</item> + <item>Streams</item> + <item>ScalingFunctions</item> + <item>SkewNormalDistribution</item> + <item>StreamScale</item> + <item>ScalingMatrix</item> + <item>Skip</item> + <item>StreamStyle</item> + <item>ScalingTransform</item> + <item>Slider</item> + <item>String</item> + <item>Scan</item> + <item>Slider2D</item> + <item>StringCases</item> + <item>ScheduledTaskObject</item> + <item>SlideView</item> + <item>StringCount</item> + <item>ScheduledTasks</item> + <item>Slot</item> + <item>StringDrop</item> + <item>SchurDecomposition</item> + <item>SlotSequence</item> + <item>StringExpression</item> + <item>ScientificForm</item> + <item>Small</item> + <item>StringForm</item> + <item>ScreenStyleEnvironment</item> + <item>SmallCircle</item> + <item>StringFormat</item> + <item>ScriptBaselineShifts</item> + <item>Smaller</item> + <item>StringFreeQ</item> + <item>ScriptMinSize</item> + <item>SmithWatermanSimilarity</item> + <item>StringInsert</item> + <item>ScriptSizeMultipliers</item> + <item>SmoothDensityHistogram</item> + <item>StringJoin</item> + <item>Scrollbars</item> + <item>SmoothHistogram</item> + <item>StringLength</item> + <item>ScrollPosition</item> + <item>SmoothHistogram3D</item> + <item>StringMatchQ</item> + <item>Sec</item> + <item>SmoothKernelDistribution</item> + <item>StringPosition</item> + <item>Sech</item> + <item>SokalSneathDissimilarity</item> + <item>StringQ</item> + <item>SechDistribution</item> + <item>Solve</item> + <item>StringReplace</item> + <item>SectorChart</item> + <item>SolveAlways</item> + <item>StringReplaceList</item> + <item>SectorChart3D</item> + <item>Sort</item> + <item>StringReplacePart</item> + <item>SectorOrigin</item> + <item>SortBy</item> + <item>StringReverse</item> + <item>SectorSpacing</item> + <item>Sound</item> + <item>StringSkeleton</item> + <item>SeedRandom</item> + <item>SoundNote</item> + <item>StringSplit</item> + <item>Select</item> + <item>SoundVolume</item> + <item>StringTake</item> + <item>Selectable</item> + <item>Sow</item> + <item>StringToStream</item> + <item>SelectComponents</item> + <item>Spacer</item> + <item>StringTrim</item> + <item>SelectedNotebook</item> + <item>Spacings</item> + <item>StructuredSelection</item> + <item>SelectionAnimate</item> + <item>Span</item> + <item>StruveH</item> + <item>SelectionCreateCell</item> + <item>SpanFromAbove</item> + <item>StruveL</item> + <item>SelectionEvaluate</item> + <item>SpanFromBoth</item> + <item>Stub</item> + <item>SelectionEvaluateCreateCell</item> + <item>SpanFromLeft</item> + <item>StudentTDistribution</item> + <item>SelectionMove</item> + <item>SparseArray</item> + <item>Style</item> + <item>SelfLoopStyle</item> + <item>Speak</item> + <item>StyleBox</item> + <item>SemialgebraicComponentInstances</item> + <item>Specularity</item> + <item>StyleData</item> + <item>SendMail</item> + <item>SpellingCorrection</item> + <item>StyleDefinitions</item> + <item>Sequence</item> + <item>Sphere</item> + <item>Subfactorial</item> + <item>SequenceAlignment</item> + <item>SphericalBesselJ</item> + <item>Subgraph</item> + <item>SequenceHold</item> + <item>SphericalBesselY</item> + <item>SubMinus</item> + <item>Series</item> + <item>SphericalHankelH1</item> + <item>SubPlus</item> + <item>SeriesCoefficient</item> + <item>SphericalHankelH2</item> + <item>Subresultants</item> + <item>SeriesData</item> + <item>SphericalHarmonicY</item> + <item>Subscript</item> + <item>SessionTime</item> + <item>SphericalPlot3D</item> + <item>SubscriptBox</item> + <item>Set</item> + <item>SphericalRegion</item> + <item>Subset</item> + <item>SetAccuracy</item> + <item>SpheroidalEigenvalue</item> + <item>SubsetEqual</item> + <item>SetAlphaChannel</item> + <item>SpheroidalJoiningFactor</item> + <item>Subsets</item> + <item>SetAttributes</item> + <item>SpheroidalPS</item> + <item>SubStar</item> + <item>SetDelayed</item> + <item>SpheroidalPSPrime</item> + <item>Subsuperscript</item> + <item>SetDirectory</item> + <item>SpheroidalQS</item> + <item>SubsuperscriptBox</item> + <item>SetFileDate</item> + <item>SpheroidalQSPrime</item> + <item>Subtract</item> + <item>SetOptions</item> + <item>SpheroidalRadialFactor</item> + <item>SubtractFrom</item> + <item>SetPrecision</item> + <item>SpheroidalS1</item> + <item>Succeeds</item> + <item>SetProperty</item> + <item>SpheroidalS1Prime</item> + <item>SucceedsEqual</item> + <item>SetSelectedNotebook</item> + <item>SpheroidalS2</item> + <item>SucceedsSlantEqual</item> + <item>SetSharedFunction</item> + <item>SpheroidalS2Prime</item> + <item>SucceedsTilde</item> + <item>SetSharedVariable</item> + <item>Splice</item> + <item>SuchThat</item> + <item>SetStreamPosition</item> + <item>SplineClosed</item> + <item>Sum</item> + <item>SetSystemOptions</item> + <item>SplineDegree</item> + <item>SumConvergence</item> + <item>Setter</item> + <item>SplineKnots</item> + <item>SuperDagger</item> + <item>SetterBar</item> + <item>SplineWeights</item> + <item>SuperMinus</item> + <item>Setting</item> + <item>Split</item> + <item>SuperPlus</item> + <item>Shallow</item> + <item>SplitBy</item> + <item>Superscript</item> + <item>ShannonWavelet</item> + <item>SpokenString</item> + <item>SuperscriptBox</item> + <item>ShapiroWilkTest</item> + <item>Sqrt</item> + <item>Superset</item> + <item>Share</item> + <item>SqrtBox</item> + <item>SupersetEqual</item> + <item>Sharpen</item> + <item>Square</item> + <item>SuperStar</item> + <item>ShearingMatrix</item> + <item>SquaredEuclideanDistance</item> + <item>SurvivalDistribution</item> + <item>ShearingTransform</item> + <item>SquareFreeQ</item> + <item>SurvivalFunction</item> + <item>Short</item> + <item>SquareIntersection</item> + <item>SuspendPacket</item> + <item>ShortDownArrow</item> + <item>SquaresR</item> + <item>SuzukiDistribution</item> + <item>Shortest</item> + <item>SquareSubset</item> + <item>SuzukiGroupSuz</item> + <item>ShortestPathFunction</item> + <item>SquareSubsetEqual</item> + <item>Switch</item> + <item>ShortLeftArrow</item> + <item>SquareSuperset</item> + <item>Symbol</item> + <item>ShortRightArrow</item> + <item>SquareSupersetEqual</item> + <item>SymbolName</item> + <item>ShortUpArrow</item> + <item>SquareUnion</item> + <item>SymletWavelet</item> + <item>Show</item> + <item>SquareWave</item> + <item>SymmetricGroup</item> + <item>ShowAutoStyles</item> + <item>StabilityMargins</item> + <item>SymmetricMatrixQ</item> + <item>ShowCellBracket</item> + <item>StabilityMarginsStyle</item> + <item>SymmetricPolynomial</item> + <item>ShowCellLabel</item> + <item>StableDistribution</item> + <item>SymmetricReduction</item> + <item>ShowCellTags</item> + <item>Stack</item> + <item>SynchronousInitialization</item> + <item>ShowCursorTracker</item> + <item>StackBegin</item> + <item>SynchronousUpdating</item> + <item>ShowGroupOpener</item> + <item>StackComplete</item> + <item>SyntaxInformation</item> + <item>ShowPageBreaks</item> + <item>StackInhibit</item> + <item>SyntaxLength</item> + <item>ShowSelection</item> + <item>StandardDeviation</item> + <item>SyntaxPacket</item> + <item>ShowSpecialCharacters</item> + <item>StandardDeviationFilter</item> + <item>SyntaxQ</item> + <item>ShowStringCharacters</item> + <item>StandardForm</item> + <item>SystemDialogInput</item> + <item>ShrinkingDelay</item> + <item>Standardize</item> + <item>SystemInformation</item> + <item>SiegelTheta</item> + <item>Star</item> + <item>SystemOpen</item> + <item>SiegelTukeyTest</item> + <item>StarGraph</item> + <item>SystemOptions</item> + <item>Sign</item> + <item>StartingStepSize</item> + <item>SystemsModelDelete</item> + <item>Signature</item> + <item>StartOfLine</item> + <item>SystemsModelDimensions</item> + <item>SignedRankTest</item> + <item>StartOfString</item> + <item>SystemsModelExtract</item> + <item>SignificanceLevel</item> + <item>StartScheduledTask</item> + <item>SystemsModelFeedbackConnect</item> + <item>SignPadding</item> + <item>StateFeedbackGains</item> + <item>SystemsModelLabels</item> + <item>SignTest</item> + <item>StateOutputEstimator</item> + <item>SystemsModelOrder</item> + <item>SimilarityRules</item> + <item>StateResponse</item> + <item>SystemsModelParallelConnect</item> + <item>SimpleGraph</item> + <item>StateSpaceModel</item> + <item>SystemsModelSeriesConnect</item> + <item>SimpleGraphQ</item> + <item>StateSpaceRealization</item> + <item>SystemsModelStateFeedbackConnect</item> + <item>Simplify</item> + <item>StateSpaceTransform</item> + <item>T</item> + <item>Table</item> + <item>Tilde</item> + <item>TraceOn</item> + <item>TableAlignments</item> + <item>TildeEqual</item> + <item>TraceOriginal</item> + <item>TableDepth</item> + <item>TildeFullEqual</item> + <item>TracePrint</item> + <item>TableDirections</item> + <item>TildeTilde</item> + <item>TraceScan</item> + <item>TableForm</item> + <item>TimeConstrained</item> + <item>TrackedSymbols</item> + <item>TableHeadings</item> + <item>TimeConstraint</item> + <item>TradingChart</item> + <item>TableSpacing</item> + <item>Times</item> + <item>TraditionalForm</item> + <item>TabView</item> + <item>TimesBy</item> + <item>TransferFunctionCancel</item> + <item>TagBox</item> + <item>TimeUsed</item> + <item>TransferFunctionExpand</item> + <item>TaggingRules</item> + <item>TimeValue</item> + <item>TransferFunctionFactor</item> + <item>TagSet</item> + <item>TimeZone</item> + <item>TransferFunctionModel</item> + <item>TagSetDelayed</item> + <item>Timing</item> + <item>TransferFunctionPoles</item> + <item>TagUnset</item> + <item>Tiny</item> + <item>TransferFunctionZeros</item> + <item>Take</item> + <item>TitsGroupT</item> + <item>TransformationFunction</item> + <item>TakeWhile</item> + <item>ToBoxes</item> + <item>TransformationFunctions</item> + <item>Tally</item> + <item>ToCharacterCode</item> + <item>TransformationMatrix</item> + <item>Tan</item> + <item>ToContinuousTimeModel</item> + <item>TransformedDistribution</item> + <item>Tanh</item> + <item>ToDiscreteTimeModel</item> + <item>Translate</item> + <item>TargetFunctions</item> + <item>ToeplitzMatrix</item> + <item>TranslationTransform</item> + <item>TautologyQ</item> + <item>ToExpression</item> + <item>Transparent</item> + <item>Temporary</item> + <item>Together</item> + <item>Transpose</item> + <item>TeXForm</item> + <item>Toggler</item> + <item>TreeForm</item> + <item>Text</item> + <item>TogglerBar</item> + <item>TreeGraph</item> + <item>TextAlignment</item> + <item>TokenWords</item> + <item>TreeGraphQ</item> + <item>TextCell</item> + <item>Tolerance</item> + <item>TreePlot</item> + <item>TextClipboardType</item> + <item>ToLowerCase</item> + <item>TrendStyle</item> + <item>TextData</item> + <item>ToNumberField</item> + <item>TriangleWave</item> + <item>TextJustification</item> + <item>Tooltip</item> + <item>TriangularDistribution</item> + <item>TextPacket</item> + <item>TooltipDelay</item> + <item>Trig</item> + <item>TextRecognize</item> + <item>Top</item> + <item>TrigExpand</item> + <item>Texture</item> + <item>TopHatTransform</item> + <item>TrigFactor</item> + <item>TextureCoordinateFunction</item> + <item>TopologicalSort</item> + <item>TrigFactorList</item> + <item>TextureCoordinateScaling</item> + <item>ToRadicals</item> + <item>Trigger</item> + <item>Therefore</item> + <item>ToRules</item> + <item>TrigReduce</item> + <item>Thick</item> + <item>ToString</item> + <item>TrigToExp</item> + <item>Thickness</item> + <item>Total</item> + <item>TrimmedMean</item> + <item>Thin</item> + <item>TotalVariationFilter</item> + <item>True</item> + <item>Thinning</item> + <item>TotalWidth</item> + <item>TrueQ</item> + <item>ThompsonGroupTh</item> + <item>ToUpperCase</item> + <item>TruncatedDistribution</item> + <item>Thread</item> + <item>Tr</item> + <item>TTest</item> + <item>ThreeJSymbol</item> + <item>Trace</item> + <item>Tube</item> + <item>Threshold</item> + <item>TraceAbove</item> + <item>TukeyLambdaDistribution</item> + <item>Through</item> + <item>TraceBackward</item> + <item>Tuples</item> + <item>Throw</item> + <item>TraceDepth</item> + <item>TuranGraph</item> + <item>Thumbnail</item> + <item>TraceDialog</item> + <item>TuringMachine</item> + <item>Ticks</item> + <item>TraceForward</item> + <item>TicksStyle</item> + <item>TraceOff</item> + <item>U</item> + <item>Uncompress</item> + <item>UniformSumDistribution</item> + <item>UpArrowBar</item> + <item>Undefined</item> + <item>Uninstall</item> + <item>UpArrowDownArrow</item> + <item>UnderBar</item> + <item>Union</item> + <item>Update</item> + <item>Underflow</item> + <item>UnionPlus</item> + <item>UpdateInterval</item> + <item>Underlined</item> + <item>Unique</item> + <item>UpDownArrow</item> + <item>Underoverscript</item> + <item>UnitBox</item> + <item>UpEquilibrium</item> + <item>UnderoverscriptBox</item> + <item>Unitize</item> + <item>UpperCaseQ</item> + <item>Underscript</item> + <item>UnitStep</item> + <item>UpperLeftArrow</item> + <item>UnderscriptBox</item> + <item>UnitTriangle</item> + <item>UpperRightArrow</item> + <item>UndirectedEdge</item> + <item>UnitVector</item> + <item>UpperTriangularize</item> + <item>UndirectedGraph</item> + <item>Unprotect</item> + <item>UpSet</item> + <item>UndirectedGraphQ</item> + <item>UnsameQ</item> + <item>UpSetDelayed</item> + <item>Unequal</item> + <item>UnsavedVariables</item> + <item>UpTeeArrow</item> + <item>Unevaluated</item> + <item>Unset</item> + <item>UpValues</item> + <item>UniformDistribution</item> + <item>UnsetShared</item> + <item>UsingFrontEnd</item> + <item>UniformGraphDistribution</item> + <item>UpArrow</item> + <item>V</item> + <item>ValidationLength</item> + <item>VertexAdd</item> + <item>VertexReplace</item> + <item>ValueQ</item> + <item>VertexColors</item> + <item>VertexShape</item> + <item>Variables</item> + <item>VertexComponent</item> + <item>VertexShapeFunction</item> + <item>Variance</item> + <item>VertexCoordinateRules</item> + <item>VertexSize</item> + <item>VarianceEquivalenceTest</item> + <item>VertexCoordinates</item> + <item>VertexStyle</item> + <item>VarianceEstimatorFunction</item> + <item>VertexCount</item> + <item>VertexTextureCoordinates</item> + <item>VarianceTest</item> + <item>VertexCoverQ</item> + <item>VertexWeight</item> + <item>VectorAngle</item> + <item>VertexDegree</item> + <item>VerticalBar</item> + <item>VectorColorFunction</item> + <item>VertexDelete</item> + <item>VerticalSeparator</item> + <item>VectorColorFunctionScaling</item> + <item>VertexEccentricity</item> + <item>VerticalSlider</item> + <item>VectorDensityPlot</item> + <item>VertexInComponent</item> + <item>VerticalTilde</item> + <item>VectorPlot</item> + <item>VertexInDegree</item> + <item>ViewAngle</item> + <item>VectorPlot3D</item> + <item>VertexIndex</item> + <item>ViewCenter</item> + <item>VectorPoints</item> + <item>VertexLabeling</item> + <item>ViewMatrix</item> + <item>VectorQ</item> + <item>VertexLabels</item> + <item>ViewPoint</item> + <item>VectorScale</item> + <item>VertexList</item> + <item>ViewRange</item> + <item>VectorStyle</item> + <item>VertexNormals</item> + <item>ViewVector</item> + <item>Vee</item> + <item>VertexOutComponent</item> + <item>ViewVertical</item> + <item>Verbatim</item> + <item>VertexOutDegree</item> + <item>Visible</item> + <item>VerifyConvergence</item> + <item>VertexQ</item> + <item>VonMisesDistribution</item> + <item>VerifyTestAssumptions</item> + <item>VertexRenderingFunction</item> + <item>W</item> + <item>WaitAll</item> + <item>WeierstrassHalfPeriods</item> + <item>WindowFloating</item> + <item>WaitNext</item> + <item>WeierstrassInvariants</item> + <item>WindowFrame</item> + <item>WakebyDistribution</item> + <item>WeierstrassP</item> + <item>WindowMargins</item> + <item>WalleniusHypergeometricDistribution</item> + <item>WeierstrassPPrime</item> + <item>WindowMovable</item> + <item>WaringYuleDistribution</item> + <item>WeierstrassSigma</item> + <item>WindowOpacity</item> + <item>WatershedComponents</item> + <item>WeierstrassZeta</item> + <item>WindowSize</item> + <item>WatsonUSquareTest</item> + <item>WeightedAdjacencyGraph</item> + <item>WindowStatusArea</item> + <item>WattsStrogatzGraphDistribution</item> + <item>WeightedAdjacencyMatrix</item> + <item>WindowTitle</item> + <item>WaveletBestBasis</item> + <item>WeightedGraphQ</item> + <item>WindowToolbars</item> + <item>WaveletFilterCoefficients</item> + <item>Weights</item> + <item>With</item> + <item>WaveletImagePlot</item> + <item>WheelGraph</item> + <item>WolframAlpha</item> + <item>WaveletListPlot</item> + <item>Which</item> + <item>Word</item> + <item>WaveletMapIndexed</item> + <item>While</item> + <item>WordBoundary</item> + <item>WaveletMatrixPlot</item> + <item>White</item> + <item>WordCharacter</item> + <item>WaveletPhi</item> + <item>Whitespace</item> + <item>WordData</item> + <item>WaveletPsi</item> + <item>WhitespaceCharacter</item> + <item>WordSearch</item> + <item>WaveletScale</item> + <item>WhittakerM</item> + <item>WordSeparators</item> + <item>WaveletScalogram</item> + <item>WhittakerW</item> + <item>WorkingPrecision</item> + <item>WaveletThreshold</item> + <item>WienerFilter</item> + <item>Write</item> + <item>WeatherData</item> + <item>WignerD</item> + <item>WriteString</item> + <item>WeberE</item> + <item>WignerSemicircleDistribution</item> + <item>Wronskian</item> + <item>Wedge</item> + <item>WindowClickSelect</item> + <item>WeibullDistribution</item> + <item>WindowElements</item> + <item>X</item> + <item>XMLElement</item> + <item>Xnor</item> + <item>XMLObject</item> + <item>Xor</item> + <item>Y</item> + <item>Yellow</item> + <item>YuleDissimilarity</item> + <item>Z</item> + <item>ZernikeR</item> + <item>ZetaZero</item> + <item>ZTransform</item> + <item>ZeroTest</item> + <item>ZipfDistribution</item> + <item>Zeta</item> + <item>ZTest</item> + <item>$</item> + <item>$Aborted</item> + <item>$Inspector</item> + <item>$OutputSizeLimit</item> + <item>$AssertFunction</item> + <item>$InstallationDirectory</item> + <item>$Packages</item> + <item>$Assumptions</item> + <item>$IterationLimit</item> + <item>$ParentLink</item> + <item>$BaseDirectory</item> + <item>$KernelCount</item> + <item>$ParentProcessID</item> + <item>$BatchInput</item> + <item>$KernelID</item> + <item>$Path</item> + <item>$BatchOutput</item> + <item>$Language</item> + <item>$PathnameSeparator</item> + <item>$ByteOrdering</item> + <item>$LibraryPath</item> + <item>$PerformanceGoal</item> + <item>$Canceled</item> + <item>$LicenseExpirationDate</item> + <item>$Post</item> + <item>$CharacterEncoding</item> + <item>$LicenseID</item> + <item>$Pre</item> + <item>$CharacterEncodings</item> + <item>$LicenseServer</item> + <item>$PrePrint</item> + <item>$CommandLine</item> + <item>$Line</item> + <item>$PreRead</item> + <item>$CompilationTarget</item> + <item>$Linked</item> + <item>$ProcessID</item> + <item>$ConfiguredKernels</item> + <item>$MachineAddresses</item> + <item>$ProcessorCount</item> + <item>$Context</item> + <item>$MachineDomains</item> + <item>$ProcessorType</item> + <item>$ContextPath</item> + <item>$MachineEpsilon</item> + <item>$RecursionLimit</item> + <item>$ControlActiveSetting</item> + <item>$MachineID</item> + <item>$ReleaseNumber</item> + <item>$CreationDate</item> + <item>$MachineName</item> + <item>$RootDirectory</item> + <item>$CurrentLink</item> + <item>$MachinePrecision</item> + <item>$ScheduledTask</item> + <item>$DateStringFormat</item> + <item>$MachineType</item> + <item>$ScriptCommandLine</item> + <item>$DefaultImagingDevice</item> + <item>$MaxExtraPrecision</item> + <item>$SessionID</item> + <item>$Display</item> + <item>$MaxMachineNumber</item> + <item>$SharedFunctions</item> + <item>$DisplayFunction</item> + <item>$MaxNumber</item> + <item>$SharedVariables</item> + <item>$DistributedContexts</item> + <item>$MaxPiecewiseCases</item> + <item>$SoundDisplayFunction</item> + <item>$DynamicEvaluation</item> + <item>$MaxPrecision</item> + <item>$SyntaxHandler</item> + <item>$Echo</item> + <item>$MaxRootDegree</item> + <item>$System</item> + <item>$Epilog</item> + <item>$MessageGroups</item> + <item>$SystemCharacterEncoding</item> + <item>$ExportFormats</item> + <item>$MessageList</item> + <item>$SystemID</item> + <item>$Failed</item> + <item>$MessagePrePrint</item> + <item>$SystemWordLength</item> + <item>$FrontEnd</item> + <item>$Messages</item> + <item>$TemporaryDirectory</item> + <item>$FrontEndSession</item> + <item>$MinMachineNumber</item> + <item>$TimedOut</item> + <item>$GeoLocation</item> + <item>$MinNumber</item> + <item>$TimeUnit</item> + <item>$HistoryLength</item> + <item>$MinPrecision</item> + <item>$TimeZone</item> + <item>$HomeDirectory</item> + <item>$ModuleNumber</item> + <item>$Urgent</item> + <item>$IgnoreEOF</item> + <item>$NewMessage</item> + <item>$UserBaseDirectory</item> + <item>$ImagingDevices</item> + <item>$NewSymbol</item> + <item>$UserDocumentsDirectory</item> + <item>$ImportFormats</item> + <item>$Notebooks</item> + <item>$UserName</item> + <item>$InitialDirectory</item> + <item>$NumberMarks</item> + <item>$Version</item> + <item>$Input</item> + <item>$OperatingSystem</item> + <item>$VersionNumber</item> + <item>$InputFileName</item> + <item>$Output</item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="function" String="functions" context="#stay"/> + <Int attribute="Int" context="#stay" /> + <Float attribute="Float" context="#stay" /> + <RegExpr attribute="Parameter" String="[a-zA-Z_0-9]+\_" context="#stay"/> + <RegExpr attribute="Replace" String="(\-\>|\/\.)" context="#stay"/> + <AnyChar attribute="Operator" String="+*/%\|-^" context="#stay"/> + <RegExpr attribute="Assign" String="(:=|=)" context="#stay"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/> + <itemData name="function" defStyleNum="dsFunction" spellChecking="false"/> + <itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/> + <itemData name="Int" defStyleNum="dsDecVal" spellChecking="false"/> + <itemData name="Parameter" italic="1" defStyleNum="dsDataType" spellChecking="false"/> + <itemData name="Operator" defStyleNum="dsNormal" color="#FF7B00" spellChecking="false"/> + <itemData name="Assign" defStyleNum="dsNormal" color="#00A0E4" spellChecking="false"/> + <itemData name="Replace" defStyleNum="dsNormal" color="#85C200" spellChecking="false"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="-%"/> + <comments> + <comment name="multiLine" start="(*" end="*)" /> + </comments> + </general> +</language> diff --git a/kate/data/matlab.xml b/kate/data/matlab.xml index cb4eb8060..03bae1ca8 100644 --- a/kate/data/matlab.xml +++ b/kate/data/matlab.xml @@ -57,7 +57,7 @@ <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Matlab" version="1.32" kateversion="2.5" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1"> +<language name="Matlab" version="1.31-1" kateversion="2.2" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1"> <highlighting> <!-- Reserved keywords in MATLAB --> diff --git a/kate/data/maxima.xml b/kate/data/maxima.xml index 1191b7192..da93258f3 100644 --- a/kate/data/maxima.xml +++ b/kate/data/maxima.xml @@ -21,7 +21,7 @@ <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Maxima" version="0.17" kateversion="2.5" section="Scientific" extensions="*.mac;*.MAC;*.dem;*.DEM" casesensitive="1" author="Alexey Beshenov <al@beshenov.ru>" license="LGPL"> +<language name="Maxima" version="0.16-1" kateversion="2.0" section="Scientific" extensions="*.mac;*.MAC;*.dem;*.DEM" casesensitive="1" author="Alexey Beshenov <al@beshenov.ru>" license="LGPL"> <highlighting> <list name="MaximaKeyword"> diff --git a/kate/data/mel.xml b/kate/data/mel.xml index e7495e23c..448b320f9 100644 --- a/kate/data/mel.xml +++ b/kate/data/mel.xml @@ -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.02" kateversion="2.5" extensions="*.mel" mimetype="" author="Karl Erlandsen (karlerlandsen@yahoo.com)" license="GPL"> +<language name="MEL" section="Scripts" version="1.01" kateversion="2.4" extensions="*.mel" mimetype="" author="Karl Erlandsen (karlerlandsen@yahoo.com)" license="GPL"> <highlighting> <list name="keywords"> <item> break </item> diff --git a/kate/data/mips.xml b/kate/data/mips.xml index adfa7eef6..c08b89df4 100644 --- a/kate/data/mips.xml +++ b/kate/data/mips.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="type"> <item> .align </item> diff --git a/kate/data/modelica.xml b/kate/data/modelica.xml index 81e6ad20c..3cf570377 100644 --- a/kate/data/modelica.xml +++ b/kate/data/modelica.xml @@ -16,7 +16,7 @@ --> -<language name="Modelica" version="3.3" kateversion="2.5" casesensitive="1" section="Sources" extensions="*.mo" author="Federico Zenith" > +<language name="Modelica" version="3.2-1" kateversion="2.0" casesensitive="1" section="Sources" extensions="*.mo" author="Federico Zenith" > <highlighting> <!-- Classes in Modelica can be called different names; "class" is the diff --git a/kate/data/modelines.xml b/kate/data/modelines.xml index 145a3c780..14533425a 100644 --- a/kate/data/modelines.xml +++ b/kate/data/modelines.xml @@ -10,8 +10,8 @@ Homepage: http://kde-files.org/content/show.php?content=90660 --> <language name="Modelines" - version="1.01" - kateversion="2.5" + version="1.0-1" + kateversion="2.4" section="Other" extensions="" mimetype="" @@ -46,6 +46,7 @@ <item> indent-pasted-text </item> <item> keep-extra-spaces </item> <item> line-numbers </item> + <!-- Since TDE 14 --> <item> newline-at-eof </item> <item> overwrite-mode </item> <item> persistent-selection </item> diff --git a/kate/data/modula-2.xml b/kate/data/modula-2.xml index 9dd3f5dc1..c48fc09cd 100644 --- a/kate/data/modula-2.xml +++ b/kate/data/modula-2.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Modula-2" version="1.04" kateversion="2.5" section="Sources" extensions="*.mod;*.def;*.mi;*.md" mimetype="text/x-modula-2"> +<language name="Modula-2" version="1.03" kateversion="2.1" section="Sources" extensions="*.mod;*.def;*.mi;*.md" mimetype="text/x-modula-2"> <highlighting> <list name="directives"> <item> ASSEMBLER </item> diff --git a/kate/data/monobasic.xml b/kate/data/monobasic.xml index d29379877..aa0b93dd8 100644 --- a/kate/data/monobasic.xml +++ b/kate/data/monobasic.xml @@ -10,7 +10,7 @@ License: GNU General Public License --> -<language name="MonoBasic" section="Sources" version="1.02" kateversion="2.5" extensions="*.vb" mimetype="" author="Davide Bettio (davide.bettio@kdemail.net)" license="GPL"> +<language name="MonoBasic" section="Sources" version="1.01" kateversion="2.3" extensions="*.vb" mimetype="" author="Davide Bettio (davide.bettio@kdemail.net)" license="GPL"> <highlighting> <list name="keywords"> <item> Option </item> diff --git a/kate/data/mup.xml b/kate/data/mup.xml index 5754b23b5..890cf8c40 100644 --- a/kate/data/mup.xml +++ b/kate/data/mup.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> diff --git a/kate/data/nasm.xml b/kate/data/nasm.xml index 04037b21b..6cbc555c8 100644 --- a/kate/data/nasm.xml +++ b/kate/data/nasm.xml @@ -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.41" kateversion="2.5" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL"> +<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"> <highlighting> <list name="registers"> <!-- General purpose registers --> diff --git a/kate/data/nemerle.xml b/kate/data/nemerle.xml index 7b2d3b79b..edf5c7348 100644 --- a/kate/data/nemerle.xml +++ b/kate/data/nemerle.xml @@ -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.33" kateversion="2.5" section="Sources" extensions="*.n" mimetype="text/x-nemerle" casesensitive="1" author="caminoix + Kamil Skalski (Nazgul)" license=""> +<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=""> <highlighting> <list name="Attributes"> <item>abstract</item> diff --git a/kate/data/nesc.xml b/kate/data/nesc.xml index ddc126ef8..20155b8dd 100644 --- a/kate/data/nesc.xml +++ b/kate/data/nesc.xml @@ -1,6 +1,6 @@ <?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"> +<language name="nesC" author="Shakthi Kannan" license="GPLv2" version="1.00-1" kateversion="2.1" section="Sources" extensions="*.nc" mimetype="text/x-ncsrc" priority="5"> <highlighting> <list name="keywords"> <item> break </item> @@ -41,7 +41,6 @@ <item> call </item> <item> signal </item> <item> post </item> - </list> <list name="types"> <item> auto </item> @@ -122,8 +121,6 @@ <RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)"/> </context> - - <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> <IncludeRules context="##Alerts"/> </context> @@ -132,11 +129,6 @@ <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.*((?=\\))"/> diff --git a/kate/data/noweb.xml b/kate/data/noweb.xml index 1f0fa549f..1281c7268 100644 --- a/kate/data/noweb.xml +++ b/kate/data/noweb.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="noweb" version="1.01" kateversion="2.5" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)"> +<language name="noweb" version="1.0" kateversion="2.4" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)"> <!-- ######################################################################### # First version added to repository was 0.4, added as 1.0 . diff --git a/kate/data/objectivec.xml b/kate/data/objectivec.xml index 51e84153f..f46641cb8 100644 --- a/kate/data/objectivec.xml +++ b/kate/data/objectivec.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Objective-C" version="1.08" kateversion="2.5" section="Sources" extensions="*.m;*.h" mimetype="text/x-objc-src;text/x-c-hdr"> +<language name="Objective-C" version="1.07-1" kateversion="2.3" section="Sources" extensions="*.m;*.h" mimetype="text/x-objc-src;text/x-c-hdr"> <highlighting> <list name="keywords"> <item> break </item> diff --git a/kate/data/objectivecpp.xml b/kate/data/objectivecpp.xml index 151fdf68d..e46dc4057 100644 --- a/kate/data/objectivecpp.xml +++ b/kate/data/objectivecpp.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<language name="Objective-C++" version="1.01-1" 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"> <highlighting> <list name="keywords"> <item> break </item> diff --git a/kate/data/ocaml.xml b/kate/data/ocaml.xml index 1b6ad53e9..f86b2fac8 100644 --- a/kate/data/ocaml.xml +++ b/kate/data/ocaml.xml @@ -9,7 +9,7 @@ <!ENTITY ESC "(\\[ntbr'"\\]|\\[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.06" kateversion="2.5" section="Sources" extensions="*.ml;*.mli" mimetype="" priority="10" author="Glyn Webster (glyn@wave.co.nz)" license="LGPL"> +<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"> <highlighting> <!-- Revised Syntax keywords are highlighted as identifiers by default. --> diff --git a/kate/data/octave.xml b/kate/data/octave.xml index 4f991f5bb..6e504b329 100644 --- a/kate/data/octave.xml +++ b/kate/data/octave.xml @@ -15,7 +15,7 @@ --> -<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"> +<language name="Octave" version="1.02-1" kateversion="2.3" section="Scientific" extensions="*.octave;*.m;*.M" mimetype="text/octave" casesensitive="1" license="GPL" author="Luis Silvestre and Federico Zenith"> <highlighting> @@ -2189,20 +2189,20 @@ </contexts> <itemDatas> - <itemData name="Normal Text" defStyleNum="dsNormal" /> - <itemData name="Variable" defStyleNum="dsNormal" /> - <itemData name="Operator" defStyleNum="dsNormal"/> - <itemData name="Number" defStyleNum="dsFloat" /> - <itemData name="Delimiter" defStyleNum="dsNormal" /> + <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/> + <itemData name="Variable" defStyleNum="dsNormal" spellChecking="false"/> + <itemData name="Operator" defStyleNum="dsNormal" spellChecking="false"/> + <itemData name="Number" defStyleNum="dsFloat" spellChecking="false"/> + <itemData name="Delimiter" defStyleNum="dsNormal" spellChecking="false"/> <itemData name="String" defStyleNum="dsString" color="#b20000"/> <itemData name="String Char" defStyleNum="dsChar"/> - <itemData name="Incomplete String" defStyleNum="dsChar" color="#a020f0"/> - <itemData name="Keyword" defStyleNum="dsNormal" color="#0000ff"/> + <itemData name="Incomplete String" defStyleNum="dsChar" color="#a020f0" spellChecking="false"/> + <itemData name="Keyword" defStyleNum="dsNormal" color="#0000ff" spellChecking="false"/> <itemData name="Comment" defStyleNum="dsComment" color="#009900"/> - <itemData name="Functions" defStyleNum="dsFunction" color="#0000ff" selColor="#00ff00" bold="1" italic="1" /> - <itemData name="Forge" defStyleNum="dsFunction" color="#000099" selColor="#009900" bold="1" italic="1" /> - <itemData name="Builtin" defStyleNum="dsBaseN" color="#b28c00" /> - <itemData name="Commands" defStyleNum="dsFunction" color="#b28c00" /> + <itemData name="Functions" defStyleNum="dsFunction" color="#0000ff" selColor="#00ff00" bold="1" italic="1" spellChecking="false"/> + <itemData name="Forge" defStyleNum="dsFunction" color="#000099" selColor="#009900" bold="1" italic="1" spellChecking="false"/> + <itemData name="Builtin" defStyleNum="dsBaseN" color="#b28c00" spellChecking="false"/> + <itemData name="Commands" defStyleNum="dsFunction" color="#b28c00" spellChecking="false"/> </itemDatas> </highlighting> diff --git a/kate/data/oors.xml b/kate/data/oors.xml index 0fb832ab8..dccff286e 100644 --- a/kate/data/oors.xml +++ b/kate/data/oors.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="OORS" version="1.2" kateversion="2.5" section="Sources" extensions="*.oors" author="Gernot Gebhard (gebhard@cs.uni-sb.de)" license="LGPL"> +<language name="OORS" version="1.1" kateversion="2.4" section="Sources" extensions="*.oors" author="Gernot Gebhard (gebhard@cs.uni-sb.de)" license="LGPL"> <highlighting> <list name="oors"> <item>allow</item> diff --git a/kate/data/opal.xml b/kate/data/opal.xml index b9f220681..ac85f7c28 100644 --- a/kate/data/opal.xml +++ b/kate/data/opal.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="OPAL" version="1.2" kateversion="2.5" section="Sources" extensions="*.impl;*.sign" mimetype="" author="Sebastian Pipping (webmaster@hartwork.org)"> +<language name="OPAL" version="1.1" kateversion="2.1" section="Sources" extensions="*.impl;*.sign" mimetype="" author="Sebastian Pipping (webmaster@hartwork.org)"> <highlighting> @@ -242,6 +242,48 @@ <list name="opal_other"> <item>true</item> <item>false</item> + + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + <item>6</item> + <item>7</item> + <item>8</item> + <item>9</item> + <item>10</item> + <item>11</item> + <item>12</item> + <item>13</item> + <item>14</item> + <item>15</item> + <item>16</item> + <item>17</item> + <item>18</item> + <item>19</item> + <item>20</item> + <item>21</item> + <item>22</item> + <item>23</item> + <item>24</item> + <item>25</item> + <item>26</item> + <item>27</item> + <item>28</item> + <item>29</item> + <item>30</item> + <item>31</item> + <item>32</item> + <item>64</item> + <item>128</item> + <item>256</item> + <item>512</item> + <item>1024</item> + <item>10000</item> + <item>100000</item> + <item>1000000</item> </list> <contexts> @@ -249,9 +291,8 @@ <keyword attribute="Keyword" context="#stay" String="opal_keywords"/> <keyword attribute="Sort" context="#stay" String="opal_sorts"/> <keyword attribute="Decimal" context="#stay" String="opal_other"/> - <Int attribute="Decimal" context="#stay"/> <DetectChar attribute="String" context="String" char="""/> - <StringDetect attribute="Comment" context="SingLineCom" String="-- "/> + <RegExpr attribute="Comment" context="SingLineCom" String="(?:^--$|^--[^-]|[^-]--[^-]|[^-]--$)"/> <Detect2Chars attribute="Comment" context="MultLineCom" char="/" char1="*"/> </context> @@ -264,6 +305,7 @@ <context attribute="Comment" lineEndContext="#stay" name="MultLineCom"> <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + <Detect2Chars attribute="Comment" context="MultLineCom" char="/" char1="*"/> </context> </contexts> @@ -280,10 +322,10 @@ <general> <comments> - <comment name="singleLine" start="-- "/> + <comment name="singleLine" start="--"/> <comment name="multiLine" start="/*" end="*/"/> </comments> <keywords casesensitive="1"/> </general> -</language>
\ No newline at end of file +</language> diff --git a/kate/data/opencl.xml b/kate/data/opencl.xml index 164e5e795..46f1c514a 100644 --- a/kate/data/opencl.xml +++ b/kate/data/opencl.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="OpenCL" section="Sources" - version="1.45" kateversion="2.5" + version="1.44" kateversion="2.4" indenter="cstyle" extensions="*.cl" mimetype="text/x-clsrc" diff --git a/kate/data/pango.xml b/kate/data/pango.xml index e40d52fe4..0a9fcba82 100644 --- a/kate/data/pango.xml +++ b/kate/data/pango.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Pango" version="0.2" kateversion="2.5" section="Markup" extensions="" mimetype="" author="Jonathan Schmidt-Domniné <devel@the-user.org>" license="LGPL" priority="10"> +<language name="Pango" version="0.1" kateversion="2.4" section="Markup" extensions="" mimetype="" author="Jonathan Schmidt-Domniné <devel@the-user.org>" license="LGPL" priority="10"> <highlighting> @@ -54,26 +54,6 @@ <item> bgcolor= </item> <item> underline_color= </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> - </list> <contexts> <context name="Start" attribute="Normal Text" lineEndContext="#stay"> @@ -146,7 +126,7 @@ </context> <context name="InColor" attribute="Color" lineEndContext="#stay"> - <RegExpr attribute="Color" context="#pop" String="'(#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?|aqua|black|blue|cyan|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)'" /> + <RegExpr attribute="Color" context="#pop" String="'((#[0-9a-fA-F]{3}){1,4}|snow|ghost white|GhostWhite|white smoke|WhiteSmoke|gainsboro|floral white|FloralWhite|old lace|OldLace|linen|antique white|AntiqueWhite|papaya whip|PapayaWhip|blanched almond|BlanchedAlmond|bisque|peach puff|PeachPuff|navajo white|NavajoWhite|moccasin|cornsilk|ivory|lemon chiffon|LemonChiffon|seashell|honeydew|mint cream|MintCream|azure|alice blue|AliceBlue|lavender|lavender blush|LavenderBlush|misty rose|MistyRose|white|black|dark slate gray|DarkSlateGray|dark slate grey|DarkSlateGrey|dim gray|DimGray|dim grey|DimGrey|slate gray|SlateGray|slate grey|SlateGrey|light slate gray|LightSlateGray|light slate grey|LightSlateGrey|gray|grey|light grey|LightGrey|light gray|LightGray|midnight blue|MidnightBlue|navy|navy blue|NavyBlue|cornflower blue|CornflowerBlue|dark slate blue|DarkSlateBlue|slate blue|SlateBlue|medium slate blue|MediumSlateBlue|light slate blue|LightSlateBlue|medium blue|MediumBlue|royal blue|RoyalBlue|blue|dodger blue|DodgerBlue|deep sky blue|DeepSkyBlue|sky blue|SkyBlue|light sky blue|LightSkyBlue|steel blue|SteelBlue|light steel blue|LightSteelBlue|light blue|LightBlue|powder blue|PowderBlue|pale turquoise|PaleTurquoise|dark turquoise|DarkTurquoise|medium turquoise|MediumTurquoise|turquoise|cyan|light cyan|LightCyan|cadet blue|CadetBlue|medium aquamarine|MediumAquamarine|aquamarine|dark green|DarkGreen|dark olive green|DarkOliveGreen|dark sea green|DarkSeaGreen|sea green|SeaGreen|medium sea green|MediumSeaGreen|light sea green|LightSeaGreen|pale green|PaleGreen|spring green|SpringGreen|lawn green|LawnGreen|green|chartreuse|medium spring green|MediumSpringGreen|green yellow|GreenYellow|lime green|LimeGreen|yellow green|YellowGreen|forest green|ForestGreen|olive drab|OliveDrab|dark khaki|DarkKhaki|khaki|pale goldenrod|PaleGoldenrod|light goldenrod yellow|LightGoldenrodYellow|light yellow|LightYellow|yellow|gold|light goldenrod|LightGoldenrod|goldenrod|dark goldenrod|DarkGoldenrod|rosy brown|RosyBrown|indian red|IndianRed|saddle brown|SaddleBrown|sienna|peru|burlywood|beige|wheat|sandy brown|SandyBrown|tan|chocolate|firebrick|brown|dark salmon|DarkSalmon|salmon|light salmon|LightSalmon|orange|dark orange|DarkOrange|coral|light coral|LightCoral|tomato|orange red|OrangeRed|red|hot pink|HotPink|deep pink|DeepPink|pink|light pink|LightPink|pale violet red|PaleVioletRed|maroon|medium violet red|MediumVioletRed|violet red|VioletRed|magenta|violet|plum|orchid|medium orchid|MediumOrchid|dark orchid|DarkOrchid|dark violet|DarkViolet|blue violet|BlueViolet|purple|medium purple|MediumPurple|thistle|snow1|snow2|snow3|snow4|seashell1|seashell2|seashell3|seashell4|AntiqueWhite1|AntiqueWhite2|AntiqueWhite3|AntiqueWhite4|bisque1|bisque2|bisque3|bisque4|PeachPuff1|PeachPuff2|PeachPuff3|PeachPuff4|NavajoWhite1|NavajoWhite2|NavajoWhite3|NavajoWhite4|LemonChiffon1|LemonChiffon2|LemonChiffon3|LemonChiffon4|cornsilk1|cornsilk2|cornsilk3|cornsilk4|ivory1|ivory2|ivory3|ivory4|honeydew1|honeydew2|honeydew3|honeydew4|LavenderBlush1|LavenderBlush2|LavenderBlush3|LavenderBlush4|MistyRose1|MistyRose2|MistyRose3|MistyRose4|azure1|azure2|azure3|azure4|SlateBlue1|SlateBlue2|SlateBlue3|SlateBlue4|RoyalBlue1|RoyalBlue2|RoyalBlue3|RoyalBlue4|blue1|blue2|blue3|blue4|DodgerBlue1|DodgerBlue2|DodgerBlue3|DodgerBlue4|SteelBlue1|SteelBlue2|SteelBlue3|SteelBlue4|DeepSkyBlue1|DeepSkyBlue2|DeepSkyBlue3|DeepSkyBlue4|SkyBlue1|SkyBlue2|SkyBlue3|SkyBlue4|LightSkyBlue1|LightSkyBlue2|LightSkyBlue3|LightSkyBlue4|SlateGray1|SlateGray2|SlateGray3|SlateGray4|LightSteelBlue1|LightSteelBlue2|LightSteelBlue3|LightSteelBlue4|LightBlue1|LightBlue2|LightBlue3|LightBlue4|LightCyan1|LightCyan2|LightCyan3|LightCyan4|PaleTurquoise1|PaleTurquoise2|PaleTurquoise3|PaleTurquoise4|CadetBlue1|CadetBlue2|CadetBlue3|CadetBlue4|turquoise1|turquoise2|turquoise3|turquoise4|cyan1|cyan2|cyan3|cyan4|DarkSlateGray1|DarkSlateGray2|DarkSlateGray3|DarkSlateGray4|aquamarine1|aquamarine2|aquamarine3|aquamarine4|DarkSeaGreen1|DarkSeaGreen2|DarkSeaGreen3|DarkSeaGreen4|SeaGreen1|SeaGreen2|SeaGreen3|SeaGreen4|PaleGreen1|PaleGreen2|PaleGreen3|PaleGreen4|SpringGreen1|SpringGreen2|SpringGreen3|SpringGreen4|green1|green2|green3|green4|chartreuse1|chartreuse2|chartreuse3|chartreuse4|OliveDrab1|OliveDrab2|OliveDrab3|OliveDrab4|DarkOliveGreen1|DarkOliveGreen2|DarkOliveGreen3|DarkOliveGreen4|khaki1|khaki2|khaki3|khaki4|LightGoldenrod1|LightGoldenrod2|LightGoldenrod3|LightGoldenrod4|LightYellow1|LightYellow2|LightYellow3|LightYellow4|yellow1|yellow2|yellow3|yellow4|gold1|gold2|gold3|gold4|goldenrod1|goldenrod2|goldenrod3|goldenrod4|DarkGoldenrod1|DarkGoldenrod2|DarkGoldenrod3|DarkGoldenrod4|RosyBrown1|RosyBrown2|RosyBrown3|RosyBrown4|IndianRed1|IndianRed2|IndianRed3|IndianRed4|sienna1|sienna2|sienna3|sienna4|burlywood1|burlywood2|burlywood3|burlywood4|wheat1|wheat2|wheat3|wheat4|tan1|tan2|tan3|tan4|chocolate1|chocolate2|chocolate3|chocolate4|firebrick1|firebrick2|firebrick3|firebrick4|brown1|brown2|brown3|brown4|salmon1|salmon2|salmon3|salmon4|LightSalmon1|LightSalmon2|LightSalmon3|LightSalmon4|orange1|orange2|orange3|orange4|DarkOrange1|DarkOrange2|DarkOrange3|DarkOrange4|coral1|coral2|coral3|coral4|tomato1|tomato2|tomato3|tomato4|OrangeRed1|OrangeRed2|OrangeRed3|OrangeRed4|red1|red2|red3|red4|DeepPink1|DeepPink2|DeepPink3|DeepPink4|HotPink1|HotPink2|HotPink3|HotPink4|pink1|pink2|pink3|pink4|LightPink1|LightPink2|LightPink3|LightPink4|PaleVioletRed1|PaleVioletRed2|PaleVioletRed3|PaleVioletRed4|maroon1|maroon2|maroon3|maroon4|VioletRed1|VioletRed2|VioletRed3|VioletRed4|magenta1|magenta2|magenta3|magenta4|orchid1|orchid2|orchid3|orchid4|plum1|plum2|plum3|plum4|MediumOrchid1|MediumOrchid2|MediumOrchid3|MediumOrchid4|DarkOrchid1|DarkOrchid2|DarkOrchid3|DarkOrchid4|purple1|purple2|purple3|purple4|MediumPurple1|MediumPurple2|MediumPurple3|MediumPurple4|thistle1|thistle2|thistle3|thistle4|gray0|grey0|gray1|grey1|gray2|grey2|gray3|grey3|gray4|grey4|gray5|grey5|gray6|grey6|gray7|grey7|gray8|grey8|gray9|grey9|gray10|grey10|gray11|grey11|gray12|grey12|gray13|grey13|gray14|grey14|gray15|grey15|gray16|grey16|gray17|grey17|gray18|grey18|gray19|grey19|gray20|grey20|gray21|grey21|gray22|grey22|gray23|grey23|gray24|grey24|gray25|grey25|gray26|grey26|gray27|grey27|gray28|grey28|gray29|grey29|gray30|grey30|gray31|grey31|gray32|grey32|gray33|grey33|gray34|grey34|gray35|grey35|gray36|grey36|gray37|grey37|gray38|grey38|gray39|grey39|gray40|grey40|gray41|grey41|gray42|grey42|gray43|grey43|gray44|grey44|gray45|grey45|gray46|grey46|gray47|grey47|gray48|grey48|gray49|grey49|gray50|grey50|gray51|grey51|gray52|grey52|gray53|grey53|gray54|grey54|gray55|grey55|gray56|grey56|gray57|grey57|gray58|grey58|gray59|grey59|gray60|grey60|gray61|grey61|gray62|grey62|gray63|grey63|gray64|grey64|gray65|grey65|gray66|grey66|gray67|grey67|gray68|grey68|gray69|grey69|gray70|grey70|gray71|grey71|gray72|grey72|gray73|grey73|gray74|grey74|gray75|grey75|gray76|grey76|gray77|grey77|gray78|grey78|gray79|grey79|gray80|grey80|gray81|grey81|gray82|grey82|gray83|grey83|gray84|grey84|gray85|grey85|gray86|grey86|gray87|grey87|gray88|grey88|gray89|grey89|gray90|grey90|gray91|grey91|gray92|grey92|gray93|grey93|gray94|grey94|gray95|grey95|gray96|grey96|gray97|grey97|gray98|grey98|gray99|grey99|gray100|grey100|dark grey|DarkGrey|dark gray|DarkGray|dark blue|DarkBlue|dark cyan|DarkCyan|dark magenta|DarkMagenta|dark red|DarkRed|light green|LightGreen)'" /> <RegExpr attribute="Error" context="#pop#pop" String="\S" /> </context> diff --git a/kate/data/pascal.xml b/kate/data/pascal.xml index 0d9ec652e..e8d953c40 100644 --- a/kate/data/pascal.xml +++ b/kate/data/pascal.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="Pascal" - section="Sources" + section="Sources" version="1.23" - kateversion="2.5" + kateversion="2.5" extensions="*.p;*.pas;*.pp" - mimetype="text/x-pascal" + mimetype="text/x-pascal" priority="8" indenter="pascal" author="Unnamed people and Liu Sizhuang(oldherl@gmail.com)" diff --git a/kate/data/perl.xml b/kate/data/perl.xml index fccee90db..33bef8337 100644 --- a/kate/data/perl.xml +++ b/kate/data/perl.xml @@ -39,7 +39,7 @@ Enhance tr/// and y/// support. --> -<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"> +<language name="Perl" version="1.29-1" kateversion="2.4" 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> diff --git a/kate/data/pgn.xml b/kate/data/pgn.xml index 082fdc728..6d3bda5d1 100644 --- a/kate/data/pgn.xml +++ b/kate/data/pgn.xml @@ -12,7 +12,7 @@ - Know bugs: * None. --> -<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"> +<language name="PGN" version="2.01-1" kateversion="2.4" 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 --git a/kate/data/php.xml b/kate/data/php.xml index bb97cb656..b7d30b7b7 100644 --- a/kate/data/php.xml +++ b/kate/data/php.xml @@ -2,6 +2,9 @@ <!-- Changes: +[ Version 1.43 (2013-10-11) ] +- added missing constants for sorting + [ Version 1.42 (2010-05-09) ] - fix handling of paamayim nekudotayim in ternary / case context, which used to lead to improper region starts @@ -61,7 +64,7 @@ Changes: <!ENTITY types "int|integer|bool|boolean|float|double|real|string|array|object"> ]> -<language name="PHP/PHP" indenter="cstyle" version="1.45" kateversion="2.5" section="Scripts" extensions="" priority="5" mimetype="" hidden="true"> +<language name="PHP/PHP" indenter="cstyle" version="1.44" kateversion="2.4" section="Scripts" extensions="" priority="5" mimetype="" hidden="true"> <highlighting> <list name="control structures"> <item>as</item> @@ -1456,7 +1459,9 @@ Changes: <item> SORTTO </item> <item> SORT_ASC </item> <item> SORT_DESC </item> + <item> SORT_FLAG_CASE </item> <item> SORT_LOCALE_STRING </item> + <item> SORT_NATURAL </item> <item> SORT_NUMERIC </item> <item> SORT_REGULAR </item> <item> SORT_STRING </item> @@ -5396,7 +5401,7 @@ Changes: <!-- Keywords --> <item> var </item> - + <!-- Constants --> <item>OCI_DEFAULT</item> <item>OCI_D_FILE</item> diff --git a/kate/data/picsrc.xml b/kate/data/picsrc.xml index 9f6c68750..57386f559 100644 --- a/kate/data/picsrc.xml +++ b/kate/data/picsrc.xml @@ -8,7 +8,7 @@ * Updated for 16-bit devices, etc.: Laurence Withers <lwithers@users.sf.net> --> -<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"> +<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"> <highlighting> <list name="directives"> diff --git a/kate/data/pig.xml b/kate/data/pig.xml index 1ac95c2f3..a3dc318fa 100644 --- a/kate/data/pig.xml +++ b/kate/data/pig.xml @@ -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.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"> +<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"> <highlighting> <list name="keywords"> <item> load </item> diff --git a/kate/data/pike.xml b/kate/data/pike.xml index 91d57d77b..461b0c17b 100644 --- a/kate/data/pike.xml +++ b/kate/data/pike.xml @@ -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.08" kateversion="2.5" section="Scripts" extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1" author="Paul Pogonyshev" license=""> +<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=""> <highlighting> <list name="keywords"> <item> break </item> diff --git a/kate/data/postscript.xml b/kate/data/postscript.xml index cafacc7ec..b590db232 100644 --- a/kate/data/postscript.xml +++ b/kate/data/postscript.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="PostScript" version="1.02" kateversion="2.5" section="Markup" extensions="*.ps;*.ai;*.eps" mimetype="application/postscript"> +<language name="PostScript" version="1.01" kateversion="2.1" section="Markup" extensions="*.ps;*.ai;*.eps" mimetype="application/postscript"> <highlighting> <list name="keywords"> <item> abs </item> diff --git a/kate/data/ppd.xml b/kate/data/ppd.xml index 759503e75..796bd9009 100644 --- a/kate/data/ppd.xml +++ b/kate/data/ppd.xml @@ -9,7 +9,7 @@ The following documentation is available for PPD: - 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"> +<language name="PostScript Printer Description" version="0.1" kateversion="2.4" section="Markup" extensions="*.ppd" author="Lukas Sommer" mimetype="application/vnd.cups-ppd" license="public domain"> <highlighting> diff --git a/kate/data/progress.xml b/kate/data/progress.xml index 0df2b6797..985a92091 100644 --- a/kate/data/progress.xml +++ b/kate/data/progress.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="progress" version="1.11" kateversion="2.5" section="Database" extensions="*.p;*.w;*.i;*.cls;" author="Rares Stanciulescu (rstanciu@operamail.com)" license="GPL"> +<language name="progress" version="1.10" kateversion="2.4" section="Database" extensions="*.p;*.w;*.i;*.cls;" author="Rares Stanciulescu (rstanciu@operamail.com)" license="GPL"> <highlighting> diff --git a/kate/data/prolog.xml b/kate/data/prolog.xml index e7fdde3db..e8e57fa5e 100644 --- a/kate/data/prolog.xml +++ b/kate/data/prolog.xml @@ -105,7 +105,7 @@ to make the rules more expressive. --> <!ENTITY bs "\"> ]> <language name="Prolog" section="Sources" - version="1.2" kateversion="2.5" + version="1.1-1" kateversion="2.3" mimetype="text/x-prolog" extensions="*.prolog;*.dcg;*.pro" author="Torsten Eichstädt (torsten.eichstaedt@web.de)" @@ -183,7 +183,7 @@ AL GUSTO (simple changes): may safely remove/comment out the rules in "term/nested/list/curly" below and handle it in the context "operator". - Disable arith_expr: replace "context="arith_expr"" w/ "context="#stay"" - in the rules in contexts "atomic" and "operator" (two or three occurences). + in the rules in contexts "atomic" and "operator" (two or three occurrences). - Disable indentation-based folding: in the section "general"@EOF:"folding". - General guidelines: Be nice to slow/old hardware: avoid RegExpr (start w/ a RegExpr, test, then find a replacement), else match a RegExpr as late as @@ -678,7 +678,7 @@ TODO sorted by priority This is only a goody to highlight arith ops and detect syntax errors. If it causes problems, disable it: exchange context="arith_expr" in - "atomic" and "operator" below with context="#stay" (two or three occurences) --> + "atomic" and "operator" below with context="#stay" (two or three occurrences) --> <context name="arith_expr" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" > <DetectChar char="(" context="nested_expr" beginRegion="nested" attribute="( ) [ ]" /> <DetectChar lookAhead="true" char=")" context="#pop" attribute="( ) [ ]" /> diff --git a/kate/data/protobuf.xml b/kate/data/protobuf.xml index 7058d5017..19e7d9784 100644 --- a/kate/data/protobuf.xml +++ b/kate/data/protobuf.xml @@ -1,6 +1,6 @@ <?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"> +<language name="Protobuf" version="2.40" kateversion="2.4" section="Sources" extensions="*.proto" mimetype="text/x-protobuf" author="Slawomir Mikula (slawek.mikula@gmail.com)" license="LGPL"> <highlighting> <list name="keywords"> <item> message </item> diff --git a/kate/data/puppet.xml b/kate/data/puppet.xml new file mode 100644 index 000000000..53fc1d633 --- /dev/null +++ b/kate/data/puppet.xml @@ -0,0 +1,856 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- + Puppet syntax highlighting file: + + Copyright (C) 2010 by Nick Shobe (nickshobe@gmail.com) + + This file is based on: + + Ruby syntax highlighting definition for Kate. + + Copyright (C) 2004 by Sebastian Vuorinen (sebastian dot vuorinen at helsinki dot fi) + Copyright (C) 2004 by Stefan Lang (langstefan@gmx.at) + Copyright (C) 2008 by Robin Pedersen (robinpeder@gmail.com) + + 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. +--> + +<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". --> +<!-- This is based on the ruby syntax file --> +<language + name="Puppet" + section="Scripts" + version="1.18" + kateversion="2.4" + extensions="*.pp;*.xml.erb;*.erb" + mimetype="application/x-puppet" + style="puppet" + indenter="ruby" + author="Nick Shobe (nickshobe@gmail.com), Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi), Robin Pedersen (robinpeder@gmail.com)" + license="LGPL" +> + <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> for </item> + <item> if </item> + <item> in </item> + <item> include </item> + <item> inherits </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="definitions"> + <item> alias </item> + <item> module </item> + <item> class </item> + <item> define </item> + <!--MOD<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="metaparameters"> + <!-- backquote ` --> + <item> alias </item> + <item> audit </item> + <item> subscribe </item> + <item> before </item> + <item> check </item> + <item> loglevel </item> + <item> noop </item> + <item> notify </item> + <item> require </item> + <item> schedule </item> + <item> stage </item> + <item> subscribe </item> + <item> tag </item> + </list> + + <list name="attention"> + <item> TODO </item> + <item> FIXME </item> + <item> NOTE </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"/> + <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="\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(else|elsif|rescue)\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="Definition" String="definitions" context="#stay" /> + <keyword attribute="Pseudo variable" String="pseudo-variables" context="check_div_1"/> + <keyword attribute="Metaparameters" String="metaparameters" context="check_div_2"/> + + <!-- puppet attributes attribute => value --> + <RegExpr attribute="Attribute" String="[a-zA-Z_0-9]+(?=\s*=>)" context="check_div_1"/> + + <!-- (global) vars starting with $ + Match them before $_. + --> + <RegExpr attribute="Variable" String="\$[a-zA-Z_0-9]+" context="check_div_1"/> + <RegExpr attribute="Variable" String="\$\-[a-zA-z_]\b" context="check_div_1"/> + + <RegExpr attribute="List" 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"/> + <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*<<-(?=\w+|["'])" beginRegion="HereDocument" /> + <RegExpr attribute="Operator" context="find_heredoc" String="\s*<<(?=\w+|["'])" beginRegion="HereDocument" /> + + <DetectChar attribute="Operator" char="." context="#stay"/> + <Detect2Chars attribute="Operator" char="&" char1="&" context="#stay"/> + <Detect2Chars attribute="Operator" char="|" char1="|" context="#stay"/> + <RegExpr attribute="Operator" String="\s[\?\:\%]\s" context="#stay"/> + <RegExpr attribute="Operator" String="[|&<>\^\+*~\-=]+" 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=":(@{1,2}|\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?" context="check_div_1"/> + <RegExpr attribute="Symbol" String=":\[\]=?" contex="check_div_1"/> + + <DetectChar attribute="String" char=""" 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*[%](?=[Qqxw]?[^\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"/> + <AnyChar attribute="Operator" String="/%" context="#pop#pop"/> + </context> + + <!-- A slash is division operator if it's the first character, or if preceeded and followed by whitespace --> + <context name="check_div_2" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop" lineEndContext="#pop"> + <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"/> + <RegExpr attribute="Operator" String="/(?=\s)" context="#pop#pop#pop"/> + </context> + + <context name="Line Continue" attribute="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="Normal"/> + </context> + + <context name="Find closing block brace" attribute="Normal Text" lineEndContext="#stay"> + <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="\\\"" context="#stay"/> + <RegExpr attribute="Variable" String="\$\{[a-zA-Z_0-9]+\}" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <DetectChar char=""" 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"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <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"/> + <RegExpr attribute="Variable" String="\$\{[a-zA-Z_0-9]+\}" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <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"/> + </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"/> + <!-- Highlight substitution as code. --> + <IncludeRules context="Normal"/> + </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="check_div_2_pop"/> --> + <RegExpr attribute="Subclass" String="\.?[_a-z]\w*(\?|\!)?" context="#stay"/> + <RegExpr attribute="Constant" String="[A-Z]+_*(\d|[a-z])\w*(?=[^\w\d\.\:])" context="check_div_2_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="check_div_2_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="=+-*/%|&[]{}~" 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"/> + <keyword attribute="Alert" String="attention" context="#stay"/> + </context> + + <context name="General Comment" attribute="Comment" lineEndContext="#pop"> + <keyword attribute="Dec" String="attention" context="#stay"/> + </context> + + <context name="RDoc Label" attribute="RDoc Value" lineEndContext="#pop"/> + + <!-- HEREDOC support + The contexts below support both normal and indented heredocs + --> + <!-- here we markup the heredoc markers --> + <context name="find_heredoc" attribute="Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="apostrophed_normal_heredoc" String="'(\w+)'" /> + <RegExpr attribute="Keyword" context="normal_heredoc" String=""?(\w+)"?" /> + </context> + <context name="find_indented_heredoc" attribute="Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="apostrophed_indented_heredoc" String="'(\w+)'" /> + <RegExpr attribute="Keyword" context="indented_heredoc" String=""?(\w+)"?" /> + </context> + <!-- these are the real heredoc contexts --> + <context name="indented_heredoc" attribute="Here Document" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^\s*%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" firstNonSpace="true"/> + <IncludeRules context="heredoc_rules" /> + </context> + <context name="apostrophed_indented_heredoc" attribute="Here Document" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^\s*%1$" dynamic="true" endRegion="HereDocument"/>--> + <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"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/> + <IncludeRules context="heredoc_rules" /> + </context> + <context name="apostrophed_normal_heredoc" attribute="Here Document" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^%1$" dynamic="true" endRegion="HereDocument"/>--> + <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\{" /> + <RegExpr attribute="GDL input" context="gdl_token_array_3" String="w\[" /> + <RegExpr attribute="GDL input" context="gdl_token_array_4" String="w<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_token_array_5" String="w([^\s\w])" /> + + <!-- handle apostrophed strings --> + <RegExpr attribute="GDL input" context="gdl_apostrophed_1" String="q\(" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_2" String="q\{" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_3" String="q\[" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_4" String="q<" /> + <!-- 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\{" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_3" String="x\[" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_4" String="x<" /> + <!-- 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\{" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_3" String="r\[" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_4" String="r<" /> + <!-- 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 + --> + <RegExpr attribute="GDL input" context="gdl_dq_string_1" String="Q?\(" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_2" String="Q?\{" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_3" String="Q?\[" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_4" String="Q?<" /> + <!-- 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" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_1_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <DetectChar attribute="String" context="gdl_dq_string_1_nested" char="(" /> + <DetectChar attribute="String" context="#pop" char=")" /> + </context> + <!-- note that here substitution should win over nesting --> + <context name="gdl_dq_string_2" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="String" context="gdl_dq_string_2_nested" char="{" /> + </context> + <context name="gdl_dq_string_2_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_2_nested" char="{" /> + <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"/> + <DetectChar attribute="String" context="gdl_dq_string_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_3_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_3_nested" char="[" /> + <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=">" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_4_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_4_nested" char="<" /> + <DetectChar attribute="String" context="#pop" char=">" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_dq_string_5" attribute="String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="dq_string_rules" /> + <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 dq_string contexts --> + <context name="dq_string_rules" attribute="String" lineEndContext="#stay" > + <Detect2Chars attribute="String" char="\" char1="\" context="#stay"/> + <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"/> + <DetectChar attribute="String" context="gdl_token_array_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_1_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <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"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="String" context="gdl_token_array_2_nested" char="{" /> + </context> + <context name="gdl_token_array_2_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <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"/> + <DetectChar attribute="String" context="gdl_token_array_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_3_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <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=">" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_4_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_4_nested" char="<" /> + <DetectChar attribute="String" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_token_array_5" attribute="String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="token_array_rules" /> + <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"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_1_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <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"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_2_nested" char="{" /> + </context> + <context name="gdl_apostrophed_2_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <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"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_3_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <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=">" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_4_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="<" /> + <DetectChar attribute="Raw String" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_apostrophed_5" attribute="Raw String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="apostrophed_rules" /> + <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"/> + <DetectChar attribute="Command" context="gdl_shell_command_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_1_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <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"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="Command" context="gdl_shell_command_2_nested" char="{" /> + </context> + <context name="gdl_shell_command_2_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <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"/> + <DetectChar attribute="Command" context="gdl_shell_command_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_3_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <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=">" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_4_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="<" /> + <DetectChar attribute="Command" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_shell_command_5" attribute="Command" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="shell_command_rules" /> + <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"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_1_nested" char="(" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\)[uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_1_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <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"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\}[uiomxn]*" endRegion="GdlInput" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_2_nested" char="{" /> + </context> + <context name="gdl_regexpr_2_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <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"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_3_nested" char="[" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\][uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_3_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <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=">" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="<" /> + <RegExpr attribute="GDL input" context="#pop#pop" String=">[uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_4_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="<" /> + <DetectChar attribute="Regular Expression" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_regexpr_5" attribute="Regular Expression" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="regexpr_rules" /> + <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"/> + <itemData name="Definition" defStyleNum="dsKeyword"/> + <itemData name="Pseudo variable" defStyleNum="dsDecVal"/> + + <itemData name="Dec" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <!--MOD<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"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Raw String" defStyleNum="dsString"/> + <itemData name="Command" defStyleNum="dsString"/> +<!-- <itemData name="Message" defStyleNum="dsNormal" color="#034B8E"/> --> + <itemData name="Regular Expression" defStyleNum="dsOthers"/> + <itemData name="Substitution" defStyleNum="dsOthers"/> + <itemData name="Data" defStyleNum="dsNormal"/> + <!-- short for 'general delimited input' --> + <itemData name="GDL input" defStyleNum="dsOthers" /> + + + <itemData name="Variable" defStyleNum="dsDataType"/> + + <itemData name="Constant" defStyleNum="dsDataType"/> + <itemData name="List" defStyleNum="dsDataType"/> + <itemData name="Constant Value" defStyleNum="dsDataType"/> + <itemData name="Attribute" defStyleNum="dsNormal"/> + <itemData name="Metaparameters" defStyleNum="dsNormal"/> + <itemData name="Member" defStyleNum="dsNormal"/> + <itemData name="Instance Variable" defStyleNum="dsOthers"/> + <itemData name="Class Variable" defStyleNum="dsOthers"/> + + <itemData name="Subclass" defStyleNum="dsNormal"/> + + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Blockcomment" defStyleNum="dsComment"/> + <itemData name="Region Marker" defStyleNum="dsNormal"/> + <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="Alert" defStyleNum="dsAlert" /> + + <itemData name="Delimiter" defStyleNum="dsNormal"/> + <itemData name="Expression" defStyleNum="dsOthers"/> + <itemData name="Operator" defStyleNum="dsNormal"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + <keywords casesensitive="1" weakDeliminator="!?"/> + </general> +</language> diff --git a/kate/data/purebasic.xml b/kate/data/purebasic.xml index d6e454677..b38daa56b 100644 --- a/kate/data/purebasic.xml +++ b/kate/data/purebasic.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="keywords"> <item> For </item> diff --git a/kate/data/python.xml b/kate/data/python.xml index d9cda5349..9cbae2df1 100644 --- a/kate/data/python.xml +++ b/kate/data/python.xml @@ -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.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=""> +<language name="Python" version="2.22" style="python" kateversion="2.4" 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> @@ -361,7 +361,7 @@ <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"/> @@ -432,14 +432,14 @@ <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="Tuple" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true"> <DetectSpaces/> <DetectChar attribute="Normal Text" char=")" context="#pop" endRegion="Tuple"/> @@ -451,7 +451,7 @@ <context name="Hash comment" attribute="Comment" lineEndContext="#pop"> <IncludeRules context="##Alerts" /> - <IncludeRules context="##Modelines" /> + <IncludeRules context="##Modelines" /> </context> <context name="Tripple A-comment" attribute="Comment" lineEndContext="#stay" noIndentationBasedFolding="true"> diff --git a/kate/data/qmake.xml b/kate/data/qmake.xml index 622024fac..821213a14 100644 --- a/kate/data/qmake.xml +++ b/kate/data/qmake.xml @@ -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.3" kateversion="2.5" author="Milian Wolff (mail@milianw.de)" license="LGPL"> +<language name="QMake" section="Other" extensions="*.pro;*.pri;*.prf;" mimetype="" version="1.2" kateversion="2.0" author="Milian Wolff (mail@milianw.de)" license="LGPL"> <highlighting> <list name="variables"> diff --git a/kate/data/qt4.xml b/kate/data/qt4.xml index 02b6ba47f..2c1d1e099 100644 --- a/kate/data/qt4.xml +++ b/kate/data/qt4.xml @@ -9,10 +9,10 @@ Copyright (c) 2012 by Alex Turbov (i.zaufi@gmail.com) --> <language - name="C++11/Qt4" + name="C++/Qt4" section="Sources" - version="1.01" - kateversion="2.5" + version="1.2" + kateversion="2.4" indenter="cstyle" extensions="*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" @@ -1551,10 +1551,10 @@ </list> <contexts> - <!-- Base context for C++11 and Qt highlighting to be used as standalone syntax --> + <!-- Base context for C++ and Qt highlighting to be used as standalone syntax --> <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> <IncludeRules context="DetectQt4Extensions" /> - <IncludeRules context="##C++11" /> + <IncludeRules context="##C++" /> </context> <!-- This context can be used from other (alternative) C++ syntax files @@ -1582,11 +1582,11 @@ <itemDatas> <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" /> - <itemData name="Qt4 Extensions" defStyleNum="dsNormal" spellChecking="false" /> - <itemData name="Qt4 Types" defStyleNum="dsNormal" spellChecking="false" /> - <itemData name="Qt4 Classes" defStyleNum="dsNormal" spellChecking="false" /> - <itemData name="Qt4 Functions" defStyleNum="dsNormal" spellChecking="false" /> - <itemData name="Qt4 Macros" defStyleNum="dsNormal" spellChecking="false" /> + <itemData name="Qt4 Extensions" defStyleNum="dsOthers" spellChecking="false" /> + <itemData name="Qt4 Types" defStyleNum="dsOthers" spellChecking="false" /> + <itemData name="Qt4 Classes" defStyleNum="dsOthers" spellChecking="false" /> + <itemData name="Qt4 Functions" defStyleNum="dsOthers" spellChecking="false" /> + <itemData name="Qt4 Macros" defStyleNum="dsOthers" spellChecking="false" /> </itemDatas> </highlighting> diff --git a/kate/data/r.xml b/kate/data/r.xml index 041af6344..1c5048b7f 100644 --- a/kate/data/r.xml +++ b/kate/data/r.xml @@ -7,7 +7,7 @@ R : http://www.r-project.org/ RKWard : http://rkward.sourceforge.net/ --> -<language version="2.08" kateversion="2.5" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL"> +<language version="2.07-1" kateversion="2.5" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL"> <highlighting> <list name="controls"> diff --git a/kate/data/rapidq.xml b/kate/data/rapidq.xml index 725f1a08c..cef5f493c 100644 --- a/kate/data/rapidq.xml +++ b/kate/data/rapidq.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="RapidQ" version="1.02" kateversion="2.5" section="Sources" extensions="*.rqb" author="Tiberiu Dragulinescu" license="LGPL"> +<language name="RapidQ" version="1.01" kateversion="2.1" section="Sources" extensions="*.rqb" author="Tiberiu Dragulinescu" license="LGPL"> <highlighting> <list name="keywords"> <item>abs</item> diff --git a/kate/data/relaxng.xml b/kate/data/relaxng.xml index 405439cf0..974f37ff5 100644 --- a/kate/data/relaxng.xml +++ b/kate/data/relaxng.xml @@ -16,8 +16,8 @@ - Namespace rules --> -<language version="0.9" - kateversion="2.5" +<language version="0.8" + kateversion="2.1" name="RELAX NG" section="Markup" extensions="*.rng;*.RNG" diff --git a/kate/data/relaxngcompact.xml b/kate/data/relaxngcompact.xml index 60d0651f6..a44012fba 100644 --- a/kate/data/relaxngcompact.xml +++ b/kate/data/relaxngcompact.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="RelaxNG-Compact" version="0.3" kateversion="2.5" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL"> +<language name="RelaxNG-Compact" version="0.2" kateversion="2.4" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL"> <highlighting> <list name="Keywords"> <item> default </item> diff --git a/kate/data/rest.xml b/kate/data/rest.xml index 2e6b55b0f..76c476a7a 100644 --- a/kate/data/rest.xml +++ b/kate/data/rest.xml @@ -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.03" kateversion="2.5" casesensitive="1"> +<language name="reStructuredText" extensions="*.rst" section="Markup" mimetype="text/x-rst" version="1.02" kateversion="2.4" casesensitive="1"> <highlighting> diff --git a/kate/data/restructuredtext.xml b/kate/data/restructuredtext.xml index c798e8f43..190744860 100644 --- a/kate/data/restructuredtext.xml +++ b/kate/data/restructuredtext.xml @@ -1,6 +1,6 @@ <?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"> +<language name="Restructured Text" version="1.0" kateversion="2.4" section="Markup" extensions="*.rst" author="Massimiliano Torromeo (massimiliano.torromeo@gmail.com)" license="LGPL"> <highlighting> <contexts> diff --git a/kate/data/rexx.xml b/kate/data/rexx.xml index a9861bafd..b22f65d0d 100644 --- a/kate/data/rexx.xml +++ b/kate/data/rexx.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="REXX" version="1.02" kateversion="2.5" section="Scripts" extensions="*.rex" mimetype=""> +<language name="REXX" version="1.01" kateversion="2.3" section="Scripts" extensions="*.rex" mimetype=""> <highlighting> <list name="instructions"> <item> arg </item> diff --git a/kate/data/rhtml.xml b/kate/data/rhtml.xml index 62945fa3d..d4a21ba50 100644 --- a/kate/data/rhtml.xml +++ b/kate/data/rhtml.xml @@ -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.02" kateversion="2.5" section="Markup" extensions="*.rhtml;*.html.erb" mimetype="" author="Richard Dale rdale@foton.es" license="LGPL"> +<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"> <highlighting> @@ -875,7 +875,7 @@ <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"> @@ -940,7 +940,7 @@ <DetectChar attribute="String" context="#pop" char=">" /> </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"> @@ -1004,7 +1004,7 @@ <DetectChar attribute="Raw String" context="#pop" char=">" /> </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"> @@ -1068,7 +1068,7 @@ <DetectChar attribute="Command" context="#pop" char=">" /> </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"> @@ -1134,7 +1134,7 @@ <DetectChar attribute="Regular Expression" context="#pop" char=">" /> </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"> diff --git a/kate/data/rib.xml b/kate/data/rib.xml index d3080aa91..8472016a9 100644 --- a/kate/data/rib.xml +++ b/kate/data/rib.xml @@ -5,7 +5,7 @@ <!--By David Williams--> <!--Email david@david-williams.info--> -<language name="RenderMan RIB" version="1.01" kateversion="2.5" section="Other" mimetype="" extensions="*.rib" author="David Williams <david@david-williams.info>" license="LGPL"> +<language name="RenderMan RIB" version="1.00" kateversion="2.3" section="Other" mimetype="" extensions="*.rib" author="David Williams <david@david-williams.info>" license="LGPL"> <highlighting> <list name="Graphics States"> <item> AreaLightSource </item> diff --git a/kate/data/rpmspec.xml b/kate/data/rpmspec.xml index e08b9776e..f93abe526 100644 --- a/kate/data/rpmspec.xml +++ b/kate/data/rpmspec.xml @@ -8,7 +8,7 @@ <!ENTITY os_conditionals_names "(ifos|ifnos)"> <!ENTITY lookahead_whitespace_eol "(?=($| |\t))"> ]> -<language name="RPM Spec" version="2.04" kateversion="2.5" section="Other" extensions="*.spec" mimetype="" license="public domain"> +<language name="RPM Spec" version="2.03" kateversion="2.4" 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). --> @@ -381,7 +381,7 @@ </context> <!-- This context handles quoted strings in %if statements. WARNING: Make sure that you - switch to this context _after_ parsing the starting ", because at the first occurence + switch to this context _after_ parsing the starting ", because at the first occurrence of " this context switches back. --> <context attribute="String" lineEndContext="#pop" name="quoted strings in if statements"> <!-- Handle \ --> diff --git a/kate/data/rsiidl.xml b/kate/data/rsiidl.xml index 94380b166..cea37646d 100644 --- a/kate/data/rsiidl.xml +++ b/kate/data/rsiidl.xml @@ -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.05" kateversion="2.5" section="Sources" extensions="*.pro" mimetype="text/x-rsiidl-src" author="Markus Fraenz (fraenz@linmpi.mpg.de)" license=""> +<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=""> <highlighting> <list name="reserved words"> <item> For </item> @@ -39,6 +39,8 @@ <item> Common </item> <item> Of </item> <item> On_ioerror </item> + <item> Switch </item> + <item> Endswitch </item> </list> <list name="system variables"> <item>dpi</item> diff --git a/kate/data/ruby.xml b/kate/data/ruby.xml index e2e8e2d25..4b60a1951 100644 --- a/kate/data/ruby.xml +++ b/kate/data/ruby.xml @@ -31,7 +31,7 @@ <!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". --> <language name="Ruby" section="Scripts" - version="1.28" kateversion="2.5" + version="1.27" kateversion="2.4" extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec" mimetype="application/x-ruby" style="ruby" indenter="ruby" diff --git a/kate/data/sather.xml b/kate/data/sather.xml index 4cc8f4ce2..472ca8788 100644 --- a/kate/data/sather.xml +++ b/kate/data/sather.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Sather" version="1.04" kateversion="2.5" section="Sources" extensions="*.sa" mimetype="text/x-sather-src" casesensitive="1"> +<language name="Sather" version="1.03" kateversion="2.1" section="Sources" extensions="*.sa" mimetype="text/x-sather-src" casesensitive="1"> <highlighting> <list name="keywords"> <item> and </item> diff --git a/kate/data/scala.xml b/kate/data/scala.xml index cbb60b17b..b2171842f 100644 --- a/kate/data/scala.xml +++ b/kate/data/scala.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Scala" version="1.01" kateversion="2.5" section="Sources" +<language name="Scala" version="1.0" kateversion="2.4" section="Sources" extensions="*.scala" mimetype="text/x-scala" license="LGPL" author="Stephane Micheloud (stephane.micheloud@epfl.ch)"> <!-- diff --git a/kate/data/scheme.xml b/kate/data/scheme.xml index a8e33581e..4ff5086ae 100644 --- a/kate/data/scheme.xml +++ b/kate/data/scheme.xml @@ -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.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"> +<language version="1.13-1" kateversion="2.4" 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> <= </item> diff --git a/kate/data/sci.xml b/kate/data/sci.xml index 7b9d4c001..0a792e1bb 100644 --- a/kate/data/sci.xml +++ b/kate/data/sci.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="scilab" version="1.04" kateversion="2.5" section="Scientific" extensions="*.sci;*.sce" mimetype="text/x-sci"> +<language name="scilab" version="1.03" kateversion="2.3" section="Scientific" extensions="*.sci;*.sce" mimetype="text/x-sci"> <highlighting> <list name="Structure-keywords"> <item> do </item> diff --git a/kate/data/scss.xml b/kate/data/scss.xml index e80c169a2..69a5826a6 100644 --- a/kate/data/scss.xml +++ b/kate/data/scss.xml @@ -3,712 +3,845 @@ <!-- - Kate SCSS syntax highlighting definition - Modified the Kate CSS syntax highlighting definition to support SCSS. - This file should be merged with any updates to the normal Kate CCS definition (see note on version numbering in changelog for 1.2.03.0). - The latest version of this file can be found at https://gist.github.com/958598 +Kate SCSS syntax highlighting definition +Modified the Kate CSS syntax highlighting definition to support SCSS. +This file should be merged with any updates to the normal Kate CCS definition (see note on version numbering in changelog for 1.2.03.0). +The latest version of this file can be found at https://gist.github.com/958598 - Changelog: +Changelog: - - Version 1.2.03.1, by Tijn Schuurmans - - Added basic support for "@include mixin();" - - Clean the indentation to use 4 spaces everywhere +- Version 1.2.03.6, by Mte90 +- Css3 Tag - - Version 1.2.03.0, by Evan Sosenko - - Added basic SCSS syntax support (e.g. nesting). - - New version numbering: version 1.x.xx.y is for SCSS, where x.xx is forked version of original CSS syntax file, and y is minor revision to SCSS support. +- Version 1.2.03.1, by Tijn Schuurmans +- Added basic support for "@include mixin();" +- Clean the indentation to use 4 spaces everywhere --> -<language name="SCSS" version="2.06" kateversion="2.5" section="Markup" extensions="*.scss" indenter="cstyle" - mimetype="text/css" 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-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-shadow </item> - <item> box-sizing </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> - - <!-- 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> - - <!-- Gecko rendering engine CSS value extensions --> - <item> -moz-box </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"> - <LineContinue/> - <DetectSpaces/> - <IncludeRules context="FindRuleSets" /> - </context> - - <!-- to be included --> - <!-- finds rules and detects nesting --> - <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="Include" String="@include\b" /> - <RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" /> - <RegExpr attribute="Variable" context="#stay" String="\$[^:]*" /> - <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"> - <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=""" /> - <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="*" beginRegion="comment" /> - <Detect2Chars attribute="Comment" context="sassComment" char="/" char1="/" beginRegion="sassComment" /> - </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="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" /> - </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="Normal Text" lineEndContext="#stay" name="Include"> - <DetectChar attribute="At Rule" context="#pop" char=";" /> - <IncludeRules context="FindValues" /> - <IncludeRules context="FindStrings" /> - <IncludeRules context="FindComments" /> - <keyword attribute="Value" context="PropParen" String="paren" /> - </context> - - <context attribute="Comment" lineEndContext="#pop" name="sassComment"> - </context> - - <context attribute="Comment" lineEndContext="#stay" name="Comment"> - <DetectSpaces/> - <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" /> - <IncludeRules context="##Alerts" /> - <DetectIdentifier/> - </context> - - <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet"> - <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" /> - <IncludeRules context="FindRuleSets" /> - <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"> - <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" /> - <!-- 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="Variable" context="#stay" String="\$[^;]*" /> - <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=""" /> - <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="\\["']" /> - <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"/> - <itemData name="Variable" defStyleNum="dsNormal" spellChecking="false"/> - </itemDatas> - </highlighting> - <general> - <keywords casesensitive="0" weakDeliminator="-%"/> - <comments> - <comment name="multiLine" start="/*" end="*/" /> - </comments> - </general> +<language name="SCSS" version="2.04" kateversion="2.4" section="Markup" extensions="*.scss" indenter="cstyle" mimetype="text/css" 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"> + <LineContinue/> + <DetectSpaces/> + <IncludeRules context="FindRuleSets" /> + </context> + + <!-- to be included --> + <!-- finds rules and detects nesting --> + <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="Include" String="@include\b" /> + <RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" /> + <RegExpr attribute="Variable" context="#stay" String="\$[^:]*" /> + <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"> + <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=""" /> + <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="*" beginRegion="comment" /> + <Detect2Chars attribute="Comment" context="sassComment" char="/" char1="/" beginRegion="sassComment" /> + </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="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" /> + </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="Normal Text" lineEndContext="#stay" name="Include"> + <DetectChar attribute="At Rule" context="#pop" char=";" /> + <IncludeRules context="FindValues" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindComments" /> + <keyword attribute="Value" context="PropParen" String="paren" /> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="sassComment"> + </context> + + <context attribute="Comment" lineEndContext="#stay" name="Comment"> + <DetectSpaces/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet"> + <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" /> + <IncludeRules context="FindRuleSets" /> + <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"> + <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" /> + <!-- 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="Variable" context="#stay" String="\$[^;]*" /> + <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=""" /> + <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="\\["']" /> + <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"/> + <itemData name="Variable" defStyleNum="dsNormal" spellChecking="false"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="-%"/> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + </general> </language> diff --git a/kate/data/sed.xml b/kate/data/sed.xml index 6ed220694..095d440a1 100644 --- a/kate/data/sed.xml +++ b/kate/data/sed.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <contexts> <context name="BeginningOfLine" attribute="Normal" lineEndContext="#stay"> diff --git a/kate/data/sgml.xml b/kate/data/sgml.xml index c9d8fedf6..2292c3195 100644 --- a/kate/data/sgml.xml +++ b/kate/data/sgml.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="SGML" version="1.03" kateversion="2.5" section="Markup" extensions="*.sgml" mimetype="text/sgml"> +<language name="SGML" version="1.02" kateversion="2.1" section="Markup" extensions="*.sgml" mimetype="text/sgml"> <highlighting> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" > diff --git a/kate/data/sieve.xml b/kate/data/sieve.xml index c0cdc36ef..95ef08b1d 100644 --- a/kate/data/sieve.xml +++ b/kate/data/sieve.xml @@ -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.06" kateversion="2.5" section="Scripts" extensions="*.siv" mimetype="application/sieve" priority="5" author="Petter E. Stokke" license=""> +<language name="Sieve" version="1.05" kateversion="2.4" section="Scripts" extensions="*.siv" mimetype="application/sieve" priority="5" author="Petter E. Stokke" license=""> <highlighting> <list name="keywords"> <item> require </item> diff --git a/kate/data/sisu.xml b/kate/data/sisu.xml index 7b3118a1b..11f9e50b2 100644 --- a/kate/data/sisu.xml +++ b/kate/data/sisu.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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" > +<language name="SiSU" version="1.02" section="Markup" kateversion="2.4" extensions="*.sst;*.ssm;*.ssi;*._sst;*.-sst;" author="Ralph Amissah (ralph.amissah@gmail.com)" license="LGPL" > <highlighting> <list name="somename"> <item> class </item> diff --git a/kate/data/sml.xml b/kate/data/sml.xml index 1a87f2519..eeae780fc 100644 --- a/kate/data/sml.xml +++ b/kate/data/sml.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="SML" version="1.07" kateversion="2.5" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann (cullmann@kde.org)" license="LGPL"> +<language name="SML" version="1.06" kateversion="2.1" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann (cullmann@kde.org)" license="LGPL"> <highlighting> <list name="keywords"> <item> abstype </item> diff --git a/kate/data/spice.xml b/kate/data/spice.xml index ee28dcaba..03b183acf 100644 --- a/kate/data/spice.xml +++ b/kate/data/spice.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <contexts> diff --git a/kate/data/sql-postgresql.xml b/kate/data/sql-postgresql.xml index f7c13c56d..9c88c7fd1 100644 --- a/kate/data/sql-postgresql.xml +++ b/kate/data/sql-postgresql.xml @@ -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.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=""> +<language name="SQL (PostgreSQL)" version="1.12" kateversion="2.4" 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> diff --git a/kate/data/sql.xml b/kate/data/sql.xml index 10da3ca33..644967314 100644 --- a/kate/data/sql.xml +++ b/kate/data/sql.xml @@ -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.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"> +<language name="SQL" version="1.16" kateversion="2.4" 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> diff --git a/kate/data/stata.xml b/kate/data/stata.xml index 56c10f251..f28600e82 100644 --- a/kate/data/stata.xml +++ b/kate/data/stata.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Stata" version="2.01" kateversion="2.5" section="Sources" extensions="*.do; *.ado; *.doh; *.DO; *.ADO; *.DOH" +<language name="Stata" version="2.00" kateversion="2.4" section="Sources" extensions="*.do; *.ado; *.doh; *.DO; *.ADO; *.DOH" casesensitive="1" priority="5" author="Larry Radbill (Larry.Radbill gmail com)" license="LGPL" > <highlighting> diff --git a/kate/data/systemc.xml b/kate/data/systemc.xml index 0b24ce2d0..382005bb2 100644 --- a/kate/data/systemc.xml +++ b/kate/data/systemc.xml @@ -7,7 +7,7 @@ ================================================================================ July 17th 2008 Initial version --> -<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"> +<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"> <highlighting> <list name="systemc_keywords"> diff --git a/kate/data/systemverilog.xml b/kate/data/systemverilog.xml index 7c3d8c1c0..a13d3fc19 100644 --- a/kate/data/systemverilog.xml +++ b/kate/data/systemverilog.xml @@ -39,7 +39,7 @@ <!-- --> <!--***********************************************************************--> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="key_deprecated"> <item> defparam </item> diff --git a/kate/data/tads3.xml b/kate/data/tads3.xml index 6ab3abf5a..9114633e6 100644 --- a/kate/data/tads3.xml +++ b/kate/data/tads3.xml @@ -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.01" kateversion="2.5" + version="1.0" kateversion="2.4" indenter="cstyle" extensions="*.t;*.h" mimetype="" diff --git a/kate/data/tcl.xml b/kate/data/tcl.xml index ae2468f84..88f84c88e 100644 --- a/kate/data/tcl.xml +++ b/kate/data/tcl.xml @@ -28,7 +28,7 @@ - Fixed detection of varaibles with names containing serval namespace delimiters (::) --> -<language name="Tcl/Tk" version="1.12" kateversion="2.5" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl"> +<language name="Tcl/Tk" version="1.11" kateversion="2.4" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl"> <highlighting> <list name="keywords"> <item> after </item> diff --git a/kate/data/tcsh.xml b/kate/data/tcsh.xml index e1d1bca48..1b3c20a6e 100644 --- a/kate/data/tcsh.xml +++ b/kate/data/tcsh.xml @@ -8,7 +8,7 @@ <!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following --> <!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name --> ]> -<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"> +<language name="Tcsh" version="0.2-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"> <!-- (c) 2006 Matthew Woehlke (mw_triad@users.sourceforge.net) Based on the bash highlighter by Wilbert Berendsen (wilbert@kde.nl) diff --git a/kate/data/template-toolkit.xml b/kate/data/template-toolkit.xml index d81bcdcd2..0424dac96 100644 --- a/kate/data/template-toolkit.xml +++ b/kate/data/template-toolkit.xml @@ -10,13 +10,13 @@ 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" +<language version="0.03-1" kateversion="2.4" author="Красимир Беров (k.berov@gmail.com)" license="Artistic" name="TT2" section="Markup" extensions="*.tt*;" casesensitive="TRUE"> <highlighting> @@ -97,7 +97,7 @@ <item>reverse</item> <item>join</item> <item>grep</item> - + <item>unshift</item> <item>push</item> <item>shift</item> @@ -137,7 +137,7 @@ <item>stderr</item> <item>null</item> <item>latex</item> - </list> + </list> <list name="operators"> <item> = </item> <item> != </item> @@ -190,7 +190,7 @@ <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="#" /> @@ -207,7 +207,7 @@ <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"/> @@ -216,7 +216,7 @@ <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" /> @@ -256,19 +256,19 @@ <DetectChar attribute="Types" context="types1" char="'" /> <DetectChar attribute="Types" context="types2" char=""" /> </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=""" /> </context> - + <context name="scripts" attribute="Normal Text" lineEndContext="#stay"> <Detect2Chars attribute="Comment" context="scripts_onelinecomment" char="/" char1="/" /> <Detect2Chars attribute="Comment" context="twolinecomment" char="/" char1="*" /> @@ -277,7 +277,7 @@ <keyword attribute="Function" context="#stay" String="functions" /> <StringDetect attribute="Keyword" context="tt2source" String="[%"/> <RegExpr attribute="HTML Tag" context="#pop" String="<\s*\/\s*script\s*>" insensitive="TRUE" /> - + <DetectChar attribute="String" context="doublequotestring" char=""" /> <DetectChar attribute="String" context="singlequotestring" char="'" /> <HlCOct attribute="Octal" context="#stay" /> @@ -295,9 +295,9 @@ <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" /> diff --git a/kate/data/texinfo.xml b/kate/data/texinfo.xml index 3c99808cb..d827a7a0f 100644 --- a/kate/data/texinfo.xml +++ b/kate/data/texinfo.xml @@ -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.3" kateversion="2.5"> +<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"> <highlighting> <!-- diff --git a/kate/data/textile.xml b/kate/data/textile.xml index a0e2d5d1d..50aa58800 100644 --- a/kate/data/textile.xml +++ b/kate/data/textile.xml @@ -7,16 +7,16 @@ --> <!DOCTYPE language SYSTEM "language.dtd" - [ + [ <!ENTITY strongregex "(\s|^)\*[^*]\w.*\w[^*]\*(\s|\.|,|;|:|\-|\?|$)"> <!ENTITY strikeoutregex "(\s|^)-[^-]\w.*\w[^-]-(\s|\.|,|;|:|\-|\?|$)"> <!ENTITY blockattrsregex "(\(\w+(#\w+)?\))?"> <!ENTITY formatregex "(>|<|=|<>)?"> <!ENTITY name "(?![0-9])[\w_:][\w.:_-]*"> ]> - -<language section="Markup" name="Textile" - version="1.2" kateversion="2.5" + +<language section="Markup" name="Textile" + version="1.1" kateversion="2.4" extensions="*.textile" priority="15" author="Alexander Kabakov (kabakov.as@gmail.com)" license="LGPL" > @@ -25,45 +25,45 @@ <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" > <StringDetect attribute="comment" context="comment" String="<!--" beginRegion="comment" /> <RegExpr attribute="macro" String="\{\{&name;\}\}" /> - + <RegExpr context="sectiontitle_block" String="^h1" /> - <RegExpr context="sectionheader_block" String="^h2" /> + <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\.%\?&=-]*' /> </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="-->" endRegion="comment" /> </context> - + <context attribute="common" name="inc" lineEndContext="#stay" > <RegExpr attribute="strong" String="&strongregex;" /> <RegExpr attribute="strikeout" minimal="true" String="&strikeoutregex;"/> @@ -72,21 +72,21 @@ <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" /> diff --git a/kate/data/tibasic.xml b/kate/data/tibasic.xml index 00351eeae..0b2d67dbd 100644 --- a/kate/data/tibasic.xml +++ b/kate/data/tibasic.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="TI Basic" version="1.02" kateversion="2.5" section="Scientific" extensions=""> +<language name="TI Basic" version="1.01" kateversion="2.3" section="Scientific" extensions=""> <highlighting> <list name="keywords"> <item>If </item> diff --git a/kate/data/txt2tags.xml b/kate/data/txt2tags.xml index c46f4a2f4..581f469f6 100644 --- a/kate/data/txt2tags.xml +++ b/kate/data/txt2tags.xml @@ -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.21" kateversion="2.5" casesensitive="1"> +<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.20" kateversion="2.4" casesensitive="1"> <highlighting> <contexts> diff --git a/kate/data/update-files.xml b/kate/data/update-files.xml index 5bf975995..dde5c9847 100644 --- a/kate/data/update-files.xml +++ b/kate/data/update-files.xml @@ -1,220 +1,221 @@ <!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.02"/> -<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.25"/> -<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.64"/> -<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="ABAP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/abap.xml" version="1.00"/> +<Definition name="ABC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/abc.xml" version="1.10"/> +<Definition name="ActionScript 2.0" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/actionscript.xml" version="1.0"/> +<Definition name="Ada" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ada.xml" version="1.07"/> +<Definition name="AHDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ahdl.xml" version="1.04"/> +<Definition name="AutoHotKey" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ahk.xml" version="1.0"/> +<Definition name="Alerts_indent" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/alert_indent.xml" version="1.09-1"/> +<Definition name="Alerts" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/alert.xml" version="1.09-1"/> +<Definition name="AMPLE" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ample.xml" version="0.2"/> +<Definition name="ANSI C89" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ansic89.xml" version="1.10-1"/> +<Definition name="Ansys" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ansys.xml" version="1.2"/> +<Definition name="Apache Configuration" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/apache.xml" version="1.11"/> +<Definition name="Asm6502" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm6502.xml" version="1.04"/> +<Definition name="AVR Assembler" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm-avr.xml" version="1.04-1"/> +<Definition name="Motorola DSP56k" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm-dsp56k.xml" version="1.01"/> +<Definition name="Motorola 68k (VASM/Devpac)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asm-m68k.xml" version="1.01"/> +<Definition name="ASN.1" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asn1.xml" version="1.01-1"/> +<Definition name="ASP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asp.xml" version="1.04"/> +<Definition name="Asterisk" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/asterisk.xml" version="1.00"/> +<Definition name="AWK" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/awk.xml" version="0.92"/> +<Definition name="Bash" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/bash.xml" version="2.17-1"/> +<Definition name="BibTeX" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/bibtex.xml" version="1.17"/> +<Definition name="B-Method" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/bmethod.xml" version="0.2"/> +<Definition name="CleanCSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ccss.xml" version="1.0"/> +<Definition name="CGiS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cgis.xml" version="1.02"/> +<Definition name="Cg" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cg.xml" version="1.11"/> +<Definition name="ChangeLog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/changelog.xml" version="1.04"/> +<Definition name="Chicken" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/chicken.xml" version="1.12-1"/> +<Definition name="Cisco" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cisco.xml" version="1.10"/> +<Definition name="Clipper" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/clipper.xml" version="1.05"/> +<Definition name="Clojure" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/clojure.xml" version="2-1"/> +<Definition name="CMake" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cmake.xml" version="1.26-1"/> +<Definition name="CoffeeScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/coffee.xml" version="1.4"/> +<Definition name="ColdFusion" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/coldfusion.xml" version="1.04"/> +<Definition name="Common Lisp" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/commonlisp.xml" version="1.05-1"/> +<Definition name="Component-Pascal" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/component-pascal.xml" version="1.05"/> +<Definition name="ConTeXt" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/context.xml" version="1.1"/> +<Definition name="C++" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cpp.xml" version="2.0-1"/> +<Definition name="Crack" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/crk.xml" version="1.1"/> <Definition name="CSS/PHP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/css-php.xml" version="2.08"/> -<Definition name="CSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/css.xml" version="2.09"/> -<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="CSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/css.xml" version="2.08"/> +<Definition name="C#" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cs.xml" version="1.15"/> +<Definition name="CUE Sheet" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/cue.xml" version="0.91"/> +<Definition name="Curry" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/curry.xml" version="0.3"/> +<Definition name="C" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/c.xml" version="1.45"/> <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="Debian Changelog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/debianchangelog.xml" version="0.68"/> +<Definition name="Debian Control" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/debiancontrol.xml" version="0.84"/> +<Definition name=".desktop" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/desktop.xml" version="1.05-1"/> +<Definition name="Diff" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/diff.xml" version="1.11"/> +<Definition name="Django HTML Template" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/djangotemplate.xml" version="1.3"/> +<Definition name="MS-DOS Batch" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dosbat.xml" version="0.30"/> +<Definition name="dot" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dot.xml" version="1.1"/> +<Definition name="DoxygenLua" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/doxygenlua.xml" version="1.01"/> +<Definition name="Doxygen" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/doxygen.xml" version="1.35-1"/> +<Definition name="DTD" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dtd.xml" version="1.02"/> +<Definition name="D" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/d.xml" version="1.62-1"/> +<Definition name="Eiffel" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/eiffel.xml" version="1.02"/> +<Definition name="Email" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/email.xml" version="1.00"/> <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="Euphoria" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/euphoria.xml" version="2.08-1"/> +<Definition name="E Language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/e.xml" version="0.22"/> +<Definition name="ferite" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ferite.xml" version="1.04"/> <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="Fortran" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fortran.xml" version="1.13"/> +<Definition name="FreeBASIC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/freebasic.xml" version="0.14"/> +<Definition name="FSharp" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fsharp.xml" version="0.0.1"/> +<Definition name="fstab" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/fstab.xml" version="1.00"/> +<Definition name="GAP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gap.xml" version="0.2-1"/> +<Definition name="GCCExtensions" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gcc.xml" version="0.3"/> +<Definition name="GDB Backtrace" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gdb.xml" version="1.0-1"/> +<Definition name="GDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gdl.xml" version="1.01"/> +<Definition name="GNU Gettext" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gettext.xml" version="2.00-1"/> +<Definition name="Git Rebase" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/git-rebase.xml" version="1.00"/> +<Definition name="GlossTex" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/glosstex.xml" version="0.01"/> +<Definition name="GLSL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/glsl.xml" version="1.03"/> +<Definition name="GNU Assembler" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gnuassembler.xml" version="1.10-1"/> +<Definition name="Gnuplot" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/gnuplot.xml" version="0.1"/> +<Definition name="Go" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/go.xml" version="1.04-1"/> +<Definition name="KDev-PG[-Qt] Grammar" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/grammar.xml" version="0.24-1"/> +<Definition name="Haml" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/haml.xml" version="1.1"/> +<Definition name="Haskell" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/haskell.xml" version="2.2"/> +<Definition name="PHP (HTML)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html-php.xml" version="1.99"/> +<Definition name="HTML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html.xml" version="1.99"/> +<Definition name="Quake Script" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/idconsole.xml" version="1.02"/> +<Definition name="IDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/idl.xml" version="1.07"/> +<Definition name="ILERPG" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ilerpg.xml" version="1.05-1"/> +<Definition name="Inform" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/inform.xml" version="1.23-1"/> +<Definition name="INI Files" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ini.xml" version="1.1"/> +<Definition name="Jam" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/jam.xml" version="0.3"/> +<Definition name="Javadoc" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/javadoc.xml" version="1.04"/> +<Definition name="JavaScript/PHP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/javascript-php.xml" version="1.22"/> +<Definition name="JavaScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/javascript.xml" version="1.22"/> +<Definition name="Java" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/java.xml" version="1.21"/> <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="JSP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/jsp.xml" version="1.02"/> +<Definition name="Julia" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/julia.xml" version="0.2-1"/> +<Definition name="KBasic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/kbasic.xml" version="1.02"/> +<Definition name="LaTeX" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/latex.xml" version="1.55"/> +<Definition name="LDIF" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ldif.xml" version="1.02"/> +<Definition name="LessCSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/less.xml" version="0.01"/> +<Definition name="Lex/Flex" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lex.xml" version="1.01-1"/> <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="Literate Curry" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/literate-curry.xml" version="0.2"/> +<Definition name="Literate Haskell" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/literate-haskell.xml" version="2.0.2-1"/> +<Definition name="Logtalk" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/logtalk.xml" version="1.51"/> +<Definition name="LPC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lpc.xml" version="0.76"/> +<Definition name="Lua" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/lua.xml" version="1.06"/> +<Definition name="M3U" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/m3u.xml" version="1.10-1"/> +<Definition name="GNU M4" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/m4.xml" version="1.1-1"/> +<Definition name="MAB-DB" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mab.xml" version="1.03"/> +<Definition name="Makefile" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/makefile.xml" version="2.0"/> +<Definition name="Mako" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mako.xml" version="1.0"/> +<Definition name="Mason" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mason.xml" version="1.06"/> +<Definition name="Mathematica" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mathematica.xml" version="8.0.4"/> +<Definition name="Matlab" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/matlab.xml" version="1.31-1"/> +<Definition name="Maxima" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/maxima.xml" version="0.16-1"/> <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="MEL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mel.xml" version="1.01"/> <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="MIPS Assembler" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mips.xml" version="1.03"/> +<Definition name="Modelica" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/modelica.xml" version="3.2-1"/> +<Definition name="Modelines" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/modelines.xml" version="1.0-1"/> +<Definition name="Modula-2" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/modula-2.xml" version="1.03"/> +<Definition name="MonoBasic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/monobasic.xml" version="1.01"/> +<Definition name="Music Publisher" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/mup.xml" version="1.06"/> +<Definition name="Intel x86 (NASM)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/nasm.xml" version="1.40"/> +<Definition name="Nemerle" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/nemerle.xml" version="0.32"/> +<Definition name="nesC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/nesc.xml" version="1.00-1"/> +<Definition name="noweb" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/noweb.xml" version="1.0"/> +<Definition name="Objective-C++" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/objectivecpp.xml" version="1.01-1"/> +<Definition name="Objective-C" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/objectivec.xml" version="1.07-1"/> +<Definition name="Objective Caml" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ocaml.xml" version="1.05"/> +<Definition name="Octave" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/octave.xml" version="1.02-1"/> +<Definition name="OORS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/oors.xml" version="1.1"/> +<Definition name="OPAL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/opal.xml" version="1.1"/> +<Definition name="OpenCL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/opencl.xml" version="1.44"/> +<Definition name="Pango" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pango.xml" version="0.1"/> <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="Perl" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/perl.xml" version="1.29-1"/> +<Definition name="PGN" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pgn.xml" version="2.01-1"/> +<Definition name="PHP/PHP" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/php.xml" version="1.44"/> +<Definition name="PicAsm" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/picsrc.xml" version="1.07"/> +<Definition name="Pig" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pig.xml" version="3.0"/> +<Definition name="Pike" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/pike.xml" version="1.07"/> +<Definition name="PostScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/postscript.xml" version="1.01"/> <Definition name="POV-Ray" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/povray.xml" version="1.2.1"/> -<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="PostScript Printer Description" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ppd.xml" version="0.1"/> +<Definition name="progress" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/progress.xml" version="1.10"/> +<Definition name="Prolog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/prolog.xml" version="1.1-1"/> +<Definition name="Protobuf" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/protobuf.xml" version="2.40"/> +<Definition name="Puppet" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/puppet.xml" version="1.18"/> +<Definition name="PureBasic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/purebasic.xml" version="3.91"/> +<Definition name="Python" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/python.xml" version="2.22"/> +<Definition name="QMake" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/qmake.xml" version="1.2"/> <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.03"/> -<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.06"/> -<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="C++11/Qt4" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/qt4.xml" version="1.2"/> +<Definition name="RapidQ" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rapidq.xml" version="1.01"/> +<Definition name="RelaxNG-Compact" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/relaxngcompact.xml" version="0.2"/> +<Definition name="RELAX NG" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/relaxng.xml" version="0.8"/> +<Definition name="Restructured Text" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/restructuredtext.xml" version="1.0"/> +<Definition name="reStructuredText" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rest.xml" version="1.02"/> +<Definition name="REXX" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rexx.xml" version="1.01"/> +<Definition name="Ruby/Rails/RHTML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rhtml.xml" version="1.01"/> +<Definition name="RenderMan RIB" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rib.xml" version="1.00"/> +<Definition name="RPM Spec" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rpmspec.xml" version="2.03"/> +<Definition name="RSI IDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/rsiidl.xml" version="1.04"/> +<Definition name="Ruby" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ruby.xml" version="1.27"/> +<Definition name="R Script" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/r.xml" version="2.07-1"/> +<Definition name="Sather" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sather.xml" version="1.03"/> +<Definition name="Scala" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/scala.xml" version="1.0"/> +<Definition name="Scheme" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/scheme.xml" version="1.13-1"/> +<Definition name="scilab" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sci.xml" version="1.03"/> +<Definition name="SCSS" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/scss.xml" version="2.04"/> +<Definition name="sed" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sed.xml" version="1.0"/> +<Definition name="SGML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sgml.xml" version="1.02"/> +<Definition name="Sieve" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sieve.xml" version="1.05"/> +<Definition name="SiSU" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sisu.xml" version="1.02"/> +<Definition name="SML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sml.xml" version="1.06"/> +<Definition name="Spice" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/spice.xml" version="1.01"/> <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="SQL (PostgreSQL)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sql-postgresql.xml" version="1.12"/> +<Definition name="SQL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/sql.xml" version="1.16"/> +<Definition name="Stata" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/stata.xml" version="2.00"/> +<Definition name="SystemC" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/systemc.xml" version="0.01"/> +<Definition name="SystemVerilog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/systemverilog.xml" version="1.50"/> +<Definition name="TADS 3" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tads3.xml" version="1.0"/> +<Definition name="Tcl/Tk" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tcl.xml" version="1.11"/> +<Definition name="Tcsh" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tcsh.xml" version="0.2-1"/> +<Definition name="TT2" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/template-toolkit.xml" version="0.03-1"/> +<Definition name="Texinfo" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/texinfo.xml" version="0.2"/> +<Definition name="Textile" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/textile.xml" version="1.1"/> +<Definition name="TI Basic" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/tibasic.xml" version="1.01"/> +<Definition name="txt2tags" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/txt2tags.xml" version="1.20"/> +<Definition name="UnrealScript" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/uscript.xml" version="0.92"/> +<Definition name="Valgrind Suppression" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/valgrind-suppression.xml" version="1.0"/> +<Definition name="Varnish Test Case language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/varnishtest.xml" version="0.1"/> +<Definition name="Varnish Configuration Language" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/varnish.xml" version="0.3"/> +<Definition name="vCard, vCalendar, iCalendar" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/vcard.xml" version="0.1"/> +<Definition name="Velocity" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/velocity.xml" version="1.04"/> <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="Verilog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/verilog.xml" version="1.09"/> +<Definition name="VHDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/vhdl.xml" version="1.10"/> <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="WINE Config" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/winehq.xml" version="1.03"/> <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="xHarbour" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xharbour.xml" version="1.04"/> +<Definition name="XML (Debug)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xmldebug.xml" version="1.03"/> +<Definition name="XML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xml.xml" version="2.03-1"/> <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="xslt" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/xslt.xml" version="1.03"/> <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"/> +<Definition name="yacas" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/yacas.xml" version="1.02"/> +<Definition name="Yacc/Bison" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/yacc.xml" version="1.03-1"/> +<Definition name="YAML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/yaml.xml" version="1.2"/> +<Definition name="Zonnon" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/zonnon.xml" version="1.0"/> +<Definition name="Zsh" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/zsh.xml" version="0.1-1"/> </DEFINITIONS> diff --git a/kate/data/uscript.xml b/kate/data/uscript.xml index 15d33484f..e4c7b567d 100644 --- a/kate/data/uscript.xml +++ b/kate/data/uscript.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="UnrealScript" version="0.93" kateversion="2.5" section="Scripts" extensions="*.uc" mimetype="text/x-uscript"> +<language name="UnrealScript" version="0.92" kateversion="2.3" section="Scripts" extensions="*.uc" mimetype="text/x-uscript"> <highlighting> <list name="keywords"> <item> break </item> diff --git a/kate/data/valgrind-suppression.xml b/kate/data/valgrind-suppression.xml index a0a6b5aeb..9ac949841 100644 --- a/kate/data/valgrind-suppression.xml +++ b/kate/data/valgrind-suppression.xml @@ -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.01" kateversion="2.5" author="Milian Wolff (mail@milianw.de)" license="LGPL"> +<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="1.0" kateversion="2.0" author="Milian Wolff (mail@milianw.de)" license="LGPL"> <highlighting> <contexts> <context name="File" attribute="Normal Text" lineEndContext="#stay"> diff --git a/kate/data/varnish.xml b/kate/data/varnish.xml index c3e9b47f7..7f4576356 100644 --- a/kate/data/varnish.xml +++ b/kate/data/varnish.xml @@ -1,6 +1,6 @@ <?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"> +<language name="Varnish Configuration Language" version="0.3" kateversion="2.4" section="Configuration" extensions="*.vcl;" mimetype="" author="Xavier Guerrin (xavier@tuxfamily.org)" license="WTFPL"> <highlighting> <list name="vclStandardSubs"> <item>vcl_recv</item> @@ -271,10 +271,10 @@ <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"> + <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"> + <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="/" /> diff --git a/kate/data/varnishtest.xml b/kate/data/varnishtest.xml index a512d15c4..2fcd7c3e4 100644 --- a/kate/data/varnishtest.xml +++ b/kate/data/varnishtest.xml @@ -1,6 +1,6 @@ <?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"> +<language name="Varnish Test Case language" version="0.1" kateversion="2.4" section="Configuration" extensions="*.vtc;" mimetype="" author="Xavier Guerrin (xavier@tuxfamily.org)" license="WTFPL"> <highlighting> <list name="vtcClientKeywords"> <item>fatal</item> diff --git a/kate/data/vcard.xml b/kate/data/vcard.xml index 9ee7a2edb..3eeed3c0b 100644 --- a/kate/data/vcard.xml +++ b/kate/data/vcard.xml @@ -2,7 +2,7 @@ <!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"> +<language name="vCard, vCalendar, iCalendar" version="0.1" kateversion="2.4" section="Markup" extensions="*.iCal;*.iCalendar;.ics;*.ifb;*.iFBf;*.vcal;*.vcalendar;*.vcard;*.vcf;" author="Lukas Sommer" mimetype="text/calendar;text/vcard" license="public domain"> <highlighting> diff --git a/kate/data/velocity.xml b/kate/data/velocity.xml index e50537cc6..dc2424ec5 100644 --- a/kate/data/velocity.xml +++ b/kate/data/velocity.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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=""> +<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=""> <highlighting> <list name="keywords"> <item> #set </item> diff --git a/kate/data/verilog.xml b/kate/data/verilog.xml index 04908146c..12619f2e8 100644 --- a/kate/data/verilog.xml +++ b/kate/data/verilog.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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=""> +<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=""> <highlighting> <list name="keywords"> <item> macromodule </item> diff --git a/kate/data/vhdl.xml b/kate/data/vhdl.xml index 0782ceae9..c2ff48999 100644 --- a/kate/data/vhdl.xml +++ b/kate/data/vhdl.xml @@ -11,7 +11,7 @@ ]> -<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)"> +<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)"> <highlighting> <list name="keywordsToplevel"> <item> file </item> diff --git a/kate/data/vrml.xml b/kate/data/vrml.xml index 42012ca47..40bdea3d6 100644 --- a/kate/data/vrml.xml +++ b/kate/data/vrml.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="VRML" version="1.02" section="Markup" extensions="*.wrl" mimetype="model/vrml" author="Volker Krause (volker.krause@rwth-aachen.de)" license="LGPL"> +<language name="VRML" version="1.02" kateversion="2.0" section="Markup" extensions="*.wrl" mimetype="model/vrml" author="Volker Krause (vkrause@kde.org)" license="LGPL"> <highlighting> <list name="keywords"> <item>DEF</item> diff --git a/kate/data/winehq.xml b/kate/data/winehq.xml index e2378894b..07919a86a 100644 --- a/kate/data/winehq.xml +++ b/kate/data/winehq.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="WINE Config" version="1.04" kateversion="2.5" section="Configuration" extensions="*.reg" mimetype=""> +<language name="WINE Config" version="1.03" kateversion="2.4" section="Configuration" extensions="*.reg" mimetype=""> <highlighting> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> diff --git a/kate/data/xharbour.xml b/kate/data/xharbour.xml index 14e251633..02ed03ee0 100644 --- a/kate/data/xharbour.xml +++ b/kate/data/xharbour.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<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"> +<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"> <highlighting> <list name="keywords"> diff --git a/kate/data/xml.xml b/kate/data/xml.xml index debfe9a01..b3e1bc384 100644 --- a/kate/data/xml.xml +++ b/kate/data/xml.xml @@ -6,7 +6,7 @@ <!ENTITY name "(?![0-9])[\w_:][\w.:_-]*"> <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]> -<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"> +<language name="XML" version="2.03-1" 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"> <highlighting> <contexts> diff --git a/kate/data/xmldebug.xml b/kate/data/xmldebug.xml index 9b0425b2d..1f3e09ba4 100644 --- a/kate/data/xmldebug.xml +++ b/kate/data/xmldebug.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language version="1.04" kateversion="2.5" name="XML (Debug)" section="Markup" extensions="" mimetype=""> +<language version="1.03" kateversion="2.3" name="XML (Debug)" section="Markup" extensions="" mimetype=""> <highlighting> <list name="AttType"> <item>CDATA</item> diff --git a/kate/data/xorg.xml b/kate/data/xorg.xml index 48cfb1827..149643478 100644 --- a/kate/data/xorg.xml +++ b/kate/data/xorg.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="x.org Configuration" section="Configuration" extensions="xorg.conf" mimetype="" version="1.01" author="Jan Janssen (medhefgo@web.de)" license="LGPL"> +<language name="x.org Configuration" section="Configuration" extensions="xorg.conf" mimetype="" version="1.01" kateversion="2.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL"> <highlighting> <contexts> diff --git a/kate/data/xslt.xml b/kate/data/xslt.xml index 4fa28eeea..bde62b050 100644 --- a/kate/data/xslt.xml +++ b/kate/data/xslt.xml @@ -15,7 +15,7 @@ - Is qname - entity correct ?? - - Integrate latest XML highlighting, that supports !DOCTYPE, ![CDATA[, Processing Instructions, ... + - Integrate latest XML highlighting, that supports ... This version is mainly based on kate 2.1 XML highlighting file - highlight functions only if they are followed by a '('. (How to do that ??) @@ -28,7 +28,9 @@ - Highlight also XPath keywords, such as 'cast as' - + + DONE: !DOCTYPE, ![CDATA[, Processing Instructions support copied from latest XML-highlighting + DONE: Added XSLT 2.0 tag- and XPath2.0 and XSLT2.0 function keywords FIXED: axis highlighting does not work, if identifier continues directly behind axis: (self::someWord) @@ -50,7 +52,7 @@ --> -<language version="1.04" kateversion="2.5" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)"> +<language version="1.03" kateversion="2.1" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)"> <highlighting> <list name="keytags"> <item> xsl:value-of </item> @@ -248,13 +250,65 @@ <context name="normalText" attribute="Normal Text" lineEndContext="#stay"> <StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment"/> + + <StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" /> + <RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" /> + <DetectChar attribute="Tag" context="tagname" char="<" /> <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> </context> + + + <context name="CDATA" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces /> + <DetectIdentifier /> + <StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" /> + <StringDetect attribute="Entity Reference" context="#stay" String="]]&gt;" /> + </context> + + <context name="PI" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" /> + </context> + + <context name="Doctype" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" 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" /> + <RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" /> + <StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" /> + <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" /> + <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" /> + </context> + + <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop" char=""" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop" char="'" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + <context name="detectEntRef" attribute="Normal Text" lineEndContext="#stay"> <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> </context> + <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> + <RegExpr attribute="PEntity Reference" context="#stay" String="%&qname;;" /> + <AnyChar attribute="Error" context="#stay" String="&%" /> + </context> <context name="tagname" attribute="Tag" lineEndContext="#stay"> <keyword attribute="XSLT Tag" context="xattributes" String="keytags" /> @@ -368,6 +422,12 @@ <itemData name="XSLT Tag" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="1" italic="0" /> <itemData name="XSLT 2.0 Tag" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="1" italic="0" /> <itemData name="Entity Reference" defStyleNum="dsDecVal" /> + + <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Processing Instruction" defStyleNum="dsKeyword" /> + <itemData name="Doctype" defStyleNum="dsDataType" bold="1" /> + <itemData name="PEntity Reference" defStyleNum="dsDecVal" /> + </itemDatas> </highlighting> <general> diff --git a/kate/data/yacas.xml b/kate/data/yacas.xml index 0e82ef525..cd8ff3d75 100644 --- a/kate/data/yacas.xml +++ b/kate/data/yacas.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="yacas" version="1.03" kateversion="2.5" section="Sources" extensions="*.ys" mimetype="text/x-yacassrc"> +<language name="yacas" version="1.02" kateversion="2.3" section="Scientific" extensions="*.ys" mimetype="text/x-yacassrc"> <highlighting> <list name="keywords"> <item> And </item> diff --git a/kate/data/yacc.xml b/kate/data/yacc.xml index f0db89424..438bfd8fe 100644 --- a/kate/data/yacc.xml +++ b/kate/data/yacc.xml @@ -1,24 +1,31 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- - ======================================================================== +======================================================================== +YACC.XML supports syntax highlighting for Yacc/Bison source under Kate. - YACC.XML supports syntax highlighting for Yacc/Bison source under Kate. +Copyright (C) 2004, Jan Villat <jan.villat@net2000.ch> +This code is released under the LGPL as part of tdelibs/kate. +======================================================================== - Copyright (C) 2004 - Jan Villat <jan.villat@net2000.ch> - This code is released under the LGPL as part of tdelibs/kate. - ======================================================================== +== UPDATE HISTORY == +2007-10-01 // Sebastian Pipping <webmaster@hartwork.org> - UPDATE HISTORY:- - 2004.05.26 - YACC.XML 1.00 - First released. + Added: Extension "*.yy" for Bison - TODO:- - - Add a mime type (cannot find it !?) +2004-05-26 // Jan Villat <jan.villat@net2000.ch> - ======================================================================== + YACC.XML 1.00 - First released. + + +== TODO == +- Add a mime type (cannot find it !?) + + +======================================================================== --> -<language name="Yacc/Bison" version="1.04" kateversion="2.5" section="Sources" extensions="*.y" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL"> +<language name="Yacc/Bison" version="1.03-1" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL"> <highlighting> <contexts> diff --git a/kate/data/yaml.xml b/kate/data/yaml.xml index 0864ddc7a..f67e19699 100644 --- a/kate/data/yaml.xml +++ b/kate/data/yaml.xml @@ -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.3" kateversion="2.5" section="Markup" +<language name="YAML" version="1.2" kateversion="2.3" section="Markup" extensions="*.yaml;*.yml" mimetype="text/yaml" author="Dr Orlovsky MA (dr.orlovsky@gmail.com)" license="LGPL"> <highlighting> diff --git a/kate/data/zonnon.xml b/kate/data/zonnon.xml index 1aa874959..e2c466448 100644 --- a/kate/data/zonnon.xml +++ b/kate/data/zonnon.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Zonnon" version="1.01" kateversion="2.5" section="Sources" extensions="*.znn" mimetype="text/x-zonnon"> +<language name="Zonnon" version="1.0" kateversion="2.1" section="Sources" extensions="*.znn" mimetype="text/x-zonnon"> <highlighting> <list name="keywords"> <item> accept </item> diff --git a/kate/data/zsh.xml b/kate/data/zsh.xml index 51ce24727..7bff073b1 100644 --- a/kate/data/zsh.xml +++ b/kate/data/zsh.xml @@ -8,7 +8,7 @@ <!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following --> <!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name --> ]> -<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"> +<language name="Zsh" version="0.1-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"> <!-- (c) 2011 by Jonathan Kolberg (bulldog98@kubuntu-de.org) modified for zsh --> diff --git a/tdecore/tdehw/CMakeLists.txt b/tdecore/tdehw/CMakeLists.txt index 553cd7032..f9354ecfb 100644 --- a/tdecore/tdehw/CMakeLists.txt +++ b/tdecore/tdehw/CMakeLists.txt @@ -36,6 +36,10 @@ if( WITH_DEVKITPOWER ) add_definitions( -DWITH_DEVKITPOWER ) endif( ) +if( WITH_LOGINDPOWER ) + add_definitions( -DWITH_LOGINDPOWER ) +endif( ) + if( WITH_UPOWER ) add_definitions( -DWITH_UPOWER ) endif( ) diff --git a/tdecore/tdehw/tderootsystemdevice.cpp b/tdecore/tdehw/tderootsystemdevice.cpp index b62f07ddd..3951aa7e1 100644 --- a/tdecore/tdehw/tderootsystemdevice.cpp +++ b/tdecore/tdehw/tderootsystemdevice.cpp @@ -221,6 +221,24 @@ bool TDERootSystemDevice::canSuspend() { } } +#ifdef WITH_LOGINDPOWER + { + TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if (dbusConn.isConnected()) { + // can suspend? + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "CanSuspend"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { + return (reply[0].toString() == "yes"); + } + } + } +#endif // WITH_LOGINDPOWER + #ifdef WITH_UPOWER { TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); @@ -322,6 +340,24 @@ bool TDERootSystemDevice::canHibernate() { } } +#ifdef WITH_LOGINDPOWER + { + TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if (dbusConn.isConnected()) { + // can hibernate? + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "CanHibernate"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { + return (reply[0].toString() == "yes"); + } + } + } +#endif // WITH_LOGINDPOWER + #ifdef WITH_UPOWER { TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); @@ -410,41 +446,53 @@ bool TDERootSystemDevice::canPowerOff() { config->reparseConfiguration(); // config may have changed in the KControl module config->setGroup("General" ); - bool maysd = false; -#ifdef WITH_CONSOLEKIT - if (config->readBoolEntry( "offerShutdown", true )) { + if (!config->readBoolEntry( "offerShutdown", true )) { + return FALSE; + } + +#ifdef WITH_LOGINDPOWER + { TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); if (dbusConn.isConnected()) { - TQT_DBusProxy consoleKitManager("org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", dbusConn); - if (consoleKitManager.canSend()) { - // can power off? - TQValueList<TQT_DBusData> params; - TQT_DBusMessage reply = consoleKitManager.sendWithReply("CanStop", params); - if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { - maysd = reply[0].toBool(); - } - else { - maysd = false; - } - } - else { - maysd = false; + // can power off? + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "CanPowerOff"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { + return (reply[0].toString() == "yes"); } } - else { - maysd = false; + } +#endif // WITH_LOGINDPOWER + +#ifdef WITH_CONSOLEKIT + { + TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if (dbusConn.isConnected()) { + // can power off? + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.ConsoleKit", + "/org/freedesktop/ConsoleKit/Manager", + "org.freedesktop.ConsoleKit.Manager", + "CanStop"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { + return reply[0].toBool(); + } } } -#else // WITH_CONSOLEKIT +#endif // WITH_CONSOLEKIT + // FIXME // Can we power down this system? // This should probably be checked via DCOP and therefore interface with TDM - if (config->readBoolEntry( "offerShutdown", true )/* && DM().canShutdown()*/) { // FIXME - maysd = true; - } -#endif // WITH_CONSOLEKIT - - return maysd; + // if ( DM().canShutdown() ) { + // return TRUE; + // } + return TRUE; } bool TDERootSystemDevice::canReboot() { @@ -452,41 +500,53 @@ bool TDERootSystemDevice::canReboot() { config->reparseConfiguration(); // config may have changed in the KControl module config->setGroup("General" ); - bool mayrb = false; -#ifdef WITH_CONSOLEKIT - if (config->readBoolEntry( "offerShutdown", true )) { + if (!config->readBoolEntry( "offerShutdown", true )) { + return FALSE; + } + +#ifdef WITH_LOGINDPOWER + { TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); if (dbusConn.isConnected()) { - TQT_DBusProxy consoleKitManager("org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", dbusConn); - if (consoleKitManager.canSend()) { - // can reboot? - TQValueList<TQT_DBusData> params; - TQT_DBusMessage reply = consoleKitManager.sendWithReply("CanRestart", params); - if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { - mayrb = reply[0].toBool(); - } - else { - mayrb = false; - } - } - else { - mayrb = false; + // can reboot? + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "CanReboot"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { + return (reply[0].toString() == "yes"); } } - else { - mayrb = false; + } +#endif // WITH_LOGINDPOWER + +#ifdef WITH_CONSOLEKIT + { + TQT_DBusConnection dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if (dbusConn.isConnected()) { + // can reboot? + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.ConsoleKit", + "/org/freedesktop/ConsoleKit/Manager", + "org.freedesktop.ConsoleKit.Manager", + "CanRestart"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { + return reply[0].toBool(); + } } } -#else // WITH_CONSOLEKIT +#endif // WITH_CONSOLEKIT + // FIXME // Can we power down this system? // This should probably be checked via DCOP and therefore interface with TDM - if (config->readBoolEntry( "offerShutdown", true )/* && DM().canShutdown()*/) { // FIXME - mayrb = true; - } -#endif // WITH_CONSOLEKIT - - return mayrb; + // if ( DM().canShutdown() ) { + // return TRUE; + // } + return TRUE; } void TDERootSystemDevice::setHibernationMethod(TDESystemHibernationMethod::TDESystemHibernationMethod hm) { @@ -575,6 +635,37 @@ bool TDERootSystemDevice::setPowerState(TDESystemPowerState::TDESystemPowerState return true; } +#ifdef WITH_LOGINDPOWER + { + TQT_DBusConnection dbusConn; + dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if ( dbusConn.isConnected() ) { + if (ps == TDESystemPowerState::Suspend) { + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "Suspend"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage) { + return true; + } + } + else if (ps == TDESystemPowerState::Hibernate) { + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.freedesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "Hibernate"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage) { + return true; + } + } + } + } +#endif // WITH_LOGINDPOWER + #ifdef WITH_UPOWER { TQT_DBusConnection dbusConn; @@ -726,11 +817,31 @@ bool TDERootSystemDevice::setPowerState(TDESystemPowerState::TDESystemPowerState return false; } else if (ps == TDESystemPowerState::PowerOff) { -#ifdef WITH_CONSOLEKIT TDEConfig *config = TDEGlobal::config(); config->reparseConfiguration(); // config may have changed in the KControl module config->setGroup("General" ); - if (config->readBoolEntry( "offerShutdown", true )) { + if (!config->readBoolEntry( "offerShutdown", true )) { + return false; + } +#ifdef WITH_LOGINDPOWER + { + TQT_DBusConnection dbusConn; + dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if ( dbusConn.isConnected() ) { + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.trinitydesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "PowerOff"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage) { + return true; + } + } + } +#endif // WITH_LOGINDPOWER +#ifdef WITH_CONSOLEKIT + { TQT_DBusConnection dbusConn; dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); if ( dbusConn.isConnected() ) { @@ -739,17 +850,13 @@ bool TDERootSystemDevice::setPowerState(TDESystemPowerState::TDESystemPowerState "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", "Stop"); - dbusConn.sendWithReply(msg); - return true; - } - else { - return false; + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage) { + return true; + } } } - else { - return false; - } -#else // WITH_CONSOLEKIT +#endif // WITH_CONSOLEKIT // Power down the system using a DCOP command // Values are explained at http://lists.kde.org/?l=kde-linux&m=115770988603387 TQByteArray data; @@ -759,14 +866,33 @@ bool TDERootSystemDevice::setPowerState(TDESystemPowerState::TDESystemPowerState return true; } return false; -#endif // WITH_CONSOLEKIT } else if (ps == TDESystemPowerState::Reboot) { -#ifdef WITH_CONSOLEKIT TDEConfig *config = TDEGlobal::config(); config->reparseConfiguration(); // config may have changed in the KControl module config->setGroup("General" ); - if (config->readBoolEntry( "offerShutdown", true )) { + if (!config->readBoolEntry( "offerShutdown", true )) { + return false; + } +#ifdef WITH_LOGINDPOWER + { + TQT_DBusConnection dbusConn; + dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); + if ( dbusConn.isConnected() ) { + TQT_DBusMessage msg = TQT_DBusMessage::methodCall( + "org.trinitydesktop.login1", + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + "Reboot"); + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage) { + return true; + } + } + } +#endif // WITH_LOGINDPOWER +#ifdef WITH_CONSOLEKIT + { TQT_DBusConnection dbusConn; dbusConn = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus); if ( dbusConn.isConnected() ) { @@ -775,17 +901,13 @@ bool TDERootSystemDevice::setPowerState(TDESystemPowerState::TDESystemPowerState "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", "Restart"); - dbusConn.sendWithReply(msg); - return true; - } - else { - return false; + TQT_DBusMessage reply = dbusConn.sendWithReply(msg); + if (reply.type() == TQT_DBusMessage::ReplyMessage) { + return true; + } } } - else { - return false; - } -#else // WITH_CONSOLEKIT +#endif // WITH_CONSOLEKIT // Power down the system using a DCOP command // Values are explained at http://lists.kde.org/?l=kde-linux&m=115770988603387 TQByteArray data; @@ -795,7 +917,6 @@ bool TDERootSystemDevice::setPowerState(TDESystemPowerState::TDESystemPowerState return true; } return false; -#endif // WITH_CONSOLEKIT } else if (ps == TDESystemPowerState::Active) { // Ummm...we're already active... |