Editor_EditTemp¶
Creates 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, const 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. The encoding constants are listed in "EmEditor Macro Reference: Encoding Constants". pptInitialCaret Specifies the initial cursor position. nFlags Specifies one of the following values. TEMP_INFO_OPEN Opens a temporary text. TEMP_INFO_NO_ID Opens a temporary text without setting an ID. A document opened with this flag can be saved to a file when a user selects Save As on the File menu. The return value is the ID of the new document. Supported on EmEditor Version 9.00 or later.Parameters¶
Return Values¶
Version¶