Inherits from
- TraitsUIEditor: enthought.pyface.workbench.traits_ui_editor.TraitsUIEditor
Attributes
- key_bindings
The key bindings used by the editor.
key_bindings = Instance(KeyBindings)
- text
The text being edited.
text = Code
Method summary
- create_ui(self, parent)
- run(self)
- save(self)
- save_as(self)
- select_line(self, lineno)
Inherited from base classes
- create_control(self, parent)
- destroy_control(self)
Methods
- create_ui(self, parent)
Creates the traits UI that represents the editor.
- run(self)
Runs the file as Python.
- save(self)
Saves the text to disk.
- save_as(self)
Saves the text to disk after prompting for the file name.
- select_line(self, lineno)
Selects the specified line.