Page 1 of 1

JSP Syntax Highlighting

Posted: Wed Sep 12, 2001 11:02 pm
by Jason
I'd like to do syntax highlighting for just .JSP files. I've already added the JSP document class for the jsp5.zip .syn file I found in the Textpad downloads and all looks well.

I've also enabled the Syntax highlighting by doing the following:
Configure --> Preferences --> Document Classes --> JSP --> Syntax --> Enable syntax highlighting

When I open an existing JSP file, I don't get the highlights.

What am I missing?

Re: JSP Syntax Highlighting

Posted: Wed Sep 19, 2001 12:12 am
by Kok Leong
You'd have to create a new JSP Document class by under the Configure menu and then enable syntax highlighting.

Re: JSP Syntax Highlighting

Posted: Sun Sep 23, 2001 12:58 am
by Glen Pfeiffer
I am not sure if I got it, but I think what you need to do is associate the file extension with the document class you have already created. Do this by going to Configure, Preferences, Document Classes, JSP. Then all the file extension *.jsp to the box "Files in Class JSP".

E-mail me if you have any problems with this.

-Glen

Re: JSP Syntax Highlighting

Posted: Mon Sep 24, 2001 6:52 pm
by Jason
Thanks! That was what I had omitted.

Re: JSP Syntax Highlighting

Posted: Mon Sep 24, 2001 9:36 pm
by Glen
You're welcome.