TP as ASP editor

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Paul

TP as ASP editor

Post 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
Andreas

Re: TP as ASP editor

Post 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
Steven Molen

Re: TP as ASP editor

Post 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
Paul

Re: TP as ASP editor

Post 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
Chad M. Kovac

Re: TP as ASP editor

Post 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...
Post Reply