comparison src/java.desktop/macosx/native/libawt_lwawt/awt/AWTView.m @ 17695:7d3e0c5b5e25

8180370: Characters are skipped on input of Korean text on OS X Reviewed-by: serb, prr Contributed-by: sreeprakash.s@oracle.com
author aghaisas
date Wed, 07 Jun 2017 16:43:18 +0530
parents ba316e40c19b
children d4e5f053e75b
comparison
equal deleted inserted replaced
11:34e7ee4edda8 12:58823c018f7b
984 984
985 // The input method event will create psuedo-key events for each character in the committed string. 985 // The input method event will create psuedo-key events for each character in the committed string.
986 // We also don't want to send the character that triggered the insertText, usually a return. [3337563] 986 // We also don't want to send the character that triggered the insertText, usually a return. [3337563]
987 fKeyEventsNeeded = NO; 987 fKeyEventsNeeded = NO;
988 } 988 }
989 else {
990 // Need to set back the fKeyEventsNeeded flag so that the string following the
991 // marked text is not ignored by keyDown
992 if ([useString length] > 0) {
993 fKeyEventsNeeded = YES;
994 }
995 }
989 fPAHNeedsToSelect = NO; 996 fPAHNeedsToSelect = NO;
990 } 997 }
991 998
992 - (void) doCommandBySelector:(SEL)aSelector 999 - (void) doCommandBySelector:(SEL)aSelector
993 { 1000 {