mark Parameter

Returns position of specified mark within a line.

Scope: File

Syntax

query mark.[Name|#Id] 

Option

Name 
The name of a mark. This name is truncated if longer than 32 characters. The search for this name is case insensitive.
Id 
The id number of an unnamed mark.

Description

The mark parameter gives the position of a specified mark within a line. The number returned is positive if the mark is in the current line; negative if it is set but is not on the current line; or zero if the mark is not in the file.

Example

To get the position of a mark called undoref, type:

query mark.undoref

API Return Codes

None.


mark Command
marklist Parameter