diff options
| author | Victor Kareh <[email protected]> | 2026-08-05 09:09:40 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-08-11 18:35:35 +0000 |
| commit | 6adacd54cbe005c4cf9f48ad16b68fc44e52f87b (patch) | |
| tree | 075b736a0c16c11ea0496a849425b63a50d3838a /libview | |
| parent | ca0d4153739b8c892f49e97a20c39436a8a5893f (diff) | |
| download | atril-6adacd54cbe005c4cf9f48ad16b68fc44e52f87b.tar.bz2 atril-6adacd54cbe005c4cf9f48ad16b68fc44e52f87b.tar.xz | |
a11y: implement text selection support for pages
Assistive technologies asking Atril to select a range of text got no
response and the request would silently fail with nothing selected.
The selection code already existed but was never hooked up, so it just
needed to be wired in.
Fixes #719
Diffstat (limited to 'libview')
| -rw-r--r-- | libview/ev-page-accessible.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libview/ev-page-accessible.c b/libview/ev-page-accessible.c index 112f8020..69571a6a 100644 --- a/libview/ev-page-accessible.c +++ b/libview/ev-page-accessible.c @@ -1063,6 +1063,7 @@ ev_page_accessible_text_iface_init (AtkTextIface *iface) iface->get_selection = ev_page_accessible_get_selection; iface->remove_selection = ev_page_accessible_remove_selection; iface->add_selection = ev_page_accessible_add_selection; + iface->set_selection = ev_page_accessible_set_selection; iface->get_run_attributes = ev_page_accessible_get_run_attributes; iface->get_default_attributes = ev_page_accessible_get_default_attributes; iface->get_character_extents = ev_page_accessible_get_character_extents; |
