Plug-in Reference — Inline Functions — Editor_GetMargin

# Editor_GetMargin

Retrieves the margin size. You can use this inline function or explicitly send the EE_GET_MARGIN message.

Editor_Convert( HWND hwnd );

## Parameters

hwnd

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

## Return Values

Returns the currently selected margin size. If the normal line margin size and the quoted line margin size are different, the larger margin will be returned. If lines are wrapped by the window size, the return value will depend on the current window size.