Page 1 of 1

TP as ASP editor

Posted: Thu Sep 06, 2001 5:07 pm
by Paul
I am developing an Active Server Page Web application using Visual interdev. I would like to use TP to edit my code. I would like to do the following:
- have TextPad open all the files in my project at once
- highlight the keywords similar to the way interdev does

Thanks
Paul

Re: TP as ASP editor

Posted: Fri Sep 07, 2001 6:55 am
by Andreas
Create a document class for ASP, get an ASP.syn file from the Add-ons - Page here.

Open all your files, Save Workspace.

Next time, open the Workspace you saved, and all the files will be opened again

Re: TP as ASP editor

Posted: Fri Sep 07, 2001 4:54 pm
by Steven Molen
There are a couple caveats to this however. And y'all can correct me if im wrong

1) I have not found a syntax file that supports all 3: ASP, Javascript, and HTML
2) You will not get Intellisense that Interdev gives

Re: TP as ASP editor

Posted: Tue Sep 18, 2001 7:03 pm
by Paul
I see there are 3 .syn file on this site. Which one is better? I do not need it so support HTML since I dynamically create it with response.write?

I'm not worried about intellisense. Thanks for the answers.

Paul

Re: TP as ASP editor

Posted: Mon Dec 17, 2001 5:36 pm
by Chad M. Kovac
Keep in mind that tons of response.write's are quite a bit slower than it would be to simply use HTML.

Instead of:
Do until Rst.EOF
Response.Write("<td>Some Table Item:" & SomeVariable & " More Stuff</td>")
rst.MoveNext
Loop

Use:
Do until Rst.EOF
%><td>Some Table Item:<%=SomeVariable%> More Stuff</td>
<%rst.MoveNext
Loop

Just a tip...