07-13-2005, 11:59 PM
I am trying to make a text area where anything that begins with "<" until it reaches a ">" is colored green. As you can guess I am using a textarea to edit text files on a website and want the SCRIPT part to be green and the normal stuff black. I think there should be a way to read through the textarea and color parts of the text. I've seen it in HtmlArea text editors but havn't been able to figure out how they do it. Any comments or suggestions would greatly be appreciated. Thanks for your time.