| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 Command command(const String& commandName); // Command source is CommandFrom
MenuOrKeyBinding. | 200 Command command(const String& commandName); // Command source is CommandFrom
MenuOrKeyBinding. |
| 201 Command command(const String& commandName, EditorCommandSource); | 201 Command command(const String& commandName, EditorCommandSource); |
| 202 static bool commandIsSupportedFromMenuOrKeyBinding(const String& commandName
); // Works without a frame. | 202 static bool commandIsSupportedFromMenuOrKeyBinding(const String& commandName
); // Works without a frame. |
| 203 | 203 |
| 204 bool insertText(const String&, Event* triggeringEvent); | 204 bool insertText(const String&, Event* triggeringEvent); |
| 205 bool insertTextForConfirmedComposition(const String& text); | 205 bool insertTextForConfirmedComposition(const String& text); |
| 206 bool insertDictatedText(const String&, const Vector<DictationAlternative>& d
ictationAlternatives, Event* triggeringEvent); | 206 bool insertDictatedText(const String&, const Vector<DictationAlternative>& d
ictationAlternatives, Event* triggeringEvent); |
| 207 bool insertTextWithoutSendingTextEvent(const String&, bool selectInsertedTex
t, TextEvent* triggeringEvent); | 207 bool insertTextWithoutSendingTextEvent(const String&, bool selectInsertedTex
t, TextEvent* triggeringEvent); |
| 208 bool insertLineBreak(); | 208 bool insertLineBreak(); |
| 209 bool insertParagraphSeparator(); | 209 bool insertParagraphSeparator(); |
| 210 | |
| 211 #if PLATFORM(MAC) | |
| 212 bool insertParagraphSeparatorInQuotedContent(); | |
| 213 #endif | |
| 214 | 210 |
| 215 bool isContinuousSpellCheckingEnabled() const; | 211 bool isContinuousSpellCheckingEnabled() const; |
| 216 void toggleContinuousSpellChecking(); | 212 void toggleContinuousSpellChecking(); |
| 217 bool isGrammarCheckingEnabled(); | 213 bool isGrammarCheckingEnabled(); |
| 218 void toggleGrammarChecking(); | 214 void toggleGrammarChecking(); |
| 219 void ignoreSpelling(); | 215 void ignoreSpelling(); |
| 220 void learnSpelling(); | 216 void learnSpelling(); |
| 221 int spellCheckerDocumentTag(); | 217 int spellCheckerDocumentTag(); |
| 222 bool isSelectionUngrammatical(); | 218 bool isSelectionUngrammatical(); |
| 223 String misspelledSelectionString() const; | 219 String misspelledSelectionString() const; |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 | 460 |
| 465 inline bool Editor::markedTextMatchesAreHighlighted() const | 461 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 466 { | 462 { |
| 467 return m_areMarkedTextMatchesHighlighted; | 463 return m_areMarkedTextMatchesHighlighted; |
| 468 } | 464 } |
| 469 | 465 |
| 470 | 466 |
| 471 } // namespace WebCore | 467 } // namespace WebCore |
| 472 | 468 |
| 473 #endif // Editor_h | 469 #endif // Editor_h |
| OLD | NEW |