diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-03-21 19:26:42 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-03-21 19:26:42 +0000 |
| commit | 3c798a4ee84238caa7df847f3d8cf31bf6b16fb0 (patch) | |
| tree | 924b119ddc49a32b5e301c52ef4fe8bf93e89e4f /src/window.cc | |
| parent | 60fb523d629daebf73e604dbb909c763b49cb959 (diff) | |
remove useless Window::cursor_{position,iterator}
Diffstat (limited to 'src/window.cc')
| -rw-r--r-- | src/window.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/window.cc b/src/window.cc index a9eab6d7..47e6d9a6 100644 --- a/src/window.cc +++ b/src/window.cc @@ -25,16 +25,6 @@ Window::Window(Buffer& buffer) registry.add_highlighter_to_window(*this, "highlight_selections", HighlighterParameters()); } -DisplayCoord Window::cursor_position() const -{ - return line_and_column_at(cursor_iterator()); -} - -BufferIterator Window::cursor_iterator() const -{ - return selections().back().last(); -} - template<typename Iterator> static DisplayCoord measure_string(Iterator begin, Iterator end) { |
