Re: [g-a-devel]AccessibleTextSelectionChangedEvent_getSelectionString



On Fri, 2003-03-07 at 13:41, Padraig O'Briain wrote:
> What should be returned by this function if there is more than text selection?

I would suggest that if the event contains enough info to determine
which selection has changed, we should return only that selection, in
text-string form.

So if we have two non-contiguous selections, and we add a third, then
the third substring gets returned along with the information that we
have added a selection.

If we remove a selection, then we return an empty string.

If we edit a selection, we return the edited selection (one of possibly
several).

This would require that multiple selection additions/edits could not be
returned in a single event, and require that the event carry
selection-count information with it.  It would also require that the
event let us know which selection (index) it was associated with.

I am not sure that our current selection signal API can contain all this
info; do you think it's feasible?

-Bill

> Padraig
> 
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
-- 
Bill Haneman <bill haneman sun com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]