webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Static Public Member Functions | List of all members
WebKit::TextChecker Class Reference

#include <TextChecker.h>

Static Public Member Functions

static const TextCheckerState & state ()
 
static bool isContinuousSpellCheckingAllowed ()
 
static void setContinuousSpellCheckingEnabled (bool)
 
static void setGrammarCheckingEnabled (bool)
 
static void setTestingMode (bool)
 
static bool isTestingMode ()
 
static void continuousSpellCheckingEnabledStateChanged (bool)
 
static void grammarCheckingEnabledStateChanged (bool)
 
static int64_t uniqueSpellDocumentTag (WebPageProxy *)
 
static void closeSpellDocumentWithTag (int64_t)
 
static void checkSpellingOfString (int64_t spellDocumentTag, StringView text, int32_t &misspellingLocation, int32_t &misspellingLength)
 
static void checkGrammarOfString (int64_t spellDocumentTag, StringView text, Vector< WebCore::GrammarDetail > &, int32_t &badGrammarLocation, int32_t &badGrammarLength)
 
static bool spellingUIIsShowing ()
 
static void toggleSpellingUIIsShowing ()
 
static void updateSpellingUIWithMisspelledWord (int64_t spellDocumentTag, const String &misspelledWord)
 
static void updateSpellingUIWithGrammarString (int64_t spellDocumentTag, const String &badGrammarPhrase, const WebCore::GrammarDetail &)
 
static void getGuessesForWord (int64_t spellDocumentTag, const String &word, const String &context, int32_t insertionPoint, Vector< String > &guesses, bool initialCapitalizationEnabled)
 
static void learnWord (int64_t spellDocumentTag, const String &word)
 
static void ignoreWord (int64_t spellDocumentTag, const String &word)
 
static void requestCheckingOfString (PassRefPtr< TextCheckerCompletion >, int32_t insertionPoint)
 

Member Function Documentation

◆ checkGrammarOfString()

void WebKit::TextChecker::checkGrammarOfString ( int64_t  spellDocumentTag,
StringView  text,
Vector< WebCore::GrammarDetail > &  ,
int32_t &  badGrammarLocation,
int32_t &  badGrammarLength 
)
static

◆ checkSpellingOfString()

void WebKit::TextChecker::checkSpellingOfString ( int64_t  spellDocumentTag,
StringView  text,
int32_t &  misspellingLocation,
int32_t &  misspellingLength 
)
static

◆ closeSpellDocumentWithTag()

void WebKit::TextChecker::closeSpellDocumentWithTag ( int64_t  )
static

◆ continuousSpellCheckingEnabledStateChanged()

void WebKit::TextChecker::continuousSpellCheckingEnabledStateChanged ( bool  enabled)
static

◆ getGuessesForWord()

void WebKit::TextChecker::getGuessesForWord ( int64_t  spellDocumentTag,
const String &  word,
const String &  context,
int32_t  insertionPoint,
Vector< String > &  guesses,
bool  initialCapitalizationEnabled 
)
static

◆ grammarCheckingEnabledStateChanged()

void WebKit::TextChecker::grammarCheckingEnabledStateChanged ( bool  enabled)
static

◆ ignoreWord()

void WebKit::TextChecker::ignoreWord ( int64_t  spellDocumentTag,
const String &  word 
)
static

◆ isContinuousSpellCheckingAllowed()

bool WebKit::TextChecker::isContinuousSpellCheckingAllowed ( )
static

◆ isTestingMode()

bool WebKit::TextChecker::isTestingMode ( )
static

◆ learnWord()

void WebKit::TextChecker::learnWord ( int64_t  spellDocumentTag,
const String &  word 
)
static

◆ requestCheckingOfString()

void WebKit::TextChecker::requestCheckingOfString ( PassRefPtr< TextCheckerCompletion >  completion,
int32_t  insertionPoint 
)
static

◆ setContinuousSpellCheckingEnabled()

void WebKit::TextChecker::setContinuousSpellCheckingEnabled ( bool  isContinuousSpellCheckingEnabled)
static

◆ setGrammarCheckingEnabled()

void WebKit::TextChecker::setGrammarCheckingEnabled ( bool  isGrammarCheckingEnabled)
static

◆ setTestingMode()

void WebKit::TextChecker::setTestingMode ( bool  enabled)
static

◆ spellingUIIsShowing()

bool WebKit::TextChecker::spellingUIIsShowing ( )
static

◆ state()

const TextCheckerState & WebKit::TextChecker::state ( )
static

◆ toggleSpellingUIIsShowing()

void WebKit::TextChecker::toggleSpellingUIIsShowing ( )
static

◆ uniqueSpellDocumentTag()

int64_t WebKit::TextChecker::uniqueSpellDocumentTag ( WebPageProxy *  )
static

◆ updateSpellingUIWithGrammarString()

void WebKit::TextChecker::updateSpellingUIWithGrammarString ( int64_t  spellDocumentTag,
const String &  badGrammarPhrase,
const WebCore::GrammarDetail &   
)
static

◆ updateSpellingUIWithMisspelledWord()

void WebKit::TextChecker::updateSpellingUIWithMisspelledWord ( int64_t  spellDocumentTag,
const String &  misspelledWord 
)
static

The documentation for this class was generated from the following files: