diff options
author | Ned Deily <nad@acm.org> | 2011-07-27 01:19:09 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-07-27 01:19:09 (GMT) |
commit | 12aa1aea670de34ab88bfdf41c8aace394975fd5 (patch) | |
tree | a9ad70101cdc8b3171816072627622c9f2f6ca75 | |
parent | 7496fef8ff3ef9c54929a916cd5d42cd6fcdd437 (diff) | |
parent | f25e3d527820489cf83c80d7e497da6ee0a75da3 (diff) | |
download | cpython-12aa1aea670de34ab88bfdf41c8aace394975fd5.zip cpython-12aa1aea670de34ab88bfdf41c8aace394975fd5.tar.gz cpython-12aa1aea670de34ab88bfdf41c8aace394975fd5.tar.bz2 |
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.
-rw-r--r-- | Lib/idlelib/IOBinding.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 3f5d556..d20c708 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -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 @@ -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. |