summaryrefslogtreecommitdiffstats
path: root/kate/data/roff.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-03-03 21:48:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-03-03 21:48:37 +0900
commitb956734b51a178ba083848672b006aa325217381 (patch)
treea602f576964c96c18c62796dadfef758c922e20f /kate/data/roff.xml
parentdfe3c9649f649f2dbd7eac60e3847d4e978e24f4 (diff)
downloadtdelibs-b956734b51a178ba083848672b006aa325217381.tar.gz
tdelibs-b956734b51a178ba083848672b006aa325217381.zip
Update Kate syntax highlight files from
http://kate-editor.org/syntax/2.5/ sources. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/data/roff.xml')
-rw-r--r--kate/data/roff.xml30
1 files changed, 15 insertions, 15 deletions
diff --git a/kate/data/roff.xml b/kate/data/roff.xml
index 5df0f48b8..6b428befe 100644
--- a/kate/data/roff.xml
+++ b/kate/data/roff.xml
@@ -7,7 +7,7 @@
<!ENTITY argsep1 "([^\\]|\\[&#37; |\^{}'`\-!?@)/,&amp;:~0E_acdeprtu])">
<!ENTITY argsep2 "([^\\0-9]|\\[&#37;:{}'`\-_!@/cep])">
]>
-<language name="Roff" section="Markup" version="2" kateversion="2.4" extensions="" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="GPL">
+<language name="Roff" section="Markup" version="3" kateversion="2.4" extensions="" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="GPL">
<highlighting>
@@ -33,14 +33,14 @@
<context name="DetectComments" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Comment" context="Comment" String="\.\s*\\&quot;" column="0"/>
- <Detect2Chars attribute="Comment" context="Comment" char="\\" char1="&quot;"/>
- <Detect2Chars attribute="Comment" context="Comment" char="\\" char1="#"/>
+ <Detect2Chars attribute="Comment" context="Comment" char="\" char1="&quot;"/>
+ <Detect2Chars attribute="Comment" context="Comment" char="\" char1="#"/>
</context>
<!-- catch glyphc, registers, strings, etc -->
<context name="DetectOthers" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="DetectComments"/>
- <DetectChar attribute="Escape" context="DetectEscape" char="\\" lookAhead="true"/>
+ <DetectChar attribute="Escape" context="DetectEscape" char="\" lookAhead="true"/>
<DetectChar attribute="String" context="String" char="&quot;"/>
</context>
@@ -50,7 +50,7 @@
<RegExpr attribute="Font" context="#pop" String="\\[fF]&roffid;"/>
<RegExpr attribute="Font" context="#pop" String="\\f([0-9]|\([0-9][0-9]|\[[0-9]+\])"/>
<RegExpr attribute="Font" context="#pop" String="\\s(\[([1-3][0-9]|[04-9])\]|[04-9]|[+-][0-9]|([+-]?\(|\([+-])[0-9][0-9])"/>
- <Detect2Chars attribute="Escape" context="#pop" char="\\" char1="\\"/>
+ <Detect2Chars attribute="Escape" context="#pop" char="\" char1="\"/>
<RegExpr attribute="Escape" context="#pop" String="\\(\$[0-9*@]|[.:&#37; |^{}_!?@)/,&amp;:~0acdeEprtu])"/>
<RegExpr attribute="Escape" context="Argument" String="\\[ABDXZbow]&argsep1;"/>
<RegExpr attribute="Escape" context="#pop" String="\\[gkmMVYz]&roffid;"/>
@@ -62,7 +62,7 @@
<RegExpr attribute="Glyph" context="#pop" String="\\N&argsep2;[0-9]+\1"/>
<RegExpr attribute="Glyph" context="#pop" String="\\&roffid;"/>
<RegExpr attribute="Escape" context="#pop" String="\\$"/>
- <DetectChar attribute="Error" context="#pop" char="\\"/>
+ <DetectChar attribute="Error" context="#pop" char="\"/>
</context>
<!-- directive start -->
@@ -89,13 +89,13 @@
<context name="Directive" attribute="Identifier" lineEndContext="#pop">
<Float attribute="Number" context="#stay"/>
<Int attribute="Number" context="#stay"/>
- <Detect2Chars attribute="Comment" context="Comment" char="\\" char1="&quot;"/>
+ <Detect2Chars attribute="Comment" context="Comment" char="\" char1="&quot;"/>
<IncludeRules context="DetectOthers"/>
</context>
<!-- quoted string -->
<context name="String" attribute="String" lineEndContext="#pop">
- <Detect2Chars attribute="Escape" context="#stay" char="\\" char1="&quot;"/>
+ <Detect2Chars attribute="Escape" context="#stay" char="\" char1="&quot;"/>
<DetectChar attribute="String" context="#pop" char="&quot;"/>
<IncludeRules context="DetectOthers"/>
</context>
@@ -103,8 +103,8 @@
<!-- \!, \? escapes -->
<context name="LiteralSL" attribute="Normal Text" lineEndContext="#pop"/>
<context name="LiteralIL" attribute="Normal Text" lineEndContext="Error">
- <Detect2Chars attribute="Escape" context="#stay" char="\\" char1="\\"/>
- <Detect2Chars attribute="Escape" context="#pop" char="\\" char1="?"/>
+ <Detect2Chars attribute="Escape" context="#stay" char="\" char1="\"/>
+ <Detect2Chars attribute="Escape" context="#pop" char="\" char1="?"/>
</context>
<!-- escape argument -->
@@ -135,8 +135,8 @@
<context name="diDirective" attribute="Identifier" lineEndContext="diBody"/>
<context name="diBody" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Other Macros" context="#pop#pop" String="\.\s*di\b" column="0" endRegion="di"/>
- <Detect2Chars attribute="Escape" context="LiteralSL" char="\\" char1="!"/>
- <Detect2Chars attribute="Escape" context="LiteralIL" char="\\" char1="?"/>
+ <Detect2Chars attribute="Escape" context="LiteralSL" char="\" char1="!"/>
+ <Detect2Chars attribute="Escape" context="LiteralIL" char="\" char1="?"/>
<IncludeRules context="Normal"/>
</context>
@@ -144,8 +144,8 @@
<context name="daDirective" attribute="Identifier" lineEndContext="daBody"/>
<context name="daBody" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Other Macros" context="#pop#pop" String="\.\s*da\b" column="0" endRegion="di"/>
- <Detect2Chars attribute="Escape" context="LiteralSL" char="\\" char1="!"/>
- <Detect2Chars attribute="Escape" context="LiteralIL" char="\\" char1="?"/>
+ <Detect2Chars attribute="Escape" context="LiteralSL" char="\" char1="!"/>
+ <Detect2Chars attribute="Escape" context="LiteralIL" char="\" char1="?"/>
<IncludeRules context="Normal"/>
</context>
@@ -153,7 +153,7 @@
<context name="dsDirective" attribute="Identifier" lineEndContext="#pop">
<Int attribute="Number" context="#stay"/>
<Float attribute="Number" context="#stay"/>
- <Detect2Chars attribute="Comment" context="Comment" char="\\" char1="&quot;"/>
+ <Detect2Chars attribute="Comment" context="Comment" char="\" char1="&quot;"/>
<DetectChar attribute="String" context="dsString" char="&quot;"/>
<IncludeRules context="DetectOthers"/>
</context>