Under MacOS X, the NSText used to interpret the events will store all the keyDown. #73
Description
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0
Reported for operating system, platform: Mac OS X 10.4 (Intel), x86
Comments on the original bug report:
On 2007-07-28 06:44:16 +0000, kuon wrote:
I just noticed how my patch was implemented,
You added:
[data->fieldEdit interpretKeyEvents:[NSArray arrayWithObject:event]];
in theCocoa_HandleKeyEvent (and equivalent for pre 1.3), but as you cache the NSText, you should clean the buffer it contains, otherwise it will grow up at each keypress.Something like:
[data->fieldEdit setString:@""];must be done after each key interpretation, to prevent the NSText from growing madly.
On 2007-08-20 23:52:03 +0000, Sam Lantinga wrote:
*** Bug 480 has been marked as a duplicate of this bug. ***
On 2007-08-20 23:54:26 +0000, Sam Lantinga wrote:
This is fixed in subversion, thanks!