Skip to content

Commit

Permalink
Update nss.py
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Mar 20, 2024
1 parent ecf80b6 commit fcbaff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tools/HolocronToolset/src/toolset/gui/editors/nss.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def __init__(self, parent: QTextDocument, installation: HTInstallation):
"keyword": self.getCharFormat("blue"),
"operator": self.getCharFormat("darkRed"),
"numbers": self.getCharFormat("brown"),
"comment": self.getCharFormat("gray", False, True),
"comment": self.getCharFormat("gray", bold=False, italic=True),
"string": self.getCharFormat("darkMagenta"),
"brace": self.getCharFormat("darkRed"),
"function": self.getCharFormat("darkGreen"),
Expand Down Expand Up @@ -687,6 +687,7 @@ def highlightBlock(self, text: str | None):
def getCharFormat(
self,
color: str | int,
*,
bold: bool = False,
italic: bool = False,
) -> QTextCharFormat:
Expand Down

0 comments on commit fcbaff0

Please sign in to comment.