mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
<Home> toggle non-functional when NumLock set.
Issue3851
This commit is contained in:
parent
764d75f325
commit
020d3d9856
2 changed files with 10 additions and 3 deletions
|
@ -307,9 +307,9 @@ class EditorWindow(object):
|
||||||
return "break"
|
return "break"
|
||||||
|
|
||||||
def home_callback(self, event):
|
def home_callback(self, event):
|
||||||
if (event.state & 12) != 0 and event.keysym == "Home":
|
if (event.state & 4) != 0 and event.keysym == "Home":
|
||||||
# state&1==shift, state&4==control, state&8==alt
|
# state&4==Control. If <Control-Home>, use the Tk binding.
|
||||||
return # <Modifier-Home>; fall back to class binding
|
return
|
||||||
|
|
||||||
if self.text.index("iomark") and \
|
if self.text.index("iomark") and \
|
||||||
self.text.compare("iomark", "<=", "insert lineend") and \
|
self.text.compare("iomark", "<=", "insert lineend") and \
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
What's New in IDLE 2.7.2?
|
||||||
|
=======================
|
||||||
|
|
||||||
|
*Release date: XX-XX-XXXX*
|
||||||
|
|
||||||
|
- <Home> toggle non-functional when NumLock set on Windows. Issue3851.
|
||||||
|
|
||||||
What's New in IDLE 2.7?
|
What's New in IDLE 2.7?
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue