From 24e1ee8a956b3941fa0943ecf0d8fcd4991638b8 Mon Sep 17 00:00:00 2001 From: simonpcouch Date: Mon, 28 Oct 2024 16:12:34 -0500 Subject: [PATCH] append no remainder by default --- R/rstudioapi.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/rstudioapi.R b/R/rstudioapi.R index dad3291..635ba20 100644 --- a/R/rstudioapi.R +++ b/R/rstudioapi.R @@ -70,7 +70,7 @@ wipe_selection <- function(selection, context) { selection } -stream_selection <- function(selection, context, pal, n_lines_orig, remainder) { +stream_selection <- function(selection, context, pal, n_lines_orig, remainder = "") { selection_text <- selection[["text"]] output_lines <- character(0) stream <- pal[[".__enclos_env__"]][["private"]]$.stream(selection_text)