No need to update the pre-edit text

This commit is contained in:
pagedown 2022-01-23 22:16:26 +08:00
parent 1ce4fc9c8c
commit 3ee12082f2
No known key found for this signature in database
GPG key ID: E921CF18AC8FF6EB

View file

@ -1185,7 +1185,6 @@ - (void)keyDown:(NSEvent *)event
}
if (([self hasMarkedText] || previous_has_marked_text) && !_glfw.ns.text[0]) {
// do not pass keys like BACKSPACE while there's pre-edit text, let IME handle it
UPDATE_PRE_EDIT_TEXT;
debug_key("Ignoring key press as IME is active and it generated no text\n");
return;
}