< prev index next >
src/macosx/native/sun/awt/AWTView.m
Print this page
rev 12429 : 8180370: Characters are skipped on input of Korean text on OS X
Reviewed-by: serb, prr
Contributed-by: sreeprakash.s@oracle.com
*** 978,987 ****
--- 978,994 ----
// The input method event will create psuedo-key events for each character in the committed string.
// We also don't want to send the character that triggered the insertText, usually a return. [3337563]
fKeyEventsNeeded = NO;
}
+ else {
+ // Need to set back the fKeyEventsNeeded flag so that the string following the
+ // marked text is not ignored by keyDown
+ if (utf16Length > 0 || utf8Length > 0) {
+ fKeyEventsNeeded = YES;
+ }
+ }
fPAHNeedsToSelect = NO;
}
< prev index next >