EE_GET_WORD

Retrieves a word at the cursor position. You can send this message explicitly or by using the Editor_GetWord inline function.

EE_GET_WORD
wParam = (WPARAM) (UINT) nBufferSize;
lParam = (LPARAM) (LPWSTR) szBuffer;

Parameters

nBufferSize

Specifies the maximum number of characters in characters to copy to the buffer, including the NULL character.

szBuffer

Pointer to the buffer that will receive the text.

Return Values

If nBufferSize. is zero, the return value is the required size, in characters, for a buffer that can receive the text. If nBufferSize is not zero, the return value is not used.

Version

Supported on EmEditor Version 10.00 or later.