wx.py.editor.Editor¶
Editor having an EditWindow.
Class Hierarchy¶
Methods Summary¶
Create Editor instance. |
|
Display argument spec and docstring in a popup window. |
|
Display auto-completion popup list. |
|
Destroy all editor objects. |
|
Return (filepath, line, column) status tuple. |
|
Return contents of editor. |
|
Return |
|
Keypress event handler. |
|
Key down event handler. |
|
Set the input focus to the editor window. |
|
Set contents of editor. |
Class API¶
- class Editor¶
Editor having an EditWindow.
Methods¶
- __init__(self, parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER)¶
Create Editor instance.
- autoCallTipShow(self, command)¶
Display argument spec and docstring in a popup window.
- autoCompleteShow(self, command)¶
Display auto-completion popup list.
- clearAll(self)¶
- destroy(self)¶
Destroy all editor objects.
- emptyUndoBuffer(self)¶
- getStatus(self)¶
Return (filepath, line, column) status tuple.
- getText(self)¶
Return contents of editor.
- hasChanged(self)¶
Return
True
if contents have changed.
- OnChar(self, event)¶
Keypress event handler.
Only receives an event if OnKeyDown calls event.Skip() for the corresponding event.
- OnKeyDown(self, event)¶
Key down event handler.
- setFocus(self)¶
Set the input focus to the editor window.
- setSavePoint(self)¶
- setText(self, text)¶
Set contents of editor.