rs_insert_before_first_selected_row: Insert text at the beginning of the first selected row.

View source: R/rs_insert_before_first_selected_row.R

rs_insert_before_first_selected_rowR Documentation

Insert text at the beginning of the first selected row.

Description

Insert text at the beginning of the first selected row.

Usage

rs_insert_before_first_selected_row(
  text = "",
  ensure_blank_above = FALSE,
  context = rs_get_context()
)

Arguments

text

(character) The text to insert.

ensure_blank_above

(logical) If TRUE, inserts blank line above the selection if the line is not blank. If FALSE, no blank line is added.

context

(class document_context)
Object with context of active RStudio document.


GegznaV/addin.tools documentation built on Aug. 24, 2023, 5:35 p.m.