#----------------------------------------------------------------------
-# Name: wxPython.lib.editor.wxEditor
+# Name: wxPython.lib.editor.Editor
# Purpose: An intelligent text editor with colorization capabilities.
#
# Original
#
# o 2.5 compatability update.
#
+# 12/21/2003 - Jeff Grimmett (grimmtooth@softhome.net)
+#
+# o wxEditor -> Editor
+#
import os
import time
#----------------------------------------------------------------------
-class wxEditor(wx.ScrolledWindow):
+class Editor(wx.ScrolledWindow):
def __init__(self, parent, id,
pos=wx.DefaultPosition, size=wx.DefaultSize, style=0):
def MoveLeft(self, event):
if self.cx == 0:
if self.cy == 0:
- wxBell()
+ wx.Bell()
else:
self.cVert(-1)
self.cx = self.CurrentLineLength()
linelen = self.CurrentLineLength()
if self.cx == linelen:
if self.cy == len(self.lines) - 1:
- wxBell()
+ wx.Bell()
else:
self.cx = 0
self.cVert(1)