Re: set_selection_bounds() and select_text()



Hi All,

I agree with this-- I think we should consolidate these interfaces. Changing the get/set selection functions to support multiple ranges seems useful.

Marc

At 04:09 PM 5/28/2001 +0100, Bill Haneman wrote:

>The AtkText interface contains set_selection_bounds() and
AtkEditableText
>contains select_text().
>
>Do we really need both of these?

There is an open issue around whether we allow discontiguous selection
("multi-select") or not.

If we do, then select_text() makes sense, set_selection_bounds() (and
similarly, get_selection_bounds) don't, unless they take an additional
gint parameter to indicate "which" selection range is being operated on.

I think multi-select is probably useful, but tricky.  If we decide to
implement it then we need a get_n_selections() method as well, to go
with get/set_selection_bounds() [plus the new parameter to the
*_selection_bounds() methods).

>If so, can anyone suggest a scenario in which the implementation of the
two
>intefaces might be different?
>
>Padraig
>
>
>_______________________________________________
>gnome-accessibility-list mailing list
>gnome-accessibility-list gnome org
>http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list

------
Bill Haneman x19279
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland


_______________________________________________
gnome-accessibility-list mailing list
gnome-accessibility-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list





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