diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-15 13:50:20 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-15 13:50:20 -0400 |
commit | 7b49da9063ead20ca3dbf409b9c44850652d3422 (patch) | |
tree | 6939d47fbbca201bdf39f106e64ec23ecb2d481c /src-qt5/desktop-utils/lumina-textedit | |
parent | Add a new markdown syntax highlighting format. Not quite finished yet - but h... (diff) | |
parent | Python syntax rules updated (diff) | |
download | lumina-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')
-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" |