Slava, Unfortunately, text objects do not seem to include a 'hilite' handler, only fields do. So u can try the following behavior, but only on a field member. ------------------------------------------------- property pThisMember, pThisSprite on beginSprite me pThisSprite=me.spritenum pthisMember=sprite (pThisSprite).member.name end on mousedown me letter=pointToChar(sprite (pThisSprite), (the mouseloc)) myLineCount = member(pthisMember).line.count put mylinecount--->test member(pthisMember).line[myLineCount + 1].hilite()--the one! end --------- If you insist on using a text member, you got to put your own 'de-hilite' handler, on a repetitive event, such as prepareFrame, enterframe... But I could not make the cursor stay at the insertion point, although, the above handler worked (without the 'hilite()' line of course. Regards Thomas ------------------------------------------------- Thomas Mavrofides - Multimedia designer/programmer University of the Aegean Social & Cultural Digital Documentation Lab ------------------------------------------------- The woods are lovely, dark and deep. But I have promises to keep And miles to go before I sleep And miles to go before I sleep. - Robert Frost ------------------------------------------------- [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
