document_position: Create a Document Position

View source: R/document-methods.R

document_positionR Documentation

Create a Document Position

Description

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

Usage

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.


rstudioapi documentation built on Oct. 23, 2024, 1:07 a.m.