sorry, more clarification

Sarah Reichelt sarah.reichelt at gmail.com
Tue Nov 11 17:50:18 EST 2008


On Wed, Nov 12, 2008 at 8:43 AM, Larry Watts <lgwatts at adelphia.net> wrote:
> I changed highlitedLine to hilitedLine (thought they were supposed to be synonymous) and it puts the line number in the display field.  So how do I put the contents of the line into the display field?

Sorry - I answered an earlier email without seeing that you had
already solved that problem.
But on to this one...

You can get the hilitedLine and then use it go get the line by line number:

put the hilitedLine of fld ABC into tLineNum
put line tLineNum of fld ABC into fld XYZ

or just get the selectedText directly:

put the selectedText of fld ABC into fld XYZ

Cheers,
Sarah



More information about the use-livecode mailing list