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

fix(developer): prevent double action of editor hotkeys in debugger #13345

Conversation

mcdurdin
Copy link
Member

With the move to the richedit control, hotkeys such as Ctrl+V are natively managed and we no longer need to handle them separately, as this caused actions to be applied twice.

Fixes: #13335

@keymanapp-test-bot skip

With the move to the richedit control, hotkeys such as Ctrl+V are
natively managed and we no longer need to handle them separately, as
this caused actions to be applied twice.

Fixes: #13335
@keymanapp-test-bot
Copy link

User Test Results

Test specification and instructions

User tests are not required

Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@@ -889,8 +868,6 @@ TMemoSelectionState = record
else msg.Msg := WM_KEYUP;
memo.Dispatch(msg);

DoHandleShortcut(LOBYTE(dwData));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the move to the richedit control, hotkeys such as Ctrl+V are natively managed and we no longer need to handle them separately

Could we document this in a comment? (for maintenance)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this PR sufficient? We aren't going to move away from RichEdit until we rewrite TIKE as HTML (in which case this change will be irrelevant anyway!)

@mcdurdin mcdurdin merged commit 3fce69f into beta Feb 27, 2025
7 checks passed
@mcdurdin mcdurdin deleted the fix/developer/13335-prevent-double-application-of-edit-shortcuts-in-debugger branch February 27, 2025 13:17
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 18.0.202-beta

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

Successfully merging this pull request may close these issues.

bug(developer): Ctrl+V pastes clipboard twice into debugger
3 participants