rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Classes | |
class | Highlighter |
class | LineNumberArea |
class | ScriptEditor |
Functions | |
def | get_syntax_dict |
def | rfm_script_editor |
def | register_prefs |
def | test |
Variables | |
string | OSL_SAMPLE |
string | SEEXPR_SAMPLE |
tuple | BACKGROUNDCOLOR = (37, 37, 37) |
tuple | LINEHIGHLIGHTCOLOR = (52, 52, 52) |
tuple | LINENUMBERCOLOR = (80, 80, 80) |
tuple | TEXTCOLOR = (248, 248, 248) |
tuple | COMMENTCOLOR = (128, 128, 128) |
dictionary | PTR_TABLE = {} |
list | FOCUS_STEALERS |
A widget to edit source code, with user-definable syntax highlighting.
def rfm2.ui.script_editor.get_syntax_dict | ( | syntax | ) |
Return the syntax dict (if any was defined in syntaxHighlighting.json), otherwise None.
def rfm2.ui.script_editor.register_prefs | ( | ) |
Register general prefs for the ScriptEditor widget: font face, size, etc.
def rfm2.ui.script_editor.rfm_script_editor | ( | name, | |
kwargs | |||
) |
Mimic a classic maya command interface for our scriptEditor widget.
def rfm2.ui.script_editor.test | ( | ) |
Basic test harness
tuple rfm2.ui.script_editor.BACKGROUNDCOLOR = (37, 37, 37) |
tuple rfm2.ui.script_editor.COMMENTCOLOR = (128, 128, 128) |
list rfm2.ui.script_editor.FOCUS_STEALERS |
tuple rfm2.ui.script_editor.LINEHIGHLIGHTCOLOR = (52, 52, 52) |
tuple rfm2.ui.script_editor.LINENUMBERCOLOR = (80, 80, 80) |
string rfm2.ui.script_editor.OSL_SAMPLE |
dictionary rfm2.ui.script_editor.PTR_TABLE = {} |
string rfm2.ui.script_editor.SEEXPR_SAMPLE |
tuple rfm2.ui.script_editor.TEXTCOLOR = (248, 248, 248) |