From 5f1ab04193ad0130ca8204aadaceae083aca9881 Mon Sep 17 00:00:00 2001 From: Feng Qian Date: Wed, 17 Jun 2009 12:12:20 -0700 Subject: Get WebKit r44544. --- WebCore/editing/Editor.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'WebCore/editing/Editor.h') diff --git a/WebCore/editing/Editor.h b/WebCore/editing/Editor.h index ce8fa0f..67a4b59 100644 --- a/WebCore/editing/Editor.h +++ b/WebCore/editing/Editor.h @@ -197,9 +197,29 @@ public: Vector guessesForUngrammaticalSelection(); Vector guessesForMisspelledOrUngrammaticalSelection(bool& misspelled, bool& ungrammatical); void markMisspellingsAfterTypingToPosition(const VisiblePosition&); - void markMisspellings(const VisibleSelection&); + void markMisspellings(const VisibleSelection&, RefPtr& firstMisspellingRange); void markBadGrammar(const VisibleSelection&); void markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const VisibleSelection& grammarSelection); +#if PLATFORM(MAC) && !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) + void uppercaseWord(); + void lowercaseWord(); + void capitalizeWord(); + void showSubstitutionsPanel(); + bool substitutionsPanelIsShowing(); + void toggleSmartInsertDelete(); + bool isAutomaticQuoteSubstitutionEnabled(); + void toggleAutomaticQuoteSubstitution(); + bool isAutomaticLinkDetectionEnabled(); + void toggleAutomaticLinkDetection(); + bool isAutomaticDashSubstitutionEnabled(); + void toggleAutomaticDashSubstitution(); + bool isAutomaticTextReplacementEnabled(); + void toggleAutomaticTextReplacement(); + bool isAutomaticSpellingCorrectionEnabled(); + void toggleAutomaticSpellingCorrection(); + void markAllMisspellingsAndBadGrammarInRanges(bool markSpelling, Range* spellingRange, bool markGrammar, Range* grammarRange, bool performTextCheckingReplacements); + void changeBackToReplacedString(const String& replacedString); +#endif void advanceToNextMisspelling(bool startBeforeSelection = false); void showSpellingGuessPanel(); bool spellingPanelIsShowing(); -- cgit v1.1