summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c8
-rw-r--r--libview/ev-view.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 2e01035e..ebb47e61 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7510,6 +7510,14 @@ ev_view_find_previous (EvView *view)
}
void
+ev_view_find_set_result (EvView *view, gint page, gint result)
+{
+ ev_document_model_set_page (view->model, page);
+ view->find_result = result;
+ jump_to_find_result (view);
+}
+
+void
ev_view_find_search_changed (EvView *view)
{
/* search string has changed, focus on new search result */
diff --git a/libview/ev-view.h b/libview/ev-view.h
index ac16211f..ce455a53 100644
--- a/libview/ev-view.h
+++ b/libview/ev-view.h
@@ -72,6 +72,9 @@ void ev_view_zoom (EvView *view,
/* Find */
void ev_view_find_next (EvView *view);
void ev_view_find_previous (EvView *view);
+void ev_view_find_set_result (EvView *view,
+ gint page,
+ gint result);
void ev_view_find_search_changed (EvView *view);
void ev_view_find_set_highlight_search (EvView *view,
gboolean value);