From: Trevor W. <pha...@me...> - 2014-07-12 03:07:38
|
Excellent question about a use case. In my case, yes. I have created a Vim-like binding for a text widget such that I can edit within a Tk text widget using Vim-like functionality. So moving the cursor around and deleting characters is greatly enhanced by pressing and holding various keys when in command mode. Not having this capability is going to be a deal-breaker for the Cocoa port if this issue cannot be solved. Thanks, Trevor On Jul 11, 2014, at 9:13 PM, Kevin Walzer <kw...@co...> wrote: > On 7/11/14, 3:50 PM, Trevor Williams wrote: >> In the 8.5.8 version, I can hold down any printable key, and the text widget will begin inserting that same character indefinitely until I release the key. However, in the 8.5.15 version, holding down any printable key, will only insert a single key. Interestingly, if I hold the key down, release it and then hit the backspace character, it takes a few backspace keystrokes before the character is actually deleted. Anyone know why this is occurring and how I can get the old behavior back? > > I see this with some keys (b, r) and not with others (e, a). I'm not > sure what is causing it. The implementation between Carbon and Cocoa is > different (completely different API's) and so the difference perhaps > lies there. It may not be solvable. > > Is there a use case for indefinitely repeating a character with a single > keypress? > > -- > Kevin Walzer > Code by Kevin/Mobile Code by Kevin > http://www.codebykevin.com > http://www.wtmobilesoftware.com > > ------------------------------------------------------------------------------ > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |