diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-11-26 19:38:07 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-11-26 19:38:07 +0100 |
| commit | 557128b641e7704715b72ebeabd4fc85b4f08d58 (patch) | |
| tree | e74f383c52da99ca34e511efdf32cc45853c1dbb /src/editor.hh | |
| parent | cad4d3c01edd47bdb9dccd6b9998e0d9eaa4c65c (diff) | |
IncrementalInsert::move_cursors: use overloaded for LineCount/CharCount editor implementation
Diffstat (limited to 'src/editor.hh')
| -rw-r--r-- | src/editor.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editor.hh b/src/editor.hh index 06b9378a..df2d0ffb 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -121,7 +121,8 @@ public: void insert(String content); void insert(const memoryview<String>& strings); void erase(); - void move_cursors(const BufferCoord& offset); + void move_cursors(CharCount move); + void move_cursors(LineCount move); Buffer& buffer() const { return m_editor.buffer(); } Editor& editor() const { return m_editor; } |
