Home | History | Annotate | Download | only in editing

Lines Matching refs:misspellingLength

182             int misspellingLength = 0;
183 m_client->textChecker()->checkSpellingOfString(chars, len, &misspellingLocation, &misspellingLength);
188 ASSERT(misspellingLength >= 0);
190 ASSERT(!misspellingLength || misspellingLocation >= 0);
192 ASSERT(misspellingLength <= len);
193 ASSERT(misspellingLocation + misspellingLength <= len);
195 if (misspellingLocation >= 0 && misspellingLength > 0 && misspellingLocation < len && misspellingLength <= len && misspellingLocation + misspellingLength <= len) {
198 RefPtr<Range> misspellingRange = TextIterator::subrange(m_range.get(), currentChunkOffset + misspellingLocation, misspellingLength);
203 firstMisspelling = String(chars + misspellingLocation, misspellingLength);