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 /Lib/idlelib/EditorWindow.py | |
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.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 |
1 files changed, 2 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() |