CSS Highlighter¶
QSyntaxHighlighter for CSS syntax.
-
class
bci_framework.framework.editor.highlighters.css_syntax.CSSHighlighter(document)[source]¶ Syntax highlighter for CSS style sheets.
-
classmethod
get_format(color: str, style='', fontsize=None) → PySide2.QtGui.QTextCharFormat[source]¶ Return a QTextCharFormat with the given attributes.
-
property
styles¶ The styles depend on the theme.
-
classmethod