Man pages for GegznaV/addin.tools
Helper Functions to Create RStudio Add-ins

addin.toolsHelper functions to create RStudio add-ins.
ensure_blank_lineAdd blank lines if needed.
heplers' Check if a blank line is needed below.
is_blank_line_needed_aboveCheck if a blank line is needed above.
is_rmd_visual_modeCheck if Visual Markdown Editor (VME) is used
make_spacesGenerate spaces of certain length
repeat_symbolRepeat sequence of symbols.
rs_document_contextData: RStudio decment context data.
rs_enclose_selection_withEnclose selection of text with indicated symbols.
rs_enclose_with_linesEnclose setected rows with text.
rs_get_contextRetrieve information about an active RStudio document.
rs_get_indexGet indices related to the selection(s).
rs_get_n_selectionsGet number of selections.
rs_get_positionGet position(s) related to the selection(s).
rs_get_row_lengthsGet lengths of selected rows.
rs_get_row_rangeGet row range of the indicated line
rs_get_selection_lengthGet length of selection.
rs_get_selection_rangeGet range of selection.
rs_get_selection_textGet selection text.
rs_get_textGet text in indicated lines.
rs_insert_at_row_startInsert text at the beginning of the row(s).
rs_insert_before_first_selected_rowInsert text at the beginning of the first selected row.
rs_insert_symbol_seqInsert a sequence of symbols.
rs_insert_textInsert text at the cursor position.
rs_replace_in_selectionReplace text in selection.
rs_select_rowsSelect rows
GegznaV/addin.tools documentation built on Aug. 24, 2023, 5:35 p.m.