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

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 LPE tokens in text fields.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from rfm2.ui.text_field.Highlighter.

Member Function Documentation

◆ highlightBlock()

def rfm2.ui.text_field.LpeHighlighter.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.LpeHighlighter.highlightingRules

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