summaryrefslogtreecommitdiff
path: root/src/window.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-10-12 18:53:38 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-10-12 18:53:38 +0000
commitbe043ffe1ec568be991b61efc0e3ffdc7cb613c8 (patch)
tree76d8a5883715223af34c584aeb9dd0aeda4bcbc0 /src/window.hh
parent22bd9f90d59b9c784cc5986ca02b891eef93ee3f (diff)
Window: move_cursor_to takes a BufferIterator parameter
Diffstat (limited to 'src/window.hh')
-rw-r--r--src/window.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.hh b/src/window.hh
index da1b694c..98e208a8 100644
--- a/src/window.hh
+++ b/src/window.hh
@@ -61,7 +61,7 @@ public:
WindowCoord line_and_column_at(const BufferIterator& iterator) const;
void move_cursor(const WindowCoord& offset, bool append = false);
- void move_cursor_to(const WindowCoord& new_pos);
+ void move_cursor_to(const BufferIterator& iterator);
void clear_selections();
void select(const Selector& selector, bool append = false);