Re: Setting a single selection between different objects in Firefox using IAccessible2

Alexander Surkov <[email protected]> Mon, 11 May 2015 13:46:48 -0400
Newsgroups gmane.comp.mozilla.accessibility
Message-ID <CA+epNsf5Nx4cf4r1uU2zwMT5A0b3i+DfFmituSNZ+9v2d9iucA@mail.gmail.com>
On Mon, May 11, 2015 at 1:29 PM, Chris Hardy <[email protected]> wrote:

> 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?
>

Please file a bug on it
https://bugzilla.mozilla.org/enter_bug.cgi?product=Core


>
> 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);
>

That sounds reasonable but I'm surprised it doesn't work. It makes to file
a bug on this too.


>
> 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
> > >
> _______________________________________________
> dev-accessibility mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-accessibility
>