Editor_LogicalToSerial

Converts the logical coordinates to the serial position. The serial position is the zero-based index of the character from the beginning of the entire text. You can use this inline function or explicitly send the EE_LOGICAL_TO_SERIAL message.

Editor_LogicalToSerial( HWND hwnd, POINT_PTR* pptLogical );

Parameters

hwnd

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

pptLogical

Pointer to a POINT_PTR structure that specifies the logical coordinates to be converted.

Return Values

Return the serial position.