Re: [g-a-devel]test-simple patch ...



Michael,

Does this fail with the latest ATK? I changed it yesterday to allow end_offset 
of -1 in atk_text_get_text().

Padraig

> Subject: Re: [g-a-devel]test-simple patch ...
> To: Marc Mulcahy <marc mulcahy Sun COM>
> Cc: "Padraig O'Briain" <Padraig Obriain Sun COM>, Bill Haneman 
<bill haneman Sun COM>, accessibility mailing list 
<gnome-accessibility-devel gnome org>
> Content-Transfer-Encoding: 7bit
> Mime-Version: 1.0
> 
> Hi Marc,
> 
> On Tue, 2002-03-05 at 17:09, Marc Mulcahy wrote:
> > Well, what we need is a way to get all the text from the AtkText, 
> > preferrably without calling atk_text_get_character_count first.  so we came 
> > up with -1 as the magic offset to mean the length of the text.  Michael, 
> > does -1 make sense, or do you think maxint is better?  I don't think it 
> > matters a whole lot what we choose as long as we're consistent throughout 
> > at-spi and gail.
> 
> 	-1 is great, ideal I have no problem with it - except that the code no
> longer works. Change WHOLE_STRING to -1 in test-simple.c re-run the
> regression test and bang - it dies.
> 
> 	I'm amazed that it worked for you guys with '-1' and/or that it changed
> in the recent past.
> 
> 	Regards,
> 
> 		Michael.
> 
> -- 
>  mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot
> 




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