Skip to content

Commit

Permalink
Add comment on style index
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannQDQ authored and nyalldawson committed Sep 30, 2024
1 parent 8981b49 commit 39782d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/console/console_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 39782d6

Please sign in to comment.