rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
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__
 
def highlightBlock
 

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

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

Member Function Documentation

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

rfm2.ui.script_editor.Highlighter.comment_end_expression
rfm2.ui.script_editor.Highlighter.comment_start_expression
rfm2.ui.script_editor.Highlighter.highlighting_rules
rfm2.ui.script_editor.Highlighter.multi_line_comment_format
rfm2.ui.script_editor.Highlighter.valid_obj

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