Textpad Syntax Highlighting for ASP/ASPX/ASCX

by Erik Lane 7. July 2005 07:25
If you use TextPad at all with ASP/VBS/ASPX/ASCX files..and want good syntax highlighting download and apply these syntax files.  They are better than the built-in ones.  I myself got them from the Textpad syntax definition list.
 
1.  Drop both files in <"TextPad Program Folder">\System\
2.  Close all documents leaving just the main window.
3.  Select configure/new document class
4.  Class name ASP or ASPX.
5.  Class members "*.asp, *.vbs" or "*.aspx, *.ascx“
6.  Select the box for enable syntax highlighting.
7.  In the dropdown select asp3.syn for asp or aspx.syn for aspx.
 
Giddy Up!
 
* You will have to remove asp from the HTML document class since it is there by default.  You can do that through Configure/Preferences/Document Classes/HTML. Remove the extension there.
Tags:

Comments

chirurgia estetica
chirurgia estetica on 12/10/2005 4:34:00 AM

.

Eduardo
Eduardo on 7/24/2008 9:10:00 AM

My Textpad works fine with my XP Pro PC, but not with my Vista Home Premium machine. I can edit a file OK, and paste a localhost/127.0.0.1 url (http://localhost/mypage.aspx) in the browser window but cannot get the "globe" icon on the toolbar to display the page. A small annoyance but an annoyance nevertheless. I have configured the aspx Document class and checked "View in web browser" in Document properties and Document class.

Alex
Alex on 9/29/2008 5:20:00 PM

I've found that modifying the existing HTML Document Class to include *.aspx file types works better than using these particular files.  The colour-coding screws up with these syntax files where there are databinding expressions.

NB: This is with TextPad 4.7.1.

Comments are closed