| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index b5cfacb099035de9db51a7cd15b04ffdc49f0472..fa3f00f2283f922688df9e1880e691829517b51f 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -2357,4 +2357,10 @@ bool Editor::unifiedTextCheckerEnabled() const
|
| return WebCore::unifiedTextCheckerEnabled(m_frame);
|
| }
|
|
|
| +void Editor::toggleOverwriteModeEnabled()
|
| +{
|
| + m_overwriteModeEnabled = !m_overwriteModeEnabled;
|
| + frame()->selection()->setShouldShowBlockCursor(m_overwriteModeEnabled);
|
| +};
|
| +
|
| } // namespace WebCore
|
|
|