Remove some old debugging print statements.

This commit is contained in:
Kurt B. Kaiser 2002-12-29 22:48:52 +00:00
parent 4ada7ad3bc
commit 5e65ce671c
1 changed files with 0 additions and 10 deletions

View File

@ -139,9 +139,7 @@ class EditorWindow:
if self.ispythonsource(filename):
self.color = color = self.ColorDelegator()
per.insertfilter(color)
##print "Initial colorizer"
else:
##print "No initial colorizer"
self.color = None
self.undo = undo = self.UndoDelegator()
@ -459,7 +457,6 @@ class EditorWindow:
def addcolorizer(self):
if self.color:
return
##print "Add colorizer"
self.per.removefilter(self.undo)
self.color = self.ColorDelegator()
self.per.insertfilter(self.color)
@ -468,7 +465,6 @@ class EditorWindow:
def rmcolorizer(self):
if not self.color:
return
##print "Remove colorizer"
self.per.removefilter(self.undo)
self.per.removefilter(self.color)
self.color = None
@ -759,7 +755,6 @@ class EditorWindow:
text = self.text
text.keydefs = keydefs
for event, keylist in keydefs.items():
##print>>sys.__stderr__, "event, list: ", event, keylist
if keylist:
apply(text.event_add, (event,) + tuple(keylist))
@ -772,7 +767,6 @@ class EditorWindow:
defs = self.Bindings.menudefs
if keydefs is None:
keydefs = self.Bindings.default_keydefs
##print>>sys.__stderr__, "*keydefs: " , keydefs
menudict = self.menudict
text = self.text
for mname, itemlist in defs:
@ -788,7 +782,6 @@ class EditorWindow:
if checkbutton:
label = label[1:]
underline, label = prepstr(label)
##print>>sys.__stderr__, "*Event: " , event
accelerator = get_accelerator(keydefs, event)
def command(text=text, event=event):
text.event_generate(event)
@ -798,9 +791,6 @@ class EditorWindow:
command=command, accelerator=accelerator,
variable=var)
else:
##print>>sys.__stderr__, "label, ul, cmd, accel: ",
## label, underline, command,
## accelerator
menu.add_command(label=label, underline=underline,
command=command,
accelerator=accelerator)