Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Selection Object > Methods

EmEditor Macro Reference: GetActivePointY Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

GetActivePointY Method

Returns the line number of the cursor position.

[JavaScript]

yPos = document.selection.GetActivePointY( nFlags );

[VBScript]

yPos = document.selection.GetActivePointY( nFlags )

Parameters

nFlags

Specifies a combination of the following values:

eePosView

Returns the line number in view.

eePosLogical

Returns the logical line number, determined by the number of new lines from the start of the document.

eePosCellLogical

CSV cell unit in logical coordinates.

eePosCellView

CSV cell unit in view coordinates.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.