From 054f792ac6c1502d5f9bb2b251b3f96c4cb27f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 10 Mar 2016 22:18:09 +0100 Subject: view: add query function for multiple cursors --- view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view.h') diff --git a/view.h b/view.h index f2e30eb..81e82f5 100644 --- a/view.h +++ b/view.h @@ -123,6 +123,8 @@ void view_cursor_to(View*, size_t pos); Cursor *view_cursors_new(View*); /* get number of active cursors */ int view_cursors_count(View*); +/* exist there more than 1 cursor */ +bool view_cursors_multiple(View*); /* dispose an existing cursor with its associated selection (if any), * not applicaple for the last existing cursor */ void view_cursors_dispose(Cursor*); -- cgit v1.2.3