diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-23 22:07:19 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-23 22:07:19 +0200 |
| commit | 6c080d01873be2670ecc74b698ac5d73d0acd77f (patch) | |
| tree | 5988e8bd70e5daf70269f7509e8e78356d09028d /window.h | |
| parent | 637b1adbdda1af761518b90b52fb6ae7798584bc (diff) | |
| download | vis-6c080d01873be2670ecc74b698ac5d73d0acd77f.tar.gz vis-6c080d01873be2670ecc74b698ac5d73d0acd77f.tar.xz | |
Implement linewise visual mode
Diffstat (limited to 'window.h')
| -rw-r--r-- | window.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,10 +58,10 @@ void window_cursor_to(Win*, size_t pos); /* start selected area at current cursor position. further cursor movements will * affect the selected region. */ void window_selection_start(Win*); -void window_selection_end(Win*); /* returns the currently selected text region, is either empty or well defined, * i.e. sel.start <= sel.end */ Filerange window_selection_get(Win*); +void window_selection_set(Win*, Filerange *sel); /* clear selection and redraw window */ void window_selection_clear(Win*); /* get the currently displayed area in bytes from the start of the file */ |
