aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/view.h b/view.h
index 4e750c0..d0e7070 100644
--- a/view.h
+++ b/view.h
@@ -117,7 +117,10 @@ void view_cursor_to(View*, size_t pos);
Cursor *view_cursors_new(View*);
/* get number of active cursors */
int view_cursors_count(View*);
-/* dispose an existing cursor */
+/* dispose an existing cursor with its associated selection (if any),
+ * not applicaple for the last existing cursor */
+void view_cursors_dispose(Cursor*);
+/* dispose an existing cursor, no matter what */
void view_cursors_free(Cursor*);
/* only keep the main cursor, release all others together with their
* selections (if any) */