Searched refs:misspellingLocation (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/platform/text/enchant/
H A DTextCheckerEnchant.h43 void checkSpellingOfString(const String&, int& misspellingLocation, int& misspellingLength);
53 void checkSpellingOfWord(const CString&, int start, int end, int& misspellingLocation, int& misspellingLength);
H A DTextCheckerEnchant.cpp66 void TextCheckerEnchant::checkSpellingOfWord(const CString& word, int start, int end, int& misspellingLocation, int& misspellingLength) argument
75 misspellingLocation = -1;
81 misspellingLocation = start;
85 void TextCheckerEnchant::checkSpellingOfString(const String& string, int& misspellingLocation, int& misspellingLength) argument
88 misspellingLocation = -1;
102 checkSpellingOfWord(utf8String, start, end, misspellingLocation, misspellingLength);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/gtk/
H A DWebKitTextChecker.cpp50 static void checkSpellingOfStringCallback(uint64_t /* tag */, WKStringRef text, int32_t* misspellingLocation, int32_t* misspellingLength, const void* clientInfo) argument
52 toTextChecker(clientInfo)->checkSpellingOfString(toImpl(text)->string(), *misspellingLocation, *misspellingLength);
113 void WebKitTextChecker::checkSpellingOfString(const String& string, int& misspellingLocation, int& misspellingLength) argument
115 m_textChecker->checkSpellingOfString(string, misspellingLocation, misspellingLength);
H A DWebKitTextChecker.h45 void checkSpellingOfString(const String& string, int& misspellingLocation, int& misspellingLength);
/macosx-10.10/WebCore-7600.1.25/editing/
H A DTextCheckingHelper.cpp86 int misspellingLocation = -1; local
88 client.checkSpellingOfString(text.substring(wordStart, wordLength), &misspellingLocation, &misspellingLength);
91 ASSERT(misspellingLocation >= 0);
92 ASSERT(misspellingLocation <= wordLength);
94 ASSERT(misspellingLocation + misspellingLength <= wordLength);
98 misspelling.location = wordStart + misspellingLocation;
260 int misspellingLocation = -1; local
262 m_client->textChecker()->checkSpellingOfString(text, &misspellingLocation, &misspellingLength);
268 ASSERT(misspellingLocation >= -1);
269 ASSERT(!misspellingLength || misspellingLocation >
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/efl/
H A DTextCheckerEfl.cpp168 int32_t misspellingLocation = -1; local
170 checkSpellingOfString(spellDocumentTag, text.substring(offset, lengthStrip - offset), misspellingLocation, misspellingLength);
176 misspellingResult.location = offset + misspellingLocation;
179 offset += misspellingLocation + misspellingLength;
194 void TextChecker::checkSpellingOfString(int64_t spellDocumentTag, StringView text, int32_t& misspellingLocation, int32_t& misspellingLength) argument
197 WebTextChecker::shared()->client().checkSpellingOfString(spellDocumentTag, text.toStringWithoutCopying(), misspellingLocation, misspellingLength);
202 UNUSED_PARAM(misspellingLocation);
H A DTextCheckerClientEfl.cpp162 void TextCheckerClientEfl::checkSpellingOfStringCallback(uint64_t tag, WKStringRef text, int32_t* misspellingLocation, int32_t* misspellingLength, const void* clientInfo) argument
166 textCheckerClient->clientCallbacks().string_spelling_check(tag, WKEinaSharedString(text), misspellingLocation, misspellingLength);
168 textCheckerClient->m_textCheckerEnchant->checkSpellingOfString(toWTFString(text), *misspellingLocation, *misspellingLength); local
H A DTextCheckerClientEfl.h72 static void checkSpellingOfStringCallback(uint64_t, WKStringRef text, int32_t* misspellingLocation, int32_t* misspellingLength, const void*);
/macosx-10.10/WebCore-7600.1.25/platform/text/
H A DTextCheckerClient.h47 virtual void checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) = 0;
/macosx-10.10/WebKit2-7600.1.25/UIProcess/
H A DWebTextCheckerClient.cpp94 void WebTextCheckerClient::checkSpellingOfString(uint64_t tag, const String& text, int32_t& misspellingLocation, int32_t& misspellingLength) argument
96 misspellingLocation = -1;
102 m_client.checkSpellingOfString(tag, toAPI(text.impl()), &misspellingLocation, &misspellingLength, m_client.base.clientInfo);
H A DTextChecker.h72 static void checkSpellingOfString(int64_t spellDocumentTag, StringView text, int32_t& misspellingLocation, int32_t& misspellingLength);
H A DWebTextCheckerClient.h54 void checkSpellingOfString(uint64_t tag, const String& text, int32_t& misspellingLocation, int32_t& misspellingLength);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/gtk/
H A DTextCheckerGtk.cpp96 void TextChecker::checkSpellingOfString(int64_t spellDocumentTag, StringView text, int32_t& misspellingLocation, int32_t& misspellingLength) argument
98 WebTextChecker::shared()->client().checkSpellingOfString(spellDocumentTag, text.toStringWithoutCopying(), misspellingLocation, misspellingLength);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/C/
H A DWKTextChecker.h43 typedef void (*WKTextCheckerCheckSpellingOfString)(uint64_t tag, WKStringRef text, int32_t* misspellingLocation, int32_t* misspellingLength, const void *clientInfo);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/efl/tests/
H A Dtest_ewk2_text_checker.cpp140 static void onSpellingCheck(uint64_t tag, const char* text, int32_t* misspellingLocation, int32_t* misspellingLength) argument
145 ASSERT_TRUE(misspellingLocation);
150 *misspellingLocation = 0;
165 static void onSpellingForKnownWord(uint64_t, const char* text, int32_t* misspellingLocation, int32_t* misspellingLength) argument
169 ASSERT_TRUE(misspellingLocation);
172 *misspellingLocation = -1;
/macosx-10.10/WebKit-7600.1.25/win/WebCoreSupport/
H A DWebEditorClient.h104 virtual void checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) override;
H A DWebEditorClient.cpp661 void WebEditorClient::checkSpellingOfString(StringView text, int* misspellingLocation, int* misspellingLength) argument
663 *misspellingLocation = -1;
671 ed->checkSpellingOfString(m_webView, text.upconvertedCharacters(), text.length(), misspellingLocation, misspellingLength);
/macosx-10.10/WebKit-7600.1.25/mac/WebCoreSupport/
H A DWebEditorClient.h153 virtual void checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) override;
212 inline void WebEditorClient::checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) argument
H A DWebEditorClient.mm906 void WebEditorClient::checkSpellingOfString(StringView text, int* misspellingLocation, int* misspellingLength)
910 if (misspellingLocation) {
913 *misspellingLocation = -1;
915 *misspellingLocation = range.location;
/macosx-10.10/WebKit-7600.1.25/win/Interfaces/
H A DIWebEditingDelegate.idl179 HRESULT checkSpellingOfString([in] IWebView* view, [in] LPCTSTR text, [in] int length, [out] int* misspellingLocation, [out] int* misspellingLength);
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebCoreSupport/
H A DWebEditorClient.h139 virtual void checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) override;
H A DWebEditorClient.cpp441 void WebEditorClient::checkSpellingOfString(StringView text, int* misspellingLocation, int* misspellingLength) argument
447 *misspellingLocation = resultLocation;
/macosx-10.10/WebKit-7600.1.25/wince/WebCoreSupport/
H A DEditorClientWinCE.cpp469 void EditorClientWinCE::checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) argument
/macosx-10.10/WebCore-7600.1.25/accessibility/
H A DAccessibilityObject.cpp352 int misspellingLocation = -1; local
353 textChecker->checkSpellingOfString(stringValue(), &misspellingLocation, &misspellingLength); local
354 if (misspellingLength || misspellingLocation != -1)
/macosx-10.10/WebCore-7600.1.25/accessibility/mac/
H A DWebAccessibilityObjectWrapperMac.mm941 int misspellingLocation = -1;
943 node->document().frame()->editor().textChecker()->checkSpellingOfString(text.substring(currentPosition), &misspellingLocation, &misspellingLength);
944 if (misspellingLocation == -1 || !misspellingLength)
947 NSRange spellRange = NSMakeRange(range.location + currentPosition + misspellingLocation, misspellingLength);
953 currentPosition += misspellingLocation + misspellingLength;

Completed in 304 milliseconds

12