Skip to content

Document insertText coordinate indexing - #332

Open
M-Colley wants to merge 1 commit into
rstudio:mainfrom
M-Colley:docs/insert-text-indexing-299
Open

M-Colley wants to merge 1 commit into
rstudio:mainfrom
M-Colley:docs/insert-text-indexing-299

Conversation

@M-Colley

Copy link
Copy Markdown

Summary

Document the 1-based row and column indices for insertText() and explain that RStudio treats zero as one for either coordinate. This matches the IDE's location conversion.

Fixes #299.

Validation

  • R CMD check --no-manual returned Status: OK on Windows with R 4.6.1.
  • The local testthat suite passed. The editor integration test requires a running IDE and was skipped.
  • Evaluated the pinned IDE conversion for positions, range endpoints, and lists. Row or column zero yielded the same ranges as one. Checked the rendered Rd help.

Prepared with Codex.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

insertText()'s location= argument -- is '0' a valid column number?

1 participant