From 387b00d43a02761833a43f5072b9599d8d237e80 Mon Sep 17 00:00:00 2001 From: Antia Puentes Date: Thu, 13 Jun 2013 18:08:44 +0200 Subject: libview: Avoid to update the current page and scroll to the cursor position, if the caret cursor was not updated Move the caret cursor only when requested by the user. Keep the page where the caret cursor is in addition to the offset inside that page. https://bugzilla.gnome.org/show_bug.cgi?id=702068 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4d15ab5 --- libview/ev-view-private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libview/ev-view-private.h') diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index c286efbe..abdd43b7 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -217,6 +217,7 @@ struct _EvView { /* Caret navigation */ gboolean caret_enabled; gint cursor_offset; + gint cursor_page; gboolean cursor_visible; guint cursor_blink_timeout_id; guint cursor_blink_time; -- cgit v1.2.1