OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:badGrammarPhraseLength
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/WebCore/editing/
TextCheckingHelper.cpp
356
int TextCheckingHelper::findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int /*
badGrammarPhraseLength
*/, int startOffset, int endOffset, bool markAll)
425
int
badGrammarPhraseLength
= 0;
426
m_client->textChecker()->checkGrammarOfString(paragraph.textCharacters() + startOffset, paragraph.textLength() - startOffset, grammarDetails, &badGrammarPhraseLocation, &
badGrammarPhraseLength
);
428
if (!
badGrammarPhraseLength
) {
438
int badGrammarIndex = findFirstGrammarDetail(grammarDetails, badGrammarPhraseLocation,
badGrammarPhraseLength
, paragraph.checkingStart(), paragraph.checkingEnd(), markAll);
448
firstBadGrammarPhrase = paragraph.textSubstring(badGrammarPhraseLocation,
badGrammarPhraseLength
);
457
startOffset = badGrammarPhraseLocation +
badGrammarPhraseLength
;
TextCheckingHelper.h
84
int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int
badGrammarPhraseLength
, int startOffset, int endOffset, bool markAll);
Completed in 119 milliseconds