aboutsummaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-23 22:07:19 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-23 22:07:19 +0200
commit6c080d01873be2670ecc74b698ac5d73d0acd77f (patch)
tree5988e8bd70e5daf70269f7509e8e78356d09028d /window.h
parent637b1adbdda1af761518b90b52fb6ae7798584bc (diff)
downloadvis-6c080d01873be2670ecc74b698ac5d73d0acd77f.tar.gz
vis-6c080d01873be2670ecc74b698ac5d73d0acd77f.tar.xz
Implement linewise visual mode
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.h b/window.h
index ec52f48..816efcd 100644
--- a/window.h
+++ b/window.h
@@ -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 */