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

Public Member Functions

def __init__ (self, parent=None, syntax=None)
 
def highlightBlock (self, text)
 

Public Attributes

 highlighting_rules
 
 valid_obj
 
 multi_line_comment_format
 
 comment_start_expression
 
 comment_end_expression
 

Detailed Description

QSyntaxHighlighter class for the ScriptEditor widget.

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ highlightBlock()

def rfm2.ui.script_editor.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.

Member Data Documentation

◆ comment_end_expression

rfm2.ui.script_editor.Highlighter.comment_end_expression

◆ comment_start_expression

rfm2.ui.script_editor.Highlighter.comment_start_expression

◆ highlighting_rules

rfm2.ui.script_editor.Highlighter.highlighting_rules

◆ multi_line_comment_format

rfm2.ui.script_editor.Highlighter.multi_line_comment_format

◆ valid_obj

rfm2.ui.script_editor.Highlighter.valid_obj

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