diff options
author | Roger Serwy <roger.serwy@gmail.com> | 2013-05-05 16:34:21 (GMT) |
---|---|---|
committer | Roger Serwy <roger.serwy@gmail.com> | 2013-05-05 16:34:21 (GMT) |
commit | 5b1ab247510d4f4fc566b62e8928646ebe276d49 (patch) | |
tree | fc6dd4d8c6962db9e594d3e771ca19085527dd85 | |
parent | fd417cc54bc71fb294c4f9889441929d3e8b3dcc (diff) | |
download | cpython-5b1ab247510d4f4fc566b62e8928646ebe276d49.zip cpython-5b1ab247510d4f4fc566b62e8928646ebe276d49.tar.gz cpython-5b1ab247510d4f4fc566b62e8928646ebe276d49.tar.bz2 |
#17798: Allow IDLE to edit new files when specified on command line.
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 343b6e4..19bbdd6 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -321,6 +321,8 @@ class EditorWindow(object): per.insertfilter(color) else: io.set_filename(filename) + self.good_load = True + self.ResetColorizer() self.saved_change_hook() self.update_recent_files_list() @@ -135,6 +135,8 @@ Library IDLE ---- +- Issue #17798: Allow IDLE to edit new files when specified on command line. + - Issue #14735: Update IDLE docs to omit "Control-z on Windows". - Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit(). |