OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:badGrammarPhraseLocation
(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)
367
int detailStartOffsetInParagraph =
badGrammarPhraseLocation
+ detail->location;
378
RefPtr<Range> badGrammarRange = TextIterator::subrange(m_range.get(),
badGrammarPhraseLocation
- startOffset + detail->location, detail->length);
395
UNUSED_PARAM(
badGrammarPhraseLocation
);
424
int
badGrammarPhraseLocation
= -1;
426
m_client->textChecker()->checkGrammarOfString(paragraph.textCharacters() + startOffset, paragraph.textLength() - startOffset, grammarDetails, &
badGrammarPhraseLocation
, &badGrammarPhraseLength);
429
ASSERT(
badGrammarPhraseLocation
== -1);
433
ASSERT(
badGrammarPhraseLocation
>= 0);
434
badGrammarPhraseLocation
+= startOffset;
438
int badGrammarIndex = findFirstGrammarDetail(grammarDetails,
badGrammarPhraseLocation
, badGrammarPhraseLength, paragraph.checkingStart(), paragraph.checkingEnd(), markAll)
[
all
...]
TextCheckingHelper.h
84
int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int
badGrammarPhraseLocation
, int badGrammarPhraseLength, int startOffset, int endOffset, bool markAll);
Completed in 247 milliseconds