diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2017-06-15 09:28:50 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2017-06-15 09:28:50 -0400 |
commit | a939bd2e084e43bea387e34087e9b1f28a41ccda (patch) | |
tree | 442d8fcf63aab60246cae25a51cb9430a342ff87 | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | lumina-a939bd2e084e43bea387e34087e9b1f28a41ccda.tar.gz lumina-a939bd2e084e43bea387e34087e9b1f28a41ccda.tar.bz2 lumina-a939bd2e084e43bea387e34087e9b1f28a41ccda.zip |
Python syntax rules updated
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax | 5 |
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" |