changeset: 68908:a7d50a4e124e branch: 3.1 parent: 68828:3aec82018a18 user: Kurt B. Kaiser date: Mon Mar 21 02:13:42 2011 -0400 files: Lib/idlelib/EditorWindow.py Lib/idlelib/NEWS.txt description: toggle non-functional when NumLock set on Windows. Issue3851. diff -r 3aec82018a18 -r a7d50a4e124e Lib/idlelib/EditorWindow.py --- a/Lib/idlelib/EditorWindow.py Tue Mar 22 09:11:39 2011 -0700 +++ b/Lib/idlelib/EditorWindow.py Mon Mar 21 02:13:42 2011 -0400 @@ -304,9 +304,9 @@ return "break" def home_callback(self, event): - if (event.state & 12) != 0 and event.keysym == "Home": - # state&1==shift, state&4==control, state&8==alt - return # ; fall back to class binding + if (event.state & 4) != 0 and event.keysym == "Home": + # state&4==Control. If , use the Tk binding. + return if self.text.index("iomark") and \ self.text.compare("iomark", "<=", "insert lineend") and \ diff -r 3aec82018a18 -r a7d50a4e124e Lib/idlelib/NEWS.txt --- a/Lib/idlelib/NEWS.txt Tue Mar 22 09:11:39 2011 -0700 +++ b/Lib/idlelib/NEWS.txt Mon Mar 21 02:13:42 2011 -0400 @@ -1,3 +1,11 @@ +What's New in IDLE 3.1.4? +========================= + +*Release date: XX-XXX-XX* + +- toggle non-functional when NumLock set on Windows. Issue3851. + + What's New in IDLE 3.1b1? =========================