(v1.4.0.9012) reference_df fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-11-05 01:11:49 +01:00
1 parent 5a607abb36
commit 423879c034
19 files changed
+98 -66

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ addin_insert_like <- function() {
current_row_txt <- context$contents[current_row]
pos_preceded_by <- function(txt) {
substr(current_row_txt, current_col - nchar(txt), current_col) == txt
substr(current_row_txt, current_col - nchar(txt), current_col) %like% paste0("^", txt)
}
replace_pos <- function(old, with) {
modifyRange(document_range(document_position(current_row, current_col - nchar(old)),