Issue #12590: IDLE editor window now always displays the first line

when opening a long file.  With Tk 8.5, the first line was hidden.
This commit is contained in:
Ned Deily 2011-07-26 18:19:09 -07:00
commit 12aa1aea67
2 changed files with 4 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class IOBinding:
# before being able to execute the code
self.set_saved(False)
self.text.mark_set("insert", "1.0")
self.text.see("insert")
self.text.yview("insert")
self.updaterecentfileslist(filename)
return True

View File

@ -237,6 +237,9 @@ Core and Builtins
Library
-------
- Issue #12590: IDLE editor window now always displays the first line
when opening a long file. With Tk 8.5, the first line was hidden.
- Issue #12576: Fix urlopen behavior on sites which do not send (or obfuscates)
Connection:close header.