cursorRow parameter

Use the cursorRow parameter to set or query the physical row of the line that contains the cursor.

 

Availability

query command
set command

 

Scope

The current view.

 

Syntax

query cursorRow
set cursorRow n 

 

Parameters

n Use the n parameter to indicate the physical row number.

 

Description

Note that setting the physical row number will not change the current element.  It will attempt to move the current element to the specified physical row number.  It may not always be possible to completely comply with the specified physical row number.  The current element must always be visible and elements are laid out such that there is never any wasted space at the top of the edit area, and there is only wasted space at the bottom of the edit area if there are not enough visible elements to fill the edit area.

 

Examples

query cursorRow
set cursorRow 3 

Related reference
query command
set command
rowHeight parameter
rows parameter