Lines Matching defs:startOffset
356 int TextCheckingHelper::findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int /*badGrammarPhraseLength*/, int startOffset, int endOffset, bool markAll)
370 if (detailStartOffsetInParagraph < startOffset)
378 RefPtr<Range> badGrammarRange = TextIterator::subrange(m_range.get(), badGrammarPhraseLocation - startOffset + detail->location, detail->length);
396 UNUSED_PARAM(startOffset);
421 int startOffset = 0;
422 while (startOffset < paragraph.checkingEnd()) {
426 m_client->textChecker()->checkGrammarOfString(paragraph.textCharacters() + startOffset, paragraph.textLength() - startOffset, grammarDetails, &badGrammarPhraseLocation, &badGrammarPhraseLength);
434 badGrammarPhraseLocation += startOffset;
457 startOffset = badGrammarPhraseLocation + badGrammarPhraseLength;