Plug-in Reference — Inline Functions — Editor_SetSelLength

# Editor_SetSelLength

Changes the character length of the selection. You can use this inline function or explicitly send the EE_SET_SEL_LENGTH message.

Editor_SetSelLength( HWND hwnd, UINT nLen );

## Parameters

hwnd

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

nLen

Specifies the character length of the selection. Returns are always two character length (CR+LF).

## Return Values

The return value is not used.