Searched refs:stringText (Results 1 – 2 of 2) sorted by relevance
73 string16 stringText = text; in spellCheckWord() local76 while (!stringText.empty()) { in spellCheckWord()84 string16::iterator firstChar = find_if(stringText.begin(), stringText.end(), isASCIIAlpha); in spellCheckWord()85 if (firstChar == stringText.end()) in spellCheckWord()87 int wordOffset = distance(stringText.begin(), firstChar); in spellCheckWord()88 int maxWordLength = static_cast<int>(stringText.length()) - wordOffset; in spellCheckWord()99 word = stringText.substr(wordOffset, wordLength); in spellCheckWord()100 …elledWords.at(i) && (static_cast<int>(stringText.length()) == wordOffset + wordLength || isNotASCI… in spellCheckWord()110 …string16::iterator lastChar = find_if(stringText.begin() + wordOffset, stringText.end(), isNotASCI… in spellCheckWord()111 if (lastChar == stringText.end()) in spellCheckWord()[all …]
47 string16 stringText = text; in checkGrammarOfString() local48 if (find_if(stringText.begin(), stringText.end(), isASCIIAlpha) == stringText.end()) in checkGrammarOfString()75 while ((offset = stringText.find(error, offset)) != string16::npos) { in checkGrammarOfString()