From ad922fb5eeeefcd82c0ae50dd91193009b5b0fc8 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sat, 19 May 2018 22:07:47 -0700 Subject: [PATCH] Fixed the darn get_range shit --- 4coder_experiments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4coder_experiments.cpp b/4coder_experiments.cpp index de7ff83a..45b821b7 100644 --- a/4coder_experiments.cpp +++ b/4coder_experiments.cpp @@ -225,7 +225,7 @@ CUSTOM_COMMAND_SIG(multi_paste){ clipboard_index(app, 0, paste_index, str + 1, len); Buffer_Summary buffer = get_buffer(app, view.buffer_id, access); - Range range = get_range(&view); + Range range = get_view_range(&view); buffer_replace_range(app, &buffer, range.max, range.max, str, len + 1); view_set_mark(app, &view, seek_pos(range.max + 1)); view_set_cursor(app, &view, seek_pos(range.max + len + 1), true);