Skip to content

syntaxhighlighters

Docs

syntaxhighlighters module.

contains some custom syntax highlighers

Classes

Name Children Inherits
MarkdownHighlighter
prettyqt.syntaxhighlighters.markdownhighlighter
PythonHighlighter
prettyqt.syntaxhighlighters.pythonhighlighter
YamlHighlighter
prettyqt.syntaxhighlighters.yamlhighlighter
RegexMatchHighlighter
prettyqt.syntaxhighlighters.regexmatchhighlighter
BaseRuleSyntaxHighlighter
prettyqt.syntaxhighlighters.baserulesyntaxhighlighter
SelectedWordHighlighter
prettyqt.syntaxhighlighters.selectedwordhighlighter
HighlightRule
prettyqt.syntaxhighlighters.highlightrule
HighlightRule(regex: 'str | list[str]' \= '', color: 'str' \= 'black', italic: 'bool' \= False, bold: 'bool' \= False, minimal: 'bool' \= False, font_size: 'float | None' \= None, nth: 'int' \= 0, fmt: 'gui.TextCharFormat' \= <factory>)
  • Rule
  • Rule
  • Rule
PygmentsHighlighter
prettyqt.syntaxhighlighters.pygmentshighlighter
JsonHighlighter
prettyqt.syntaxhighlighters.jsonhighlighter