Home
last modified time | relevance | path

Searched refs:rangeToReplace (Results 1 – 3 of 3) sorted by relevance

/external/webkit/WebCore/editing/
DEditor.cpp2426 …RefPtr<Range> rangeToReplace = TextIterator::subrange(paragraphRange.get(), resultLocation, result… in markAllMisspellingsAndBadGrammarInRanges() local
2427 VisibleSelection selectionToReplace(rangeToReplace.get(), DOWNSTREAM); in markAllMisspellingsAndBadGrammarInRanges()
2440 Node* node = rangeToReplace->startContainer(); in markAllMisspellingsAndBadGrammarInRanges()
2441 int startOffset = rangeToReplace->startOffset(); in markAllMisspellingsAndBadGrammarInRanges()
2468 …} else if (canEdit() && shouldInsertText(result->replacement, rangeToReplace.get(), EditorInsertAc… in markAllMisspellingsAndBadGrammarInRanges()
2471 replacedString = plainText(rangeToReplace.get()); in markAllMisspellingsAndBadGrammarInRanges()
/external/webkit/WebKit/mac/WebView/
DWebFrame.mm787 - (void)_smartInsertForString:(NSString *)pasteString replacingRange:(DOMRange *)rangeToReplace bef…
796 Node *startContainer = core([rangeToReplace startContainer]);
797 Node *endContainer = core([rangeToReplace endContainer]);
799 Position startPos(startContainer, [rangeToReplace startOffset]);
800 Position endPos(endContainer, [rangeToReplace endOffset]);
DWebHTMLView.mm1743 - (void)_smartInsertForString:(NSString *)pasteString replacingRange:(DOMRange *)rangeToReplace bef…
1745 if (!pasteString || !rangeToReplace || ![[self _webView] smartInsertDeleteEnabled]) {
1753 …[[self _frame] _smartInsertForString:pasteString replacingRange:rangeToReplace beforeString:before…