diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-12-14 14:17:02 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-12-14 14:38:17 +0000 |
| commit | 6afef079b6104666e524dbae99592efc9c1b8136 (patch) | |
| tree | d6e95356477f478403b0ba8603b53b705a22cb37 /src/editor.hh | |
| parent | eced7d4c246c007f9617d91edd5867e9e002bfc1 (diff) | |
Remove Editor::main_selection(|index), directly use the SelectionList method
Diffstat (limited to 'src/editor.hh')
| -rw-r--r-- | src/editor.hh | 5 |
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 |
