diff options
author | Joanmarie Diggs <[email protected]> | 2014-03-17 08:17:15 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-11-27 10:13:51 +0100 |
commit | a1014378dda895fe5d06c364a0f65817bf04101d (patch) | |
tree | 889af6362674e4284a422f959c5a63def5867e77 /libview/ev-view-private.h | |
parent | 10e2bd8e5a729f4472f4260704f605ae1f30d89f (diff) | |
download | atril-a1014378dda895fe5d06c364a0f65817bf04101d.tar.bz2 atril-a1014378dda895fe5d06c364a0f65817bf04101d.tar.xz |
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
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
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__ */ |