Commit d8b17239 authored by Ned Deily's avatar Ned Deily

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.
parent d88131af
...@@ -266,7 +266,7 @@ class IOBinding: ...@@ -266,7 +266,7 @@ class IOBinding:
self.reset_undo() self.reset_undo()
self.set_filename(filename) self.set_filename(filename)
self.text.mark_set("insert", "1.0") self.text.mark_set("insert", "1.0")
self.text.see("insert") self.text.yview("insert")
self.updaterecentfileslist(filename) self.updaterecentfileslist(filename)
return True return True
......
...@@ -277,6 +277,9 @@ Core and Builtins ...@@ -277,6 +277,9 @@ Core and Builtins
Library 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 #12161: Cause StringIO.getvalue() to raise a ValueError when used on a - Issue #12161: Cause StringIO.getvalue() to raise a ValueError when used on a
closed StringIO instance. closed StringIO instance.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment