mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
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:
commit
12aa1aea67
2 changed files with 4 additions and 1 deletions
|
@ -232,7 +232,7 @@ class IOBinding:
|
||||||
# before being able to execute the code
|
# before being able to execute the code
|
||||||
self.set_saved(False)
|
self.set_saved(False)
|
||||||
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
|
||||||
|
|
||||||
|
|
|
@ -237,6 +237,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 #12576: Fix urlopen behavior on sites which do not send (or obfuscates)
|
- Issue #12576: Fix urlopen behavior on sites which do not send (or obfuscates)
|
||||||
Connection:close header.
|
Connection:close header.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue