From ff587fb25a56656a9a426a5086b47a5cf891092b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 13 Jan 2015 19:41:56 +0100 Subject: Add new logical linewise movements The column position is currently not correctly preserved when there are lines with multibyte characters involved spanning multiple screen lines. In general this might still be a bit fragile. --- window.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'window.h') diff --git a/window.h b/window.h index add8e2a..686f67f 100644 --- a/window.h +++ b/window.h @@ -36,6 +36,8 @@ void window_tabwidth_set(Win*, int tabwidth); * they return new cursor postion */ size_t window_char_next(Win*); size_t window_char_prev(Win*); +size_t window_line_down(Win*); +size_t window_line_up(Win*); size_t window_screenline_down(Win*); size_t window_screenline_up(Win*); size_t window_screenline_begin(Win*); -- cgit v1.2.3