Chromium Code Reviews| Index: Source/core/editing/Editor.cpp |
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp |
| index 9b088b228ddfc35b76372abff0a8ce1006fb0213..e3003dc81516e8b8489b77c7211d9cb12f4312a0 100644 |
| --- a/Source/core/editing/Editor.cpp |
| +++ b/Source/core/editing/Editor.cpp |
| @@ -2913,4 +2913,10 @@ void Editor::applyDictationAlternativelternative(const String& alternativeString |
| m_alternativeTextController->applyDictationAlternative(alternativeString); |
| } |
| +void Editor::toggleOverwriteModeEnabled() |
| +{ |
| + m_overwriteModeEnabled = !m_overwriteModeEnabled; |
|
esprehn
2013/06/12 19:25:30
I'd prefer we didn't store the overwrite mode stat
svillar
2013/06/13 08:53:06
So there is a reason for having these two states w
|
| + frame()->selection()->setShouldShowBlockCursor(m_overwriteModeEnabled); |
| +}; |
| + |
| } // namespace WebCore |