diff --git a/python/console/console_output.py b/python/console/console_output.py index 8549c8a99d14..61ea81b599d5 100644 --- a/python/console/console_output.py +++ b/python/console/console_output.py @@ -36,8 +36,9 @@ class writeOut(QObject): - ERROR_COLOR = "#e31a1c" + # QsciLexerPython uses style codes up to 15 (Decorator style). We use 16 for error messages ERROR_STYLE_INDEX = 16 + ERROR_COLOR = "#e31a1c" def __init__(self, shellOut, out=None, style=None): """