linking wrapped text?

Sarah sarahr at
Tue Jul 23 17:11:01 EDT 2002

Don't use clickText. Instead have a linkClicked handler. The linked text 
gets passed to this handler as it's parameter, so you should be able to 
get the complete link regardless of line wraps.


On Wednesday, July 24, 2002, at 07:35  AM, Mark Mitchell wrote:

> I can't seem to set the textStyle of multi-line wrapped text to a 
> single link.
> The linked text is broken at each line, so that the clickText or 
> clickChunk just
> returns a single line of text.  I'm selecting big chunks of wrapped 
> text in a field
> then using the following handler in the field:
> on selectionChanged
> set the textStyle of the selection to link
> end selectionChanged
> It looks like a single link, based on the underline, but clicktext just 
> returns
> a single line.  If I resize the field so that the wrapping changes, 
> clicktext
> still returns the original line, based on the original wrap-break.  
> There are no hard returns
> here.  So how can I link (group) text past a wrap-break?
> mark mitchell
> Japan
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list