summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-15 20:37:07 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-15 20:37:07 +0000
commitea95632709a6ae3df76772e83e1497a9fcfee52d (patch)
treeaa258ec83e7ec6f765c9c055d5faf1748dbde91b /src/editor.cc
parentad0682ec75d072c648f044580d817bef4098abc0 (diff)
Move Editor::selections_content to Context
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;
-}
-
}