Home | History | Annotate | Download | only in chromium

Lines Matching refs:misspelledLength

408 void WebViewHost::spellCheck(const WebString& text, int& misspelledOffset, int& misspelledLength, WebVector<WebString>* optionalSuggestions)
411 m_spellcheck.spellCheckWord(text, &misspelledOffset, &misspelledLength);
429 int misspelledLength = 0;
430 m_spellcheck.spellCheckWord(WebString(text.characters(), text.length()), &misspelledPosition, &misspelledLength);
431 if (!misspelledLength)
433 results.append(WebTextCheckingResult(WebTextCheckingResult::ErrorSpelling, offset + misspelledPosition, misspelledLength));
434 text = text.substring(misspelledPosition + misspelledLength);