diff options
author | Antia Puentes <[email protected]> | 2013-07-19 14:43:18 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-09-06 18:25:34 +0200 |
commit | 0f347181c81c0d831af9494c984ac3831390cbc8 (patch) | |
tree | af2397e4e92d949e0bf29d76a3786325fdcb41de /libview/ev-view-private.h | |
parent | 205542523f2927972757996f50e0ade2b71fa3ae (diff) | |
download | atril-0f347181c81c0d831af9494c984ac3831390cbc8.tar.bz2 atril-0f347181c81c0d831af9494c984ac3831390cbc8.tar.xz |
libview: Rework ev_view_accessible_get_selection
Actually return the text and offset range of the selected text in the
current page.
https://bugzilla.gnome.org/show_bug.cgi?id=704335
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=a178d26
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index dfe777ff..178733a7 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -288,7 +288,10 @@ void _ev_view_transform_doc_rect_to_view_rect (EvView *view, void _ev_view_get_selection_colors (EvView *view, GdkRGBA *bg_color, GdkRGBA *fg_color); - +gint _ev_view_get_caret_cursor_offset_at_doc_point (EvView *view, + gint page, + gdouble doc_x, + gdouble doc_y); void _ev_view_set_focused_element (EvView *view, EvMapping *element_mapping, gint page); |