Bug 741959 - text input broken on OS X 10.5 from 2.24.19 onwards
Alias insertText:replacementRange: to insertText: for SDK > 10.6, and implement insertText: for SDK < 10.6.
This commit is contained in:
@ -186,7 +186,15 @@
|
||||
[self performSelector: aSelector];
|
||||
}
|
||||
|
||||
/* This gets called on OS X 10.6 and upwards from interpretKeyEvents */
|
||||
-(void)insertText: (id)aString replacementRange: (NSRange)replacementRange
|
||||
{
|
||||
[self insertText:aString];
|
||||
}
|
||||
|
||||
/* This gets called on OS X 10.5 from interpretKeyEvents, although 10.5
|
||||
* is supposed to support NSTextInputClient */
|
||||
-(void)insertText: (id)aString
|
||||
{
|
||||
GDK_NOTE (EVENTS, g_print ("insertText\n"));
|
||||
const char *str;
|
||||
|
Reference in New Issue
Block a user