rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.vp.debug.XMLHighlighter Class Reference
+ Inheritance diagram for rfm2.vp.debug.XMLHighlighter:
+ Collaboration diagram for rfm2.vp.debug.XMLHighlighter:

Public Member Functions

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

Public Attributes

 highlightingRules
 
 multiLineCommentFormat
 
 commentStartExpression
 
 commentEndExpression
 

Static Public Attributes

dictionary syntax
 

Detailed Description

basic syntax highlighting for xml view

Constructor & Destructor Documentation

◆ __init__()

def rfm2.vp.debug.XMLHighlighter.__init__ (   self,
  parent = None 
)

Member Function Documentation

◆ highlightBlock()

def rfm2.vp.debug.XMLHighlighter.highlightBlock (   self,
  text 
)
Qt method

Member Data Documentation

◆ commentEndExpression

rfm2.vp.debug.XMLHighlighter.commentEndExpression

◆ commentStartExpression

rfm2.vp.debug.XMLHighlighter.commentStartExpression

◆ highlightingRules

rfm2.vp.debug.XMLHighlighter.highlightingRules

◆ multiLineCommentFormat

rfm2.vp.debug.XMLHighlighter.multiLineCommentFormat

◆ syntax

dictionary rfm2.vp.debug.XMLHighlighter.syntax
static
Initial value:
= {
"multiLineComment": {
"color": [128, 128, 128],
"patterns": ["<!--", "-->"]
},
'tags': {
"color": [247, 38, 114],
"patterns": ['(?:<)/*\\b\w+\\b', '/*>']
},
'attrs': {
"color": [167, 226, 46],
"patterns": ['\w+(?==)']
},
"literals": {
"color": [230, 219, 116],
"patterns": ["\".*\""]
},
"data": {
"color": [116, 219, 230],
"patterns": ["CDATA"]
}
}

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