summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index ab704fdc..bb7d0d1b 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7923,6 +7923,20 @@ ev_view_get_has_selection (EvView *view)
return view->selection_info.selections != NULL;
}
+void
+_ev_view_clear_selection (EvView *view)
+{
+ clear_selection (view);
+}
+
+void
+_ev_view_set_selection (EvView *view,
+ GdkPoint *start_point,
+ GdkPoint *end_point)
+{
+ compute_selections (view, EV_SELECTION_STYLE_GLYPH, start_point, end_point);
+}
+
static char *
get_selected_text (EvView *view)
{