-
justin.garcia@apple.com authored
2009-03-06 Douglas R. Davidson <ddavidso@apple.com> Reviewed by Justin Garcia. https://bugs.webkit.org/show_bug.cgi?id=24108 Update spelling and grammar checking to use the new combined text checking (with automatic language identification) on Snow Leopard. Tested manually in Mail and Safari; automated tests to come later. * editing/Editor.cpp: (WebCore::findFirstMisspellingOrBadGrammarInRange): (WebCore::Editor::advanceToNextMisspelling): (WebCore::guessesForMisspelledOrUngrammaticalRange): (WebCore::Editor::guessesForMisspelledOrUngrammaticalSelection): (WebCore::Editor::markMisspellingsAfterTypingToPosition): (WebCore::markAllMisspellingsAndBadGrammarInRanges): (WebCore::Editor::markMisspellingsAndBadGrammar): * editing/Editor.h: * loader/EmptyClients.h: (WebCore::EmptyEditorClient::checkSpellingAndGrammarOfParagraph): * page/EditorClient.h: * page/Frame.cpp: (WebCore::Frame::respondToChangedSelection): * platform/ContextMenu.cpp: (WebCore::ContextMenu::populate): WebKit/mac: 2009-03-06 Douglas R. Davidson <ddavidso@apple.com> Reviewed by Justin Garcia. https://bugs.webkit.org/show_bug.cgi?id=24108 Update spelling and grammar checking to use the new combined text checking (with automatic language identification) on Snow Leopard. * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::checkSpellingAndGrammarOfParagraph): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b8342a54