summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.cc')
-rw-r--r--src/editor.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/editor.cc b/src/editor.cc
index 13b4511f..8f6bbcf5 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -16,12 +16,4 @@ Editor::Editor(Buffer& buffer)
m_selections(buffer, {BufferCoord{}})
{}
-std::vector<String> Editor::selections_content() const
-{
- std::vector<String> contents;
- for (auto& sel : m_selections)
- contents.push_back(m_buffer->string(sel.min(), m_buffer->char_next(sel.max())));
- return contents;
-}
-
}