- EditorWindow.test() was failing. Bug 1417598

M    EditorWindow.py
M    ScriptBinding.py
M    NEWS.txt
This commit is contained in:
Kurt B. Kaiser 2006-07-24 18:05:51 +00:00
parent b3c4d16e68
commit a2946a437e
3 changed files with 6 additions and 3 deletions

View File

@ -95,11 +95,12 @@ class EditorWindow(object):
self.tkinter_vars = flist.vars
#self.top.instance_dict makes flist.inversedict avalable to
#configDialog.py so it can access all EditorWindow instaces
self.top.instance_dict=flist.inversedict
self.top.instance_dict = flist.inversedict
else:
self.tkinter_vars = {} # keys: Tkinter event names
# values: Tkinter variable instances
self.recent_files_path=os.path.join(idleConf.GetUserCfgDir(),
self.top.instance_dict = {}
self.recent_files_path = os.path.join(idleConf.GetUserCfgDir(),
'recent-files.lst')
self.vbar = vbar = Scrollbar(top, name='vbar')
self.text_frame = text_frame = Frame(top)

View File

@ -3,6 +3,8 @@ What's New in IDLE 1.2c1?
*Release date: XX-XXX-2006*
- EditorWindow.test() was failing. Bug 1417598
- EditorWindow failed when used stand-alone if sys.ps1 not set.
Bug 1010370 Dave Florek

View File

@ -51,7 +51,7 @@ class ScriptBinding:
# Provide instance variables referenced by Debugger
# XXX This should be done differently
self.flist = self.editwin.flist
self.root = self.flist.root
self.root = self.editwin.root
def check_module_event(self, event):
filename = self.getfilename()