summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-08-09 18:33:32 +1000
committerMaxime Coste <mawww@kakoune.org>2024-08-12 20:02:11 +1000
commit6ed01f402b3a54495c8d9e462b7674864fbbe402 (patch)
tree2a5c3fcb1da1c8577fe58a87fdd3376c44b8ba49 /src/normal.cc
parent1b2100753e4bdc65b1c6a78662ab5eeb7eaaa8d3 (diff)
Reduce headers dependency graph
Move more code into the implementation files to reduce the amount of code pulled by headers.
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index ea183bc4..5a7c4e58 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1841,7 +1841,7 @@ SelectionList read_selections_from_register(char reg, const Context& context)
const auto buffer_name = StringView{ content[0].begin (), end_content[1].begin () - 1 };
Buffer& buffer = BufferManager::instance().get_buffer(buffer_name);
- return selection_list_from_strings(buffer, ColumnType::Byte, content | skip(1), timestamp, main);
+ return selection_list_from_strings(buffer, ColumnType::Byte, content.subrange(1), timestamp, main);
}
enum class CombineOp