Lines Matching refs:replacementRange
1090 // As in insertText:replacementRange:, we assume that the call comes from an input method if there is marked text.
1104 // Unlike and NSTextInputClient variant with replacementRange, this NSResponder method is called when there is no input context,
1107 [self insertText:string replacementRange:NSMakeRange(NSNotFound, 0)];
1110 - (void)insertText:(id)string replacementRange:(NSRange)replacementRange
1115 if (replacementRange.location != NSNotFound)
1116 LOG(TextInput, "insertText:\"%@\" replacementRange:(%u, %u)", isAttributedString ? [string string] : string, replacementRange.location, replacementRange.length);
1139 ASSERT(replacementRange.location == NSNotFound);
1146 bool eventHandled = _data->_page->insertText(eventText, replacementRange.location, NSMaxRange(replacementRange));
1374 - (void)setMarkedText:(id)string selectedRange:(NSRange)newSelRange replacementRange:(NSRange)replacementRange
1407 _data->_page->insertText(text, replacementRange.location, NSMaxRange(replacementRange));
1413 _data->_page->setComposition(text, underlines, newSelRange.location, NSMaxRange(newSelRange), replacementRange.location, NSMaxRange(replacementRange));