aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-15 13:50:20 -0400
committerKen Moore <ken@ixsystems.com>2017-06-15 13:50:20 -0400
commit7b49da9063ead20ca3dbf409b9c44850652d3422 (patch)
tree6939d47fbbca201bdf39f106e64ec23ecb2d481c /src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
parentAdd a new markdown syntax highlighting format. Not quite finished yet - but h... (diff)
parentPython syntax rules updated (diff)
downloadlumina-7b49da9063ead20ca3dbf409b9c44850652d3422.tar.gz
lumina-7b49da9063ead20ca3dbf409b9c44850652d3422.tar.bz2
lumina-7b49da9063ead20ca3dbf409b9c44850652d3422.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax')
-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