Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-19 Thread Alexander Surkov
Ok, thanks James. I'll come with Rob's approach, then I will send try Firefox build to Orca developers to check if performance is good enough. Alex. On Wed, May 19, 2010 at 1:09 PM, James Teh ja...@nvaccess.org wrote: On 18/05/2010 11:52 PM, Alexander Surkov wrote: Aaron suggestion was like

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-19 Thread Alexander Surkov
Hi, guys. One more question. Should we expose any text attributes for a range containing embedded characters? I lean towards to think we should return empty string for text attributes since text attributes makes sense for normal text only. Thank you. Alex. On Wed, May 19, 2010 at 3:03 PM,

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-19 Thread Richard Schwerdtfeger
Subject AMRe: [Accessibility-ia2] Fwd: text attribute range calculation

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-19 Thread James Teh
On 19/05/2010 10:38 PM, Alexander Surkov wrote: Should we expose any text attributes for a range containing embedded characters? I'll assume you mean a range containing *only* embedded object characters. I lean towards to think we should return empty string for text attributes since text

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-19 Thread Alexander Surkov
IAccessible2 mailing list accessibility-...@lists.linux-foundation.org, Rob Gallo rga...@freedomscientific.com Subject Re: [Accessibility-ia2] Fwd: text attribute range calculation Hi, guys. One more question. Should we expose any text attributes for a range containing embedded characters? I

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread Alexander Surkov
Hi, Jamie, Rob and all. We should come to either solution as soon as we can. We shouldn't hit a mark by the first shoot. First of all let's figure out more logically correct and handy solution. I'll implement it and provide Firefox build for testing. If you and Jonaie will find performance

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread Rob Gallo
[mailto:surkov.alexan...@gmail.com] Sent: Tuesday, May 18, 2010 6:04 AM To: James Teh Cc: IAccessible2 mailing list; Joanmarie Diggs; Rob Gallo Subject: Re: [Accessibility-ia2] Fwd: text attribute range calculation Hi, Jamie, Rob and all. We should come to either solution as soon as we can. We shouldn't hit

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread Alexander Surkov
suggestions as necessary. Thanks, RG -Original Message- From: Alexander Surkov [mailto:surkov.alexan...@gmail.com] Sent: Tuesday, May 18, 2010 6:04 AM To: James Teh Cc: IAccessible2 mailing list; Joanmarie Diggs; Rob Gallo Subject: Re: [Accessibility-ia2] Fwd: text attribute

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread Rob Gallo
mailing list; Joanmarie Diggs Subject: Re: [Accessibility-ia2] Fwd: text attribute range calculation Hi, Rob. Aaron suggestion was like [*plain*plain**)[bold*bold*), which I come here with. Your suggestion was [*)[plain)[*)[plain)[**)[bold)[*)[bold)[*). My last suggestion (based on your suggestion

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread Alexander Surkov
[mailto:surkov.alexan...@gmail.com] Sent: Tuesday, May 18, 2010 11:13 AM To: Rob Gallo Cc: James Teh; IAccessible2 mailing list; Joanmarie Diggs Subject: Re: [Accessibility-ia2] Fwd: text attribute range calculation Rob, sorry I didn't get you. The second method: combine embedded characters into one

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread Alexander Surkov
: [Accessibility-ia2] Fwd: text attribute range calculation Hi, Jamie, Rob and all. We should come to either solution as soon as we can. We shouldn't hit a mark by the first shoot. First of all let's figure out more logically correct and handy solution. I'll implement it and provide Firefox build

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-18 Thread James Teh
On 18/05/2010 11:52 PM, Alexander Surkov wrote: Aaron suggestion was like [*plain*plain**)[bold*bold*), which I come here with. This is the most complicated and potentially confusing, but also the least expensive for out-of-process clients. Have you had any feedback from the Orca devs on

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-04-26 Thread Alexander Surkov
I think I'm fine with Rob suggestion. It's even easier from implementation point of view. And AT doesn't need to traverse the string between offsets to find embed characters to query attributes for it. However please you consider to have own range for every embed characters like

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-04-26 Thread Alexander Surkov
Hi, Pete. Yes, it provides wrong information. At least it's not how IAccessibleText::caretOffset or selection works. But you're right we assume AT should check every embed characters separately when they met it. Thank you. Alex. On Tue, Apr 20, 2010 at 7:52 AM, Pete Brunet p...@a11ysoft.com

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-04-17 Thread James Teh
On 17/04/2010 5:28 PM, Rob Gallo wrote: This issue is a tough one. I would like to suggest yet another approach where embed characters would have their own ranges, and those ranges should basically return an empty attribute string, or a string that would amount to plain text. In principle, I

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-04-17 Thread Alexander Surkov
Hi, Jamie. Yes, it affects on ATK as well. And it's worth to note that now Firefox text attribute implementation is very slow on big documents. So it might make sense to care about how to decrease number of calls. I cc'ed Joanie originally but eventually her email was lost from the thread.