Sets the origin point of the selection.
document.selection.SetAnchorPoint( nFlags, xPos, yPos );
document.selection.SetAnchorPoint nFlags, xPos, yPos
nFlags
Specifies a combination of the following values:
| eePosView | Specifies by the column position and the line number in view. |
| eePosLogical | Specifies by the number of characters and lines from the previous new lines (or the start of the document if the first line). |
| eePosLogicalA | Same as eePosLogical but counts a full-width character as 2. |
xPos
Specifies the column number of the origin point of the selection.
yPos
Specifies the line number of the origin point of the selection.
Supported on EmEditor Professional Version 4.03 or later.
Send feedback on this topic to Emurasoft