| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 bool insertLineBreak(); | 161 bool insertLineBreak(); |
| 162 bool insertParagraphSeparator(); | 162 bool insertParagraphSeparator(); |
| 163 | 163 |
| 164 bool isOverwriteModeEnabled() const { return m_overwriteModeEnabled; } | 164 bool isOverwriteModeEnabled() const { return m_overwriteModeEnabled; } |
| 165 void toggleOverwriteModeEnabled(); | 165 void toggleOverwriteModeEnabled(); |
| 166 | 166 |
| 167 bool canUndo(); | 167 bool canUndo(); |
| 168 void undo(); | 168 void undo(); |
| 169 bool canRedo(); | 169 bool canRedo(); |
| 170 void redo(); | 170 void redo(); |
| 171 void clearUndoStack(); |
| 171 | 172 |
| 172 void setBaseWritingDirection(WritingDirection); | 173 void setBaseWritingDirection(WritingDirection); |
| 173 | 174 |
| 174 // smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled are | 175 // smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled are |
| 175 // mutually exclusive, meaning that enabling one will disable the other. | 176 // mutually exclusive, meaning that enabling one will disable the other. |
| 176 bool smartInsertDeleteEnabled() const; | 177 bool smartInsertDeleteEnabled() const; |
| 177 bool isSelectTrailingWhitespaceEnabled() const; | 178 bool isSelectTrailingWhitespaceEnabled() const; |
| 178 | 179 |
| 179 bool preventRevealSelection() const { return m_preventRevealSelection; } | 180 bool preventRevealSelection() const { return m_preventRevealSelection; } |
| 180 | 181 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 290 |
| 290 inline bool Editor::markedTextMatchesAreHighlighted() const | 291 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 291 { | 292 { |
| 292 return m_areMarkedTextMatchesHighlighted; | 293 return m_areMarkedTextMatchesHighlighted; |
| 293 } | 294 } |
| 294 | 295 |
| 295 | 296 |
| 296 } // namespace WebCore | 297 } // namespace WebCore |
| 297 | 298 |
| 298 #endif // Editor_h | 299 #endif // Editor_h |
| OLD | NEW |