summaryrefslogtreecommitdiff
path: root/src/editor.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-07-17 21:17:32 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-07-23 20:46:15 +0200
commit486ebed098a687bb58b4740db14eaf77f51ef874 (patch)
tree2c45a2de10d7562fe1812e932dbea6ed5f723d70 /src/editor.hh
parent5a6922a0458c3eb19aa5a23e1050af2a1a027fcd (diff)
try to preserve display column rather than buffer column when moving line
Diffstat (limited to 'src/editor.hh')
-rw-r--r--src/editor.hh3
1 files changed, 3 insertions, 0 deletions
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;