From a1014378dda895fe5d06c364a0f65817bf04101d Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Mon, 17 Mar 2014 08:17:15 -0400 Subject: libview: Fix some broken aspects EvViewAccessible text support * Stop using GtkTextBuffer: It was a hack more than a real solution * Fix setting and clearing of selection via AtkText for the current page * Strip newline chars out of the sentence strings: Newlines break TTS prosody * Add some logic to heuristically distinguish soft and hard returns https://bugzilla.gnome.org/show_bug.cgi?id=725003 https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=03afe27 --- libview/ev-view-private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libview/ev-view-private.h') diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 5cbce64e..e411ad17 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -295,5 +295,10 @@ void _ev_view_set_focused_element (EvView *view, EvMapping *element_mapping, gint page); +void _ev_view_clear_selection (EvView *view); +void _ev_view_set_selection (EvView *view, + GdkPoint *start_point, + GdkPoint *end_point); + #endif /* __EV_VIEW_PRIVATE_H__ */ -- cgit v1.2.1