markrange Parameter

Returns starting and ending positions of the specified mark.

Scope: File

Syntax

query markrange.[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 markrange parameter gives the range location of the specified mark. The four numbers returned are the starting line, starting column, ending line, and ending column.

Examples

  1. To get the text range location of a mark called undoref, type:
    query markrange.undoref
  2. To get the text range location of a mark with id of 567, type:
    query markrange.#567

API Return Codes

None.


mark Command