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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 Vector<String> guessesForMisspelledOrUngrammatical(bool& misspelled, bool& u
ngrammatical); | 218 Vector<String> guessesForMisspelledOrUngrammatical(bool& misspelled, bool& u
ngrammatical); |
219 bool isSpellCheckingEnabledInFocusedNode() const; | 219 bool isSpellCheckingEnabledInFocusedNode() const; |
220 bool isSpellCheckingEnabledFor(Node*) const; | 220 bool isSpellCheckingEnabledFor(Node*) const; |
221 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, con
st VisibleSelection& selectionAfterTyping, bool doReplacement); | 221 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, con
st VisibleSelection& selectionAfterTyping, bool doReplacement); |
222 void markMisspellings(const VisibleSelection&, RefPtr<Range>& firstMisspelli
ngRange); | 222 void markMisspellings(const VisibleSelection&, RefPtr<Range>& firstMisspelli
ngRange); |
223 void markBadGrammar(const VisibleSelection&); | 223 void markBadGrammar(const VisibleSelection&); |
224 void markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection
, bool markGrammar, const VisibleSelection& grammarSelection); | 224 void markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection
, bool markGrammar, const VisibleSelection& grammarSelection); |
225 void markAndReplaceFor(PassRefPtr<SpellCheckRequest>, const Vector<TextCheck
ingResult>&); | 225 void markAndReplaceFor(PassRefPtr<SpellCheckRequest>, const Vector<TextCheck
ingResult>&); |
226 | 226 |
227 bool isOverwriteModeEnabled() const { return m_overwriteModeEnabled; } | 227 bool isOverwriteModeEnabled() const { return m_overwriteModeEnabled; } |
228 void toggleOverwriteModeEnabled() { m_overwriteModeEnabled = !m_overwriteMod
eEnabled; } | 228 void toggleOverwriteModeEnabled(); |
229 | 229 |
230 #if USE(AUTOMATIC_TEXT_REPLACEMENT) | 230 #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
231 void showSubstitutionsPanel(); | 231 void showSubstitutionsPanel(); |
232 bool substitutionsPanelIsShowing(); | 232 bool substitutionsPanelIsShowing(); |
233 void toggleSmartInsertDelete(); | 233 void toggleSmartInsertDelete(); |
234 bool isAutomaticQuoteSubstitutionEnabled(); | 234 bool isAutomaticQuoteSubstitutionEnabled(); |
235 void toggleAutomaticQuoteSubstitution(); | 235 void toggleAutomaticQuoteSubstitution(); |
236 bool isAutomaticLinkDetectionEnabled(); | 236 bool isAutomaticLinkDetectionEnabled(); |
237 void toggleAutomaticLinkDetection(); | 237 void toggleAutomaticLinkDetection(); |
238 bool isAutomaticDashSubstitutionEnabled(); | 238 bool isAutomaticDashSubstitutionEnabled(); |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 439 |
440 inline bool Editor::markedTextMatchesAreHighlighted() const | 440 inline bool Editor::markedTextMatchesAreHighlighted() const |
441 { | 441 { |
442 return m_areMarkedTextMatchesHighlighted; | 442 return m_areMarkedTextMatchesHighlighted; |
443 } | 443 } |
444 | 444 |
445 | 445 |
446 } // namespace WebCore | 446 } // namespace WebCore |
447 | 447 |
448 #endif // Editor_h | 448 #endif // Editor_h |
OLD | NEW |