summaryrefslogtreecommitdiff
path: root/src/editor.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-14 14:17:02 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-14 14:38:17 +0000
commit6afef079b6104666e524dbae99592efc9c1b8136 (patch)
treed6e95356477f478403b0ba8603b53b705a22cb37 /src/editor.hh
parenteced7d4c246c007f9617d91edd5867e9e002bfc1 (diff)
Remove Editor::main_selection(|index), directly use the SelectionList method
Diffstat (limited to 'src/editor.hh')
-rw-r--r--src/editor.hh5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/editor.hh b/src/editor.hh
index f3076ad1..ac6382d8 100644
--- a/src/editor.hh
+++ b/src/editor.hh
@@ -67,8 +67,6 @@ public:
void rotate_selections(int count) { m_selections.rotate_main(count); }
const SelectionList& selections() const { return m_selections; }
- const Selection& main_selection() const { return m_selections.main(); }
- size_t main_selection_index() const { return m_selections.main_index(); }
std::vector<String> selections_content() const;
bool undo();
@@ -106,9 +104,6 @@ private:
Editor& m_editor;
};
-void avoid_eol(const Buffer& buffer, BufferCoord& coord);
-void avoid_eol(const Buffer& buffer, Range& sel);
-
}
#endif // editor_hh_INCLUDED