Re: Request public interface hitTestChar for GVT TextNode

2005-02-26 Thread Thomas DeWeese
Hi Tonny, I went with adding the 'getCharIndex' method to the Mark class. This is now in CVS. Tonny Kohar wrote: The patch is attached to this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Request public interface hitTestChar for GVT TextNode

2005-02-23 Thread Thomas DeWeese
Tonny Kohar wrote: I would like to request adding public method/function hitTestChar for GVT TextNode or TextPainter which return TextHit instead of Mark. Is this because you want access to the 'getCharIndex' method of TextHit? If it is ok, I will write and submit the patch. The method is

Re: Request public interface hitTestChar for GVT TextNode

2005-02-23 Thread Tonny Kohar
Hi, I would like to request adding public method/function hitTestChar for GVT TextNode or TextPainter which return TextHit instead of Mark. Is this because you want access to the 'getCharIndex' method of TextHit? Exactly, this is what I want getCharIndex from TextHit. If it is ok,

Re: Request public interface hitTestChar for GVT TextNode

2005-02-23 Thread Tonny Kohar
Hi, The patch is attached to this message. Thanks Tonny Kohar It may be easier and cleaer to add this method to Mark, as every Mark actually created is an instance of gvt.renderer.BasicTextPainter.BasicMark which contains a TextHit internally. So, I will add method public