Every so often, TextMate stops handling key bindings for bundle items. Built-in commands still work as expected. When I check ⌃⇧P in Select Bundle Item, it shows ⌃⇧<some roundrect symbol>. The behaviour persists even when I restart TextMate. Logging out seems to fix it. Sometimes it fixes itself. I haven't found anything in console.log.
It just happened to me again. This time I used Key Codes[1] to check what TextMate was getting.
Key Down Characters: Unicode: 16 / 0x10 Keys: ⇧^P Key Code: 35 / 0x23 Modifiers: 2490371 / 0x260003
Terminal saw the modifier as 0x260103. Later, TextMate started showing 0x260103, too, but the command still didn't work.
Finally -- and I have no idea what changed -- things started working again, and I now have a modifier of 0x60103 in all apps.
[1] http://www.petermaurer.de/nasi.php?thema=keycodes&sprache=english
This has happened to me as well about a week ago. I had to quit TM and restart it for everything to work fine. I'm not at all sure what triggered the problem, but it hasn't happened again since.
On May 4, 2007, at 12:50 PM, Grant Hollingworth wrote:
Every so often, TextMate stops handling key bindings for bundle items. Built-in commands still work as expected. When I check ⌃⇧P in Select Bundle Item, it shows ⌃⇧<some roundrect symbol>. The behaviour persists even when I restart TextMate. Logging out seems to fix it. Sometimes it fixes itself. I haven't found anything in console.log.
It just happened to me again. This time I used Key Codes[1] to check what TextMate was getting.
Key Down Characters: Unicode: 16 / 0x10 Keys: ⇧^P Key Code: 35 / 0x23 Modifiers: 2490371 / 0x260003
Terminal saw the modifier as 0x260103. Later, TextMate started showing 0x260103, too, but the command still didn't work.
Finally -- and I have no idea what changed -- things started working again, and I now have a modifier of 0x60103 in all apps.
[1] http://www.petermaurer.de/nasi.php?thema=keycodes&sprache=english
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 4. May 2007, at 18:50, Grant Hollingworth wrote:
Every so often, TextMate stops handling key bindings for bundle items. [...] Terminal saw the modifier as 0x260103. Later, TextMate started showing 0x260103, too, but the command still didn't work.
Finally -- and I have no idea what changed -- things started working again, and I now have a modifier of 0x60103 in all apps.
The 0x200000 is the NSNumericPadKeyMask.
Are you using a PC keyboard possibly with some adaptor? Is there a num-lock key you can press? If so, try see if just pressing that doesn’t toggle the behavior.
* Allan Odgaard throw-away-1@macromates.com [2007-05-05 02:12]:
The 0x200000 is the NSNumericPadKeyMask.
Are you using a PC keyboard possibly with some adaptor? Is there a num-lock key you can press? If so, try see if just pressing that doesn’t toggle the behavior.
I'm using my MacBook Pro's built-in keyboard. Turning on numlock does give me that modifier, but it changes the key to its inset number pad equivalent: '*' instead of 'p'.
Characters: * Unicode: 42 / 0x2a Keys: ⇧^* Key Code: 67 / 0x43 Modifiers: 2490627 / 0x260103
When I was having problems, the key stayed as 'p'. So somehow the mask was flipped on but without my keyboard layout changing.