Bug 25671

Summary: [GTK] Implement support for set_caret_offset
Product: WebKit Reporter: Joanmarie Diggs <jdiggs>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: VERIFIED FIXED    
Severity: Normal CC: apinheiro, walker.willie, xan.lopez
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 25531    
Attachments:
Description Flags
setcaretoffset.patch gustavo: review+

Description Joanmarie Diggs 2009-05-10 11:42:40 PDT
The accessible text interface includes a method which ATs can use to (re)position the caret as needed. For more information please see http://library.gnome.org/devel/atk/unstable/AtkText.html#atk-text-set-caret-offset.

Usage/need example: Screen reader users who have a refreshable braille display often review the text on the screen by panning/scrolling their display. If while doing so, they spot some text they wish to select, edit, whathaveyou, they can press a "cursor routing key" on their display. The AT in turn needs to use set_caret_offset to reposition the caret at the desired location.
Comment 1 Xan Lopez 2009-06-09 08:38:27 PDT
Created attachment 31095 [details]
setcaretoffset.patch

Implement the function.
Comment 2 Gustavo Noronha (kov) 2009-06-10 10:22:50 PDT
Comment on attachment 31095 [details]
setcaretoffset.patch

r=me
Comment 3 Xan Lopez 2009-06-10 10:28:55 PDT
Landed as r44571, closing as FIXED.
Comment 4 Joanmarie Diggs 2009-06-10 16:26:59 PDT
This seems to work quite nicely. Thanks! Marking as VERIFIED.