Editor_SetOutlineLevel

Sets the outline level for the specified logical line. You can use this inline function or explicitly send the EE_SET_OUTLINE_LEVEL message.

Editor_SetOutlineLevel( HWND hwnd, INT_PTR nLogicalLine, int nLevel );

Parameters

hwnd

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

nLogicalLine

Specifies a logical line.

nLevel

Specifies an outline level.

Return Values

The return value is the old outline level for the specified logical line. If an error occurs, the return value will be -1.

Version

Supported on EmEditor Professional Version 6.00 or later.