< prev index next >

modules/graphics/src/main/native-glass/mac/GlassViewDelegate.m

Print this page

        

*** 981,997 **** - (BOOL)suppressMouseEnterExitOnMouseDown { return YES; } ! - (void)notifyInputMethod:(id) aString attr:(int)attr length:(int)length cursor:(int)cursor { if ([NSThread isMainThread] == YES) { GET_MAIN_JENV; jstring jStr = (*env)->NewStringUTF(env, [aString UTF8String]); ! (*env)->CallVoidMethod(env, self->jView, jViewNotifyInputMethodMac, jStr, attr, length, cursor); GLASS_CHECK_EXCEPTION(env); } } - (NSRect)getInputMethodCandidatePosRequest:(int)pos --- 981,997 ---- - (BOOL)suppressMouseEnterExitOnMouseDown { return YES; } ! - (void)notifyInputMethod:(id) aString attr:(int)attr length:(int)length cursor:(int)cursor selectedRange:(NSRange)selectionRange { if ([NSThread isMainThread] == YES) { GET_MAIN_JENV; jstring jStr = (*env)->NewStringUTF(env, [aString UTF8String]); ! (*env)->CallVoidMethod(env, self->jView, jViewNotifyInputMethodMac, jStr, attr, length, cursor, selectionRange.location, selectionRange.length); GLASS_CHECK_EXCEPTION(env); } } - (NSRect)getInputMethodCandidatePosRequest:(int)pos
< prev index next >