Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ - (void)insertText:(id)string replacementRange:(NSRange)range {
_activeModel->AddText([string UTF8String]);
if (_activeModel->composing()) {
_activeModel->CommitComposing();
_activeModel->EndComposing();
Copy link
Member

@cbracken cbracken Mar 9, 2021

Choose a reason for hiding this comment

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

I believe we may need a [self unmarkText] call as well to let macOS know to bail out of composing mode on its end as well.

}
[self updateEditState];
}
Expand Down