Home | History | Annotate | Download | only in editing

Lines Matching refs:textCheckingOptions

1367         TextCheckingTypeMask textCheckingOptions = 0;
1370 textCheckingOptions |= TextCheckingTypeSpelling;
1372 if (!(textCheckingOptions & TextCheckingTypeSpelling))
1376 textCheckingOptions |= TextCheckingTypeGrammar;
1379 if (textCheckingOptions & TextCheckingTypeGrammar) {
1381 markAllMisspellingsAndBadGrammarInRanges(textCheckingOptions, adjacentWords.toNormalizedRange().get(), selectedSentence.toNormalizedRange().get());
1383 markAllMisspellingsAndBadGrammarInRanges(textCheckingOptions, adjacentWords.toNormalizedRange().get(), adjacentWords.toNormalizedRange().get());
1486 void Editor::markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheckingOptions, Range* spellingRange, Range* grammarRange)
1491 bool shouldMarkGrammar = textCheckingOptions & TextCheckingTypeGrammar;
1514 RefPtr<SpellCheckRequest> request = SpellCheckRequest::create(resolveTextCheckingTypeMask(textCheckingOptions), TextCheckingProcessIncremental, asynchronous ? paragraphRange : rangeToCheck, paragraphRange);
1522 checkTextOfParagraph(textChecker(), paragraphToCheck.text(), resolveTextCheckingTypeMask(textCheckingOptions), results);
1530 TextCheckingTypeMask textCheckingOptions = request->data().mask();
1533 bool shouldMarkSpelling = textCheckingOptions & TextCheckingTypeSpelling;
1534 bool shouldMarkGrammar = textCheckingOptions & TextCheckingTypeGrammar;
1609 TextCheckingTypeMask textCheckingOptions = TextCheckingTypeSpelling;
1611 textCheckingOptions |= TextCheckingTypeGrammar;
1612 markAllMisspellingsAndBadGrammarInRanges(textCheckingOptions, spellingSelection.toNormalizedRange().get(), grammarSelection.toNormalizedRange().get());
2162 TextCheckingTypeMask Editor::resolveTextCheckingTypeMask(TextCheckingTypeMask textCheckingOptions)
2164 bool shouldMarkSpelling = textCheckingOptions & TextCheckingTypeSpelling;
2165 bool shouldMarkGrammar = textCheckingOptions & TextCheckingTypeGrammar;