(self, pattern, color)
| 26 | |
| 27 | class HighlightingRule: |
| 28 | def __init__(self, pattern, color): |
| 29 | self.pattern = QRegExp(pattern) |
| 30 | self.format = QTextCharFormat() |
| 31 | self.format.setForeground(color) |
| 32 | |
| 33 | |
| 34 | class JsonHighlighter(QSyntaxHighlighter): |
nothing calls this directly
no outgoing calls
no test coverage detected