Home | History | Annotate | Download | only in editing

Lines Matching refs:misspellingLocation

82         int misspellingLocation = -1;
84 client->checkSpellingOfString(String(text + start + wordStart, wordLength), &misspellingLocation, &misspellingLength);
86 ASSERT(0 <= misspellingLocation && misspellingLocation <= wordLength);
87 ASSERT(0 < misspellingLength && misspellingLocation + misspellingLength <= wordLength);
90 misspelling.location = start + wordStart + misspellingLocation;
247 int misspellingLocation = -1;
249 m_client->textChecker()->checkSpellingOfString(it.substring(0, length), &misspellingLocation, &misspellingLength);
255 ASSERT(misspellingLocation >= -1);
256 ASSERT(!misspellingLength || misspellingLocation >= 0);
257 ASSERT(misspellingLocation < length);
259 ASSERT(misspellingLocation + misspellingLength <= length);
261 if (misspellingLocation >= 0 && misspellingLength > 0 && misspellingLocation < length && misspellingLength <= length && misspellingLocation + misspellingLength <= length) {
264 RefPtr<Range> misspellingRange = TextIterator::subrange(m_range.get(), currentChunkOffset + misspellingLocation, misspellingLength);
268 firstMisspellingOffset = currentChunkOffset + misspellingLocation;
269 firstMisspelling = it.substring(misspellingLocation, misspellingLength);