These functions insert sequence of symbols (the line) which by default starts at the cursor position and ends at symbol (column) 79. (It is recommended that the line of code would not be longer than 80 symbols.)

Use rs_insert_line_ss() to insert ------;
rs_insert_line_ds() to insert ======;
rs_insert_line_sw() to insert ~~~~~~ at the cursor position.

rs_insert_line(
  symbol,
  start = rs_get_index_first_selected_col(),
  end = getOption("addins.rs.line_end", 79)
)

rs_insert_line_ss()

rs_insert_line_ds()

rs_insert_line_sw()

Arguments

symbol

(character)
The symbol that will be repeated to create a line.

start

(numeric)
The number of column the line begins at.

end

(numeric)
The number of column the line ends at.

See also

Other 'Insert at cursor position' addins: insert_arrows