Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_OverwriteW

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


Inserts a Unicode string at the current cursor position. This overwrites the existing string. You can use this inline function or explicitly send the EE_INSERT_STRINGW message.

Editor_OverwriteW( HWND hwnd, LPCWSTR szString, bool bKeepDestReturnType = false );



Specifies the window handle of the view or frame of EmEditor.


Specifies the string to be inserted.


Specifies that the destination return type (CR only, LF only or both CR and LF) should be kept. When this parameter is omitted, EmEditor keeps the return type specified in the szString parameter.

Return Values

The return value is not used.


The bKeepDestReturnType flag is supported on EmEditor Version 7.00 or later.

Copyright © 2003-2021 by Emurasoft, Inc.