From a939bd2e084e43bea387e34087e9b1f28a41ccda Mon Sep 17 00:00:00 2001 From: ZackaryWelch Date: Thu, 15 Jun 2017 09:28:50 -0400 Subject: Python syntax rules updated --- src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src-qt5') 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 @@ -36,6 +36,11 @@ "regex": "\\b[A-Za-z0-9_]+(?=\\()", "foreground": "colors/function" }, + { + "name": "numbers", + "regex" : "\\b[0-9\\.]+\\b", + "foreground": "colors/altkeyword" + }, { "name": "text", "regex": "\"[^\"\\\\]*(\\\\(.|\\n)[^\"\\\\]*)*\"|'[^'\\\\]*(\\\\(.|\\n)[^'\\\\]*)*'", -- cgit