EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


Retrieves the ANSI text on the specified line. You can use this inline function or explicitly send the EE_GET_LINEA message.

Editor_GetLineA( HWND hwnd, GET_LINE_INFO* pGetLineInfo, LPSTR szString );



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


Pointer to the GET_LINE_INFO structure.


Pointer to the buffer that will receive the text.

Return Values

If pGetLineInfo->cch  is zero, the return value is the required size, in bytes, for a buffer that can receive the text. If pGetLineInfo->cch. is not zero, the return value is not used.

Copyright 2003-2015 by Emurasoft, Inc.