Hi Mike, You can refer to gailtextutil in gail. Basically because we have a buffer in gail, so atk-bridge can find the deleted text. gail update the buffer after the text_changed::delete is emitted. About inserting, we emit text_changed::insert in an idle function to let gailtextutil update its buffer before send out the signal.
Li On Thu, 2007-09-20 at 07:29 -0400, Mike Gorse wrote: > When a user presses backspace, an at-spi event gets generated, and > its > any_data field contains the character that was just deleted. How > does > this happen? It is not happening with my current ATK implementation > for > Abiword. My understanding is that, when text is deleted, the > application > should emit a text_changed::delete signal with the offset and length > of > the deleted text. Does this need to be done before the text is > deleted? > (It is currently being sent afterwards; perhaps this is the problem.) > If > so, what about text_changed::insert signals? Should they also be > sent > before the text is inserted? Or is there something that I should be > doing > to pass the deleted character? _______________________________________________ Gnome-accessibility-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
