Opens temporary text as a new document. You can use this inline function or explicitly send the EE_EDIT_TEMP message.
Editor_EditTemp( HWND hwnd, LPCWSTR pszTempText, LPCWSTR pszTitle, LPCWSTR pszIconPath, LPCWSTR pszConfig, UINT nEncoding, POINT_PTR* pptInitialCaret = NULL, UINT nFlags = 0 );
hwnd
Specifies the window handle of the view or frame of EmEditor.
pszTempText
Specifies temporary text on memory that you want to open as a new document.
pszTitle
Specifies the title of the new document.
pszIconPath
Specifies the path and file name of the icon that you want to use as a new document.
pszConfig
Specifies the name of the configuration that the new document should use.
nEncoding
Specifies the encoding of the file.
pptInitialCaret
Specifies the initial cursor position.
nFlags
This value must be zero.
The return value is the ID of the new document.
Supported on EmEditor Version 9.00 or later.
Send feedback on this topic to Emurasoft