Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_LogicalToSerial

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


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 );



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


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

Return Values

Return the serial position.

Copyright © 2003-2021 by Emurasoft, Inc.