Home
last modified time | relevance | path

Searched refs:grammarDetail (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebKit/mac/WebCoreSupport/
DWebEditorClient.mm674 GrammarDetail grammarDetail;
679 grammarDetail.location = detailNSRange.location;
680 grammarDetail.length = detailNSRange.length;
681 grammarDetail.userDescription = [detail objectForKey:NSGrammarUserDescription];
684 grammarDetail.guesses.append(String(guess));
685 details.append(grammarDetail);
768 …dateSpellingUIWithGrammarString(const String& badGrammarPhrase, const GrammarDetail& grammarDetail)
772 for (unsigned i = 0; i < grammarDetail.guesses.size(); i++) {
773 NSString* guess = grammarDetail.guesses[i];
776 NSRange grammarRange = NSMakeRange(grammarDetail.location, grammarDetail.length);
[all …]
/external/webkit/WebCore/editing/
DEditor.cpp1842 GrammarDetail grammarDetail; in advanceToNextMisspelling() local
1843 …(), spellingSearchRange.get(), isGrammarCheckingEnabled(), isSpelling, foundOffset, grammarDetail); in advanceToNextMisspelling()
1858 GrammarDetail grammarDetail; in advanceToNextMisspelling() local
1870 …rase = findFirstBadGrammarInRange(client(), grammarSearchRange.get(), grammarDetail, grammarPhrase… in advanceToNextMisspelling()
1883 …(), spellingSearchRange.get(), isGrammarCheckingEnabled(), isSpelling, foundOffset, grammarDetail); in advanceToNextMisspelling()
1903 …rase = findFirstBadGrammarInRange(client(), grammarSearchRange.get(), grammarDetail, grammarPhrase… in advanceToNextMisspelling()
1917 ASSERT(grammarDetail.location != -1 && grammarDetail.length > 0); in advanceToNextMisspelling()
1920 …:subrange(grammarSearchRange.get(), grammarPhraseOffset + grammarDetail.location, grammarDetail.le… in advanceToNextMisspelling()
1924 client()->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail); in advanceToNextMisspelling()
1925 …document()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, grammarDetail.userDescriptio… in advanceToNextMisspelling()
[all …]