> Try adding my sample script below:
> 
> on xHiliteLine oMember, nLine
> if nLine = 1 then
> nFirstChar = 1
> else
> nFirstChar = oMember.line[1..(nLine - 1)].length + 2
> end if
> nLastChar = nFirstChar + oMember.line[nLine].length
> oMember.char[nFirstChar..nLastChar].hilite()
> end

Heh.. this points out an obvious flaw in my post - a line that spans
multiple "on-screen" lines.

My method is too simplistic as is - go with Fumio's, unless you really need
to control the color of the hilite.

-Kurt


[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!]

Reply via email to