[education/rkward/kf5] rkward/syntax: Remove unused and undefined formats
Thomas Friedrichsmeier
null at kde.org
Wed Apr 10 16:12:08 BST 2024
Git commit cf447039e13aeb483aface1e9b28fc9f91eb4905 by Thomas Friedrichsmeier.
Committed on 04/04/2024 at 09:03.
Pushed by tfry into branch 'kf5'.
Remove unused and undefined formats
M +3 -3 rkward/syntax/rkward.xml
https://invent.kde.org/education/rkward/-/commit/cf447039e13aeb483aface1e9b28fc9f91eb4905
diff --git a/rkward/syntax/rkward.xml b/rkward/syntax/rkward.xml
index 00bad1c6f..99af1a345 100644
--- a/rkward/syntax/rkward.xml
+++ b/rkward/syntax/rkward.xml
@@ -85,7 +85,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
</context>
<!-- Common type highlight -->
- <context attribute="Output Common Type" name="outputcommontype">
+ <context name="outputcommontype">
<!-- Floats are hard to catch in R Output -->
<RegExpr attribute="Output Float" context="#stay" String="(?<=<|>|\(|\[| |^)-?([1-9][0-9]*|0)(\.[0-9]*)?i?(e[-+]?[ ]{0,3}[0-9]+)?(?![0-9a-zA-Z/_\~\-\]+]|[.,;:][^ \t])"/>
<WordDetect attribute="Output NA" context="#stay" String="NA"/>
@@ -94,7 +94,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
</context>
<!-- Special context for tibble output -->
- <context attribute="Output Tibble" lineEndContext="#stay" name="outputtibble">
+ <context lineEndContext="#stay" name="outputtibble">
<!-- If a "> " is encountered at line start, pop back to ctxbase (and to command0 from there) -->
<Detect2Chars attribute="Prompt" context="#pop" char=">" char1=" " column="0" lookAhead="true" endRegion="commandRegion"/>
<Detect2Chars attribute="Prompt" context="#pop" char="+" char1=" " column="0" lookAhead="true" endRegion="commandRegion"/>
@@ -111,7 +111,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
</context>
<!-- Special context for str_view() -->
- <context attribute="Output StrView" lineEndContext="#pop" name="outputstrview">
+ <context lineEndContext="#pop" name="outputstrview">
<IncludeRules context="OutputContinuationCheck"/>
<RegExpr attribute="Output Index" context="#stay" String="\[[0-9]+\]" firstNonSpace="true"/>
<RegExpr attribute="Output StrView Highlight" context="#stay" String="[<][^>]+[>]"/>
More information about the rkward-tracker
mailing list