rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.ui.text_field.PathHighlighter Class Reference
+ Inheritance diagram for rfm2.ui.text_field.PathHighlighter:
+ Collaboration diagram for rfm2.ui.text_field.PathHighlighter:

Public Member Functions

def __init__ (self, parent=None)
 
def highlightBlock (self, text)
 
- Public Member Functions inherited from rfm2.ui.text_field.Highlighter
def setEnabled (self, state)
 

Public Attributes

 highlightingRules
 
- Public Attributes inherited from rfm2.ui.text_field.Highlighter
 highlightingRules
 
 hasMatches
 
 enabled
 

Detailed Description

Class to highlight path tokens in text fields.

Constructor & Destructor Documentation

◆ __init__()

def rfm2.ui.text_field.PathHighlighter.__init__ (   self,
  parent = None 
)

Reimplemented from rfm2.ui.text_field.Highlighter.

Member Function Documentation

◆ highlightBlock()

def rfm2.ui.text_field.PathHighlighter.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 from rfm2.ui.text_field.Highlighter.

Member Data Documentation

◆ highlightingRules

rfm2.ui.text_field.PathHighlighter.highlightingRules

The documentation for this class was generated from the following file: