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