rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Public Member Functions | |
def | __init__ (self, parent=None) |
def | highlightBlock (self, text) |
def | setEnabled (self, state) |
Public Attributes | |
highlightingRules | |
hasMatches | |
enabled | |
Class to highlight path tokens in text fields.
def rfm2.ui.text_field.Highlighter.__init__ | ( | self, | |
parent = None |
|||
) |
Reimplemented in rfm2.ui.text_field.LpeHighlighter, and rfm2.ui.text_field.PathHighlighter.
def rfm2.ui.text_field.Highlighter.highlightBlock | ( | self, | |
text | |||
) |
Highlights the given text block. This function is called when necessary by the rich text engine, i.e. on text blocks which have changed.
Reimplemented in rfm2.ui.text_field.LpeHighlighter, and rfm2.ui.text_field.PathHighlighter.
def rfm2.ui.text_field.Highlighter.setEnabled | ( | self, | |
state | |||
) |
Enable/disable syntax highlighting
rfm2.ui.text_field.Highlighter.enabled |
rfm2.ui.text_field.Highlighter.hasMatches |
rfm2.ui.text_field.Highlighter.highlightingRules |