Commits

Kurt B. Kaiser  committed 664a129

<Home> toggle non-functional when NumLock set.
Issue3851

  • Participants
  • Parent commits 421c941
  • Branches 2.7

Comments (0)

Files changed (2)

File Lib/idlelib/EditorWindow.py

         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 # <Modifier-Home>; fall back to class binding
+        if (event.state & 4) != 0 and event.keysym == "Home":
+            # state&4==Control. If <Control-Home>, use the Tk binding.
+            return
 
         if self.text.index("iomark") and \
            self.text.compare("iomark", "<=", "insert lineend") and \

File Lib/idlelib/NEWS.txt

+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?
 =======================