From 486ebed098a687bb58b4740db14eaf77f51ef874 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 17 Jul 2013 21:17:32 +0200 Subject: try to preserve display column rather than buffer column when moving line --- src/editor.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/editor.hh') diff --git a/src/editor.hh b/src/editor.hh index d8785a87..95ddd2b1 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -91,6 +91,9 @@ private: void begin_edition(); void end_edition(); + virtual BufferCoord offset_coord(const BufferCoord& coord, LineCount move); + virtual BufferCoord offset_coord(const BufferCoord& coord, CharCount move); + int m_edition_level; void check_invariant() const; -- cgit v1.2.3