Merge 3.1

This commit is contained in:
Kurt B. Kaiser 2011-03-24 13:19:35 -04:00
commit 5cf7878fda
2 changed files with 11 additions and 3 deletions

View File

@ -304,9 +304,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 \

View File

@ -1,3 +1,11 @@
What's New in IDLE 3.1.4?
=========================
*Release date: XX-XXX-XX*
- <Home> toggle non-functional when NumLock set on Windows. Issue3851.
What's New in IDLE 3.1b1? What's New in IDLE 3.1b1?
========================= =========================