| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "core/editing/DeleteSelectionCommand.h" | 44 #include "core/editing/DeleteSelectionCommand.h" |
| 45 #include "core/editing/IndentOutdentCommand.h" | 45 #include "core/editing/IndentOutdentCommand.h" |
| 46 #include "core/editing/InputMethodController.h" | 46 #include "core/editing/InputMethodController.h" |
| 47 #include "core/editing/InsertListCommand.h" | 47 #include "core/editing/InsertListCommand.h" |
| 48 #include "core/editing/ModifySelectionListLevel.h" | 48 #include "core/editing/ModifySelectionListLevel.h" |
| 49 #include "core/editing/RemoveFormatCommand.h" | 49 #include "core/editing/RemoveFormatCommand.h" |
| 50 #include "core/editing/RenderedPosition.h" | 50 #include "core/editing/RenderedPosition.h" |
| 51 #include "core/editing/ReplaceSelectionCommand.h" | 51 #include "core/editing/ReplaceSelectionCommand.h" |
| 52 #include "core/editing/SimplifyMarkupCommand.h" | 52 #include "core/editing/SimplifyMarkupCommand.h" |
| 53 #include "core/editing/SpellChecker.h" | 53 #include "core/editing/SpellChecker.h" |
| 54 #include "core/editing/TextIterator.h" | |
| 55 #include "core/editing/TypingCommand.h" | 54 #include "core/editing/TypingCommand.h" |
| 56 #include "core/editing/UndoStack.h" | 55 #include "core/editing/UndoStack.h" |
| 57 #include "core/editing/VisibleUnits.h" | 56 #include "core/editing/VisibleUnits.h" |
| 58 #include "core/editing/htmlediting.h" | 57 #include "core/editing/htmlediting.h" |
| 59 #include "core/editing/markup.h" | 58 #include "core/editing/markup.h" |
| 60 #include "core/events/ClipboardEvent.h" | 59 #include "core/events/ClipboardEvent.h" |
| 61 #include "core/events/KeyboardEvent.h" | 60 #include "core/events/KeyboardEvent.h" |
| 62 #include "core/events/ScopedEventQueue.h" | 61 #include "core/events/ScopedEventQueue.h" |
| 63 #include "core/events/TextEvent.h" | 62 #include "core/events/TextEvent.h" |
| 64 #include "core/events/ThreadLocalEventNames.h" | 63 #include "core/events/ThreadLocalEventNames.h" |
| (...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1286 return m_frame.spellChecker(); | 1285 return m_frame.spellChecker(); |
| 1287 } | 1286 } |
| 1288 | 1287 |
| 1289 void Editor::toggleOverwriteModeEnabled() | 1288 void Editor::toggleOverwriteModeEnabled() |
| 1290 { | 1289 { |
| 1291 m_overwriteModeEnabled = !m_overwriteModeEnabled; | 1290 m_overwriteModeEnabled = !m_overwriteModeEnabled; |
| 1292 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); | 1291 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); |
| 1293 } | 1292 } |
| 1294 | 1293 |
| 1295 } // namespace WebCore | 1294 } // namespace WebCore |
| OLD | NEW |