Re: Setting a single selection between different objects in Firefox using IAccessible2
Chris Hardy <[email protected]> Mon, 11 May 2015 10:31:30 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.accessibility |
|---|---|
| Message-ID | <[email protected]> |
Hi Alexander, thanks for your response. With multiple selections, I get weird effects in the Gmail compose window. Gmail compose inhibits multiple selection by mouse, so my guess is that it just doesn't know how to handle it. I'm sure there are many other CE-based editors that will also have similar issues. What would it take to update FF to combine continuously selected ranges like you suggest? Another thought... what if FF allowed the use of IA2_TEXT_OFFSET_CARET in setSelection, even when the actual offset is outside of the current object? It is very likely that the caret should be at one end of the selection anyways. Then I could do something like this: text2.setCaretOffset(2); text1.setSelection(0, 2, IA2_TEXT_OFFSET_CARET); Regards, Chris On Monday, May 11, 2015 at 9:50:37 AM UTC-6, Alexander Surkov wrote: > I guess Firefox could combine continuously connected ranges into one bug > what's wrong in multiple selection? > Thanks. > Alexander. > > On Sun, May 10, 2015 at 11:41 PM, Chris Hardy <[email protected]> wrote: > > > I'm having difficulty with setting selections in FF using IAccessibility2, > > would anyone here mind taking a look at my question posted over at SO? > > > > > > http://stackoverflow.com/questions/30159146/setting-a-single-selection-between-different-objects-in-firefox-using-iaccessibl > > > > Cheers > > _______________________________________________ > > dev-accessibility mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-accessibility > >