aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index 3648097..6c67c05 100644
--- a/view.c
+++ b/view.c
@@ -493,7 +493,7 @@ void view_free(View *view) {
void view_reload(View *view, Text *text) {
view->text = text;
- view_selections_clear(view);
+ view_selections_clear_all(view);
view_cursor_to(view, 0);
}
@@ -1182,7 +1182,7 @@ bool view_selection_anchored(Selection *s) {
return s->anchored;
}
-void view_selections_clear(View *view) {
+void view_selections_clear_all(View *view) {
for (Cursor *c = view->cursors; c; c = c->next)
view_cursors_selection_clear(c);
view_draw(view);