aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntax_rules
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-06-15 09:28:50 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-06-15 09:28:50 -0400
commita939bd2e084e43bea387e34087e9b1f28a41ccda (patch)
tree442d8fcf63aab60246cae25a51cb9430a342ff87 /src-qt5/desktop-utils/lumina-textedit/syntax_rules
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-a939bd2e084e43bea387e34087e9b1f28a41ccda.tar.gz
lumina-a939bd2e084e43bea387e34087e9b1f28a41ccda.tar.bz2
lumina-a939bd2e084e43bea387e34087e9b1f28a41ccda.zip
Python syntax rules updated
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
index f6d2223d..e93230c3 100644
--- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
+++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
@@ -37,6 +37,11 @@
"foreground": "colors/function"
},
{
+ "name": "numbers",
+ "regex" : "\\b[0-9\\.]+\\b",
+ "foreground": "colors/altkeyword"
+ },
+ {
"name": "text",
"regex": "\"[^\"\\\\]*(\\\\(.|\\n)[^\"\\\\]*)*\"|'[^'\\\\]*(\\\\(.|\\n)[^'\\\\]*)*'",
"foreground": "colors/text"
bgstack15