summaryrefslogtreecommitdiff
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-19 22:55:59 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-19 22:55:59 -0400
commit92ab9a183c25a223b8cd9264a28792abaa85483a (patch)
tree25300172c4238922c0bd7b1db413e312fc139001 /Lib/idlelib/EditorWindow.py
parentd4d84accb339d9bf145934cff00bdb52af397a91 (diff)
parentb7b56e9110171fb4430d3711c4054d1425d5bc1c (diff)
downloadcpython-git-92ab9a183c25a223b8cd9264a28792abaa85483a.tar.gz
Merge with 3.4
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 06fb137d93..6b590235f0 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -79,7 +79,7 @@ class HelpDialog(object):
self.parent = None
helpDialog = HelpDialog() # singleton instance
-def _Help_dialog(parent): # wrapper for htest
+def _help_dialog(parent): # wrapper for htest
helpDialog.show_dialog(parent)
@@ -1702,21 +1702,21 @@ def fixwordbreaks(root):
tk.call('set', 'tcl_nonwordchars', '[^a-zA-Z0-9_]')
-def _Editor_window(parent):
+def _editor_window(parent):
root = parent
fixwordbreaks(root)
- root.withdraw()
+## root.withdraw()
if sys.argv[1:]:
filename = sys.argv[1]
else:
filename = None
macosxSupport.setupApp(root, None)
edit = EditorWindow(root=root, filename=filename)
- edit.set_close_hook(root.quit)
- edit.text.bind("<<close-all-windows>>", edit.close_event)
+## edit.set_close_hook(root.quit)
+## edit.text.bind("<<close-all-windows>>", edit.close_event)
if __name__ == '__main__':
from idlelib.idle_test.htest import run
if len(sys.argv) <= 1:
- run(_Help_dialog)
- run(_Editor_window)
+ run(_help_dialog)
+ run(_editor_window)