From 6c080d01873be2670ecc74b698ac5d73d0acd77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 23 Sep 2014 22:07:19 +0200 Subject: Implement linewise visual mode --- window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window.h') 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 */ -- cgit v1.2.3