Creates a document_position, which can be used to indicate e.g. the row + column location of the cursor in a document.

document_position(row, column)

is.document_position(x)

as.document_position(x)

Arguments

row

The row (using 1-based indexing).

column

The column (using 1-based indexing).

x

An object coercable to document_position.