Black
All checks were successful
CI / test (push) Successful in 4m55s
Lint / test (push) Successful in 33s
Trivy / test (push) Successful in 22s

This commit is contained in:
Miguel Jacq 2025-11-26 14:11:13 +11:00
parent 46aed33cf7
commit cb78d9f783
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -118,7 +118,7 @@ class MarkdownHighlighter(QSyntaxHighlighter):
# Markdown syntax (the markers themselves) - make invisible # Markdown syntax (the markers themselves) - make invisible
self.syntax_format = QTextCharFormat() self.syntax_format = QTextCharFormat()
# Use the editor background color so they blend in # Use the editor background color so they blend in
bg = pal.color(QPalette.Base) bg = pal.color(QPalette.Base)
hidden = QColor(bg) hidden = QColor(bg)
hidden.setAlpha(0) hidden.setAlpha(0)
self.syntax_format.setForeground(hidden) self.syntax_format.setForeground(hidden)