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)
The row (using 1-based indexing).
The column (using 1-based indexing).
An object coercable to document_position
.