diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-01-13 19:41:56 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-01-13 23:01:09 +0100 |
| commit | ff587fb25a56656a9a426a5086b47a5cf891092b (patch) | |
| tree | 911915a3d8ecca9f48effe889bd069776d0f2472 /window.h | |
| parent | cad4ad2c4e9de198ca78958b4db79886ffb81c56 (diff) | |
| download | vis-ff587fb25a56656a9a426a5086b47a5cf891092b.tar.gz vis-ff587fb25a56656a9a426a5086b47a5cf891092b.tar.xz | |
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.
Diffstat (limited to 'window.h')
| -rw-r--r-- | window.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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*); |
