Re: WordAtXY

Peter Karlsson wrote:
> is there an easy way to get the word position at X, Y (paragraph,
> offset) from MouseDown?

There is now, see 1.4 beta 2. This will convert from pixel
coordinates to paragraph and offset and you can do whatever
processing you need to do from there.

If you want to get the word boundary at the current insertion
offset, then you can call findWordBoundaryAtInsertion.

FTC Website: 
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.



Other related posts: