summaryrefslogtreecommitdiff
path: root/src/window.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/window.hh
parent5a6922a0458c3eb19aa5a23e1050af2a1a027fcd (diff)
try to preserve display column rather than buffer column when moving line
Diffstat (limited to 'src/window.hh')
-rw-r--r--src/window.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.hh b/src/window.hh
index 25890e81..08ee23f0 100644
--- a/src/window.hh
+++ b/src/window.hh
@@ -56,6 +56,8 @@ private:
void scroll_to_keep_cursor_visible_ifn();
+ BufferCoord offset_coord(const BufferCoord& coord, LineCount move) override;
+
DisplayCoord m_position;
DisplayCoord m_dimensions;
DisplayBuffer m_display_buffer;