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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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() { m_overwriteModeEnabled = !m_overwriteMod
eEnabled; } |
229 | 229 |
230 #if USE(APPKIT) | |
231 void uppercaseWord(); | |
232 void lowercaseWord(); | |
233 void capitalizeWord(); | |
234 #endif | |
235 #if USE(AUTOMATIC_TEXT_REPLACEMENT) | 230 #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
236 void showSubstitutionsPanel(); | 231 void showSubstitutionsPanel(); |
237 bool substitutionsPanelIsShowing(); | 232 bool substitutionsPanelIsShowing(); |
238 void toggleSmartInsertDelete(); | 233 void toggleSmartInsertDelete(); |
239 bool isAutomaticQuoteSubstitutionEnabled(); | 234 bool isAutomaticQuoteSubstitutionEnabled(); |
240 void toggleAutomaticQuoteSubstitution(); | 235 void toggleAutomaticQuoteSubstitution(); |
241 bool isAutomaticLinkDetectionEnabled(); | 236 bool isAutomaticLinkDetectionEnabled(); |
242 void toggleAutomaticLinkDetection(); | 237 void toggleAutomaticLinkDetection(); |
243 bool isAutomaticDashSubstitutionEnabled(); | 238 bool isAutomaticDashSubstitutionEnabled(); |
244 void toggleAutomaticDashSubstitution(); | 239 void toggleAutomaticDashSubstitution(); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 439 |
445 inline bool Editor::markedTextMatchesAreHighlighted() const | 440 inline bool Editor::markedTextMatchesAreHighlighted() const |
446 { | 441 { |
447 return m_areMarkedTextMatchesHighlighted; | 442 return m_areMarkedTextMatchesHighlighted; |
448 } | 443 } |
449 | 444 |
450 | 445 |
451 } // namespace WebCore | 446 } // namespace WebCore |
452 | 447 |
453 #endif // Editor_h | 448 #endif // Editor_h |
OLD | NEW |