EmEditor Home - EmEditor Help - Command Reference - Edit category

Insert/Overwrite command

Summary

Toggles insert/overwrite mode.

Description

Toggles insert/overwrite mode. EmEditor usually starts with the insert mode. When EmEditor is in insert mode, the cursor is shaped as an "I", and inserting a character will not delete any existing characters. When EmEditor is in the overwrite mode, the cursor becomes a solid rectangle, and inserting a character will delete the existing characters and will overwrite with new characters. This command will toggle the insert mode and the overwrite mode.

How to Run

Plug-in Command ID

Macros

[JavaScript]

document.selection.OverwriteMode = !document.selection.OverwriteMode;

[VBScript]

document.selection.OverwriteMode = NOT document.selection.OverwriteMode

Copyright 2003-2014 by Emurasoft, Inc.