Searched refs:grammarRange (Results 1 - 4 of 4) sorted by relevance

/external/webkit/Source/WebKit2/UIProcess/mac/
H A DTextCheckerMac.mm356 NSRange grammarRange = NSMakeRange(grammarDetail.location, grammarDetail.length);
358 RetainPtr<NSDictionary> grammarDetailDict(AdoptNS, [[NSDictionary alloc] initWithObjectsAndKeys:[NSValue valueWithRange:grammarRange], NSGrammarRange, grammarUserDescription, NSGrammarUserDescription, corrections.get(), NSGrammarCorrections, nil]);
/external/webkit/Source/WebCore/editing/
H A DEditor.h255 void markAllMisspellingsAndBadGrammarInRanges(TextCheckingOptions, Range* spellingRange, Range* grammarRange);
H A DEditor.cpp2112 void Editor::markAllMisspellingsAndBadGrammarInRanges(TextCheckingOptions textCheckingOptions, Range* spellingRange, Range* grammarRange) argument
2126 if (!client() || !spellingRange || (shouldMarkGrammar && !grammarRange))
2145 TextCheckingParagraph grammarParagraph(shouldMarkGrammar ? grammarRange : 0);
2206 grammarRange->startContainer(ec)->document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription);
2320 UNUSED_PARAM(grammarRange);
/external/webkit/Source/WebKit/mac/WebCoreSupport/
H A DWebEditorClient.mm879 NSRange grammarRange = NSMakeRange(grammarDetail.location, grammarDetail.length);
881 NSMutableDictionary* grammarDetailDict = [NSDictionary dictionaryWithObjectsAndKeys:[NSValue valueWithRange:grammarRange], NSGrammarRange, grammarUserDescription, NSGrammarUserDescription, corrections, NSGrammarCorrections, nil];

Completed in 86 milliseconds