Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Under MacOS X, the NSText used to interpret the events will store all the keyDown. #73

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant