Hi Richard,

Probably, that won't do it. Try this:

 put (number of lines of the formattedText of  \
   char 1 to (word 2 of the selectedChunk) of myTarget) is \
   (the number of lines of the formattedText of myTarget)
 --> true|false

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 9/18/2013 22:00, Dr. Hawkins wrote:
On Wed, Sep 18, 2013 at 9:02 AM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

    put number of lines of the formattedText of  \
    char 1 to (word 2 of the selectedChunk) of me


Ah.

Obvious now that you mention it :)

Thank you.

And to make me feel *really* sheepish:  I was already using the height of
the formattedText in the same routine . . .

so
    the selectedLine is the number of lines of the formattedText of myTarget

should do it.




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to