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

Public Member Functions

def __init__ (self, parent=None)
 
def highlightBlock (self, text)
 
def setEnabled (self, state)
 

Public Attributes

 highlightingRules
 
 hasMatches
 
 enabled
 

Detailed Description

Class to highlight path tokens in text fields.

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ highlightBlock()

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.

+ Here is the call graph for this function:

◆ setEnabled()

def rfm2.ui.text_field.Highlighter.setEnabled (   self,
  state 
)
Enable/disable syntax highlighting
+ Here is the call graph for this function:

Member Data Documentation

◆ enabled

rfm2.ui.text_field.Highlighter.enabled

◆ hasMatches

rfm2.ui.text_field.Highlighter.hasMatches

◆ highlightingRules

rfm2.ui.text_field.Highlighter.highlightingRules

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