Inherits from
- MPythonEditor: enthought.pyface.i_python_editor.MPythonEditor
- Widget: enthought.pyface.ui.wx.widget.Widget
Attributes
- changed
changed = Event
- dirty
dirty = Bool(False)
- key_pressed
key_pressed = Event(KeyPressedEvent)
- path
path = Unicode
- show_line_numbers
show_line_numbers = Bool(True)
Method summary
- __init__(self, parent, **traits)
- load(self, path = None)
- save(self, path = None)
- select_line(self, lineno)
- set_style(self, n, fore, back)
Inherited from base classes
- destroy(self)
Methods
- __init__(self, parent, **traits)
Creates a new pager.
- load(self, path = None)
Loads the contents of the editor.
- save(self, path = None)
Saves the contents of the editor.
- select_line(self, lineno)
Selects the specified line.
- set_style(self, n, fore, back)