element Parameter

Gives the number of the current line.

Scope: Line

Syntax

query element 

Description

The element parameter returns the number of the current line counted from the top of the file. An empty file returns 1.

Example

To find the number of a line, place the cursor on it and type:

query element 

If the cursor is on the fourth line, element returns 4.

API Return Codes

None.


elements Parameter