forked from qt-creator/qt-creator
GenericHighlighter: Update from latest KTextEditor source
Change-Id: I0caf19cd7698c9934655483304314b5653b69f21 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
183395831a
commit
75ff9a6fdc
@@ -30,7 +30,7 @@
|
|||||||
Introduce 3 alert levels and sort keywords according importance.
|
Introduce 3 alert levels and sort keywords according importance.
|
||||||
Few more keywords has been added.
|
Few more keywords has been added.
|
||||||
-->
|
-->
|
||||||
<language version="1.11" kateversion="3.1" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
|
<language version="2" kateversion="3.1" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<list name="alerts_hi">
|
<list name="alerts_hi">
|
||||||
<item> ALERT </item>
|
<item> ALERT </item>
|
||||||
|
10
src/share/3rdparty/generic-highlighter/bash.xml
vendored
10
src/share/3rdparty/generic-highlighter/bash.xml
vendored
@@ -8,7 +8,7 @@
|
|||||||
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
|
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
|
||||||
<!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name -->
|
<!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name -->
|
||||||
]>
|
]>
|
||||||
<language name="Bash" version="2.18" kateversion="5.0" 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="3" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.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)
|
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
|
||||||
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
|
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
|
||||||
@@ -312,6 +312,14 @@
|
|||||||
<item> gawk </item>
|
<item> gawk </item>
|
||||||
<item> gc </item>
|
<item> gc </item>
|
||||||
<item> gcc </item>
|
<item> gcc </item>
|
||||||
|
<item> clang </item>
|
||||||
|
<item> valgrind </item>
|
||||||
|
<item> xdg-open </item>
|
||||||
|
<item> cmake </item>
|
||||||
|
<item> qmake </item>
|
||||||
|
<item> svn </item>
|
||||||
|
<item> git </item>
|
||||||
|
<item> rsync </item>
|
||||||
<item> gdb </item>
|
<item> gdb </item>
|
||||||
<item> getent </item>
|
<item> getent </item>
|
||||||
<item> getopt </item>
|
<item> getopt </item>
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
<!-- generated for "cmake version 2.8.12.1, 3.0.2, 3.1.2 and 3.3.0" -->
|
<!-- generated for "cmake version 2.8.12.1, 3.0.2, 3.1.2 and 3.3.0" -->
|
||||||
<language
|
<language
|
||||||
name="CMake"
|
name="CMake"
|
||||||
version="1.36"
|
version="2"
|
||||||
kateversion="5.0"
|
kateversion="5.0"
|
||||||
section="Other"
|
section="Other"
|
||||||
extensions="CMakeLists.txt;*.cmake;*.cmake.in"
|
extensions="CMakeLists.txt;*.cmake;*.cmake.in"
|
||||||
|
1901
src/share/3rdparty/generic-highlighter/css.xml
vendored
1901
src/share/3rdparty/generic-highlighter/css.xml
vendored
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<language name="Doxygen"
|
<language name="Doxygen"
|
||||||
version="1.41"
|
version="2"
|
||||||
kateversion="5.0"
|
kateversion="5.0"
|
||||||
section="Markup"
|
section="Markup"
|
||||||
extensions="*.dox;*.doxygen"
|
extensions="*.dox;*.doxygen"
|
||||||
@@ -278,7 +278,7 @@
|
|||||||
<DetectIdentifier />
|
<DetectIdentifier />
|
||||||
<StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="<!--" />
|
<StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="<!--" />
|
||||||
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
||||||
<RegExpr attribute="HTML Tag" context="SL_htmltag" String="<\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />
|
<RegExpr attribute="HTML Tag" context="SL_htmltag" String="<\/?[\w0-9._:-@]+" />
|
||||||
</context>
|
</context>
|
||||||
<context attribute="Comment" lineEndContext="#stay" name="BlockComment">
|
<context attribute="Comment" lineEndContext="#stay" name="BlockComment">
|
||||||
<DetectSpaces />
|
<DetectSpaces />
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
<DetectIdentifier />
|
<DetectIdentifier />
|
||||||
<RegExpr attribute="Tags" context="#stay" String="\\(<|>)" />
|
<RegExpr attribute="Tags" context="#stay" String="\\(<|>)" />
|
||||||
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
||||||
<RegExpr attribute="HTML Tag" context="ML_htmltag" String="<\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />
|
<RegExpr attribute="HTML Tag" context="ML_htmltag" String="<\/?[\w0-9._:-@]+" />
|
||||||
<StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="<!--" />
|
<StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="<!--" />
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
@@ -339,7 +339,7 @@
|
|||||||
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true" />
|
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true" />
|
||||||
<StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="<!--" />
|
<StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="<!--" />
|
||||||
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
||||||
<RegExpr attribute="HTML Tag" context="ML_htmltag" String="<\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />
|
<RegExpr attribute="HTML Tag" context="ML_htmltag" String="<\/?[\w0-9._:-@]+" />
|
||||||
<RegExpr attribute="Description" context="#stay" String="." />
|
<RegExpr attribute="Description" context="#stay" String="." />
|
||||||
</context>
|
</context>
|
||||||
<context attribute="Comment" lineEndContext="#pop" name="ML_TagWordString">
|
<context attribute="Comment" lineEndContext="#pop" name="ML_TagWordString">
|
||||||
@@ -405,7 +405,7 @@
|
|||||||
<DetectSpaces />
|
<DetectSpaces />
|
||||||
<StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="<!--" />
|
<StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="<!--" />
|
||||||
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
<Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" />
|
||||||
<RegExpr attribute="HTML Tag" context="SL_htmltag" String="<\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />
|
<RegExpr attribute="HTML Tag" context="SL_htmltag" String="<\/?[\w0-9._:-@]+" />
|
||||||
<RegExpr attribute="Description" context="#stay" String="." />
|
<RegExpr attribute="Description" context="#stay" String="." />
|
||||||
</context>
|
</context>
|
||||||
<context attribute="Comment" lineEndContext="#pop" name="SL_TagWordString">
|
<context attribute="Comment" lineEndContext="#pop" name="SL_TagWordString">
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
<!ENTITY nmtoken "[\-\w\d\.:_]+">
|
<!ENTITY nmtoken "[\-\w\d\.:_]+">
|
||||||
<!ENTITY entref "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);">
|
<!ENTITY entref "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);">
|
||||||
]>
|
]>
|
||||||
<language name="DTD" version="1.02" kateversion="3.4" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk (s-andy@in.if.ua)" license="LGPL">
|
<language name="DTD" version="2" kateversion="3.4" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk (s-andy@in.if.ua)" license="LGPL">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
|
|
||||||
<list name="Category">
|
<list name="Category">
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
|
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
|
||||||
<!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
|
<!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
|
||||||
]>
|
]>
|
||||||
<language name="HTML" version="2.1" kateversion="3.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">
|
<language name="HTML" version="4" kateversion="3.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">
|
||||||
|
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<contexts>
|
<contexts>
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false" />
|
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false" />
|
||||||
<itemData name="Element" defStyleNum="dsKeyword" spellChecking="false" />
|
<itemData name="Element" defStyleNum="dsKeyword" spellChecking="false" />
|
||||||
<itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
|
<itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
|
||||||
<itemData name="Value" defStyleNum="dsString" color="#a00" spellChecking="false" />
|
<itemData name="Value" defStyleNum="dsString" spellChecking="false" />
|
||||||
<itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
<itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
||||||
<itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
<itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
||||||
<itemData name="Error" defStyleNum="dsError" spellChecking="false" />
|
<itemData name="Error" defStyleNum="dsError" spellChecking="false" />
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE language SYSTEM "language.dtd">
|
<!DOCTYPE language SYSTEM "language.dtd">
|
||||||
<language name="INI Files" section="Configuration" extensions="*.ini;*.pls;*.kcfgc" mimetype="" version="1.1" kateversion="2.4" author="Jan Janssen (medhefgo@web.de)" license="LGPL">
|
<language name="INI Files" section="Configuration" extensions="*.ini;*.pls;*.kcfgc" mimetype="" version="2" kateversion="2.4" author="Jan Janssen (medhefgo@web.de)" license="LGPL">
|
||||||
|
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<list name="keywords">
|
<list name="keywords">
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<contexts>
|
<contexts>
|
||||||
<context name="ini" attribute="Normal Text" lineEndContext="#stay">
|
<context name="ini" attribute="Normal Text" lineEndContext="#stay">
|
||||||
<RangeDetect attribute="Section" context="#pop" char="[" char1="]" beginRegion="Section" endRegion="Section" />
|
<RangeDetect attribute="Section" context="#stay" char="[" char1="]" beginRegion="Section" endRegion="Section" />
|
||||||
<DetectChar attribute="Assignment" context="Value" char="=" />
|
<DetectChar attribute="Assignment" context="Value" char="=" />
|
||||||
<DetectChar char=";" attribute="Comment" context="Comment" firstNonSpace="true" />
|
<DetectChar char=";" attribute="Comment" context="Comment" firstNonSpace="true" />
|
||||||
<DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true" />
|
<DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true" />
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE language SYSTEM "language.dtd">
|
<!DOCTYPE language SYSTEM "language.dtd">
|
||||||
<language name="Java" version="1.22" kateversion="5.0" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
|
<language name="Java" version="2" kateversion="5.0" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<list name="java15">
|
<list name="java15">
|
||||||
<item> ACTIVE </item>
|
<item> ACTIVE </item>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE language SYSTEM "language.dtd">
|
<!DOCTYPE language SYSTEM "language.dtd">
|
||||||
<language name="Javadoc" version="1.05" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
|
<language name="Javadoc" version="2" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<contexts>
|
<contexts>
|
||||||
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
|
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
<!-- v2.1 by Alex Turbov <i.zaufi@gmail.com>
|
<!-- v2.1 by Alex Turbov <i.zaufi@gmail.com>
|
||||||
improve comments handling -->
|
improve comments handling -->
|
||||||
<language name="Makefile" section="Other"
|
<language name="Makefile" section="Other"
|
||||||
version="2.1" kateversion="3.4"
|
version="3" kateversion="3.4"
|
||||||
extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*;*.mk"
|
extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*;*.mk"
|
||||||
mimetype="text/x-makefile"
|
mimetype="text/x-makefile"
|
||||||
author="Per Wigren (wigren@home.se)" license="">
|
author="Per Wigren (wigren@home.se)" license="">
|
||||||
|
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
Enhance tr/// and y/// support.
|
Enhance tr/// and y/// support.
|
||||||
-->
|
-->
|
||||||
<language name="Perl" version="1.32" 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">
|
<language name="Perl" version="2" 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>
|
<highlighting>
|
||||||
<list name="keywords">
|
<list name="keywords">
|
||||||
<item> if </item>
|
<item> if </item>
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". -->
|
<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". -->
|
||||||
<language name="Ruby" section="Scripts"
|
<language name="Ruby" section="Scripts"
|
||||||
version="1.29" kateversion="3.3"
|
version="2" kateversion="3.3"
|
||||||
extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec;Vagrantfile"
|
extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec;Vagrantfile"
|
||||||
mimetype="application/x-ruby"
|
mimetype="application/x-ruby"
|
||||||
style="ruby" indenter="ruby"
|
style="ruby" indenter="ruby"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE language SYSTEM "language.dtd">
|
<!DOCTYPE language SYSTEM "language.dtd">
|
||||||
<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="1.0" kateversion="2.4" author="Milian Wolff (mail@milianw.de)" license="LGPL">
|
<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="2" kateversion="2.4" author="Milian Wolff (mail@milianw.de)" license="LGPL">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<contexts>
|
<contexts>
|
||||||
<context name="File" attribute="Normal Text" lineEndContext="#stay">
|
<context name="File" attribute="Normal Text" lineEndContext="#stay">
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<!ENTITY name "(?![0-9])[\w_:][\w.:_-]*">
|
<!ENTITY name "(?![0-9])[\w_:][\w.:_-]*">
|
||||||
<!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
|
<!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
|
||||||
]>
|
]>
|
||||||
<language name="XML" version="2.03" kateversion="3.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl" 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="4" kateversion="3.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl" 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>
|
<highlighting>
|
||||||
<contexts>
|
<contexts>
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false" />
|
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false" />
|
||||||
<itemData name="Element" defStyleNum="dsKeyword" spellChecking="false" />
|
<itemData name="Element" defStyleNum="dsKeyword" spellChecking="false" />
|
||||||
<itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
|
<itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
|
||||||
<itemData name="Value" defStyleNum="dsString" color="#a00" spellChecking="false" />
|
<itemData name="Value" defStyleNum="dsString" spellChecking="false" />
|
||||||
<itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
<itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
||||||
<itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
<itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
|
||||||
<itemData name="Error" defStyleNum="dsError" spellChecking="false" />
|
<itemData name="Error" defStyleNum="dsError" spellChecking="false" />
|
||||||
|
@@ -25,7 +25,7 @@ This code is released under the LGPL as part of kdelibs/kate.
|
|||||||
|
|
||||||
========================================================================
|
========================================================================
|
||||||
-->
|
-->
|
||||||
<language name="Yacc/Bison" version="1.04" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">
|
<language name="Yacc/Bison" version="3" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">
|
||||||
|
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<contexts>
|
<contexts>
|
||||||
@@ -92,7 +92,7 @@ This code is released under the LGPL as part of kdelibs/kate.
|
|||||||
<IncludeRules context="Comment" />
|
<IncludeRules context="Comment" />
|
||||||
<RegExpr attribute="Normal Text" context="Percent Command In" String="\W" lookAhead="true" />
|
<RegExpr attribute="Normal Text" context="Percent Command In" String="\W" lookAhead="true" />
|
||||||
</context>
|
</context>
|
||||||
<context name="Percent Command In" attribute="NormalText" lineEndContext="#pop#pop">
|
<context name="Percent Command In" attribute="Normal Text" lineEndContext="#pop#pop">
|
||||||
<IncludeRules context="StringOrChar" />
|
<IncludeRules context="StringOrChar" />
|
||||||
<DetectChar attribute="Data Type" context="PC type" char="<" />
|
<DetectChar attribute="Data Type" context="PC type" char="<" />
|
||||||
</context>
|
</context>
|
||||||
@@ -112,7 +112,7 @@ This code is released under the LGPL as part of kdelibs/kate.
|
|||||||
<RegExpr attribute="Comment" context="#pop" String="[^\\]$" />
|
<RegExpr attribute="Comment" context="#pop" String="[^\\]$" />
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
<context name="StringOrChar" attribute="NormalText" lineEndContext="#stay">
|
<context name="StringOrChar" attribute="Normal Text" lineEndContext="#stay">
|
||||||
<DetectChar attribute="String Char" context="Char" char="'" />
|
<DetectChar attribute="String Char" context="Char" char="'" />
|
||||||
<DetectChar attribute="String" context="String" char=""" />
|
<DetectChar attribute="String" context="String" char=""" />
|
||||||
</context>
|
</context>
|
||||||
|
Reference in New Issue
Block a user