Javascript syntax file?

General questions about using TextPad

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

Post Reply
apattin
Posts: 5
Joined: Thu Jun 05, 2003 4:38 pm

Javascript syntax file?

Post by apattin »

HI all,

I downloaded the syntax files in Add-ons but did not find one for Javascript; can I find this somewhere else?

Also, are you planning to add support for multi-language pages such as HTML+ASP+Javascript all in one text file? THAT WOULD WIN YOU THE NOBEL PRIZE...

Thanks!
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Ypu asled:
I downloaded the syntax files in Add-ons but did not find one for Javascript; can I find this somewhere else?
I think you will find that java syntax came with TextPad already.
Try this:
====================
From the Main Menu, select Configure, Preferences.
Left click on the Plus sign next to Document Classes.
Left click on the Plus sing next to Java.
Left click on the Syntax settings.
Enter a checkmark in the box to "Enable syntax highlighting".
Select java.syn from the list of syntax files.
Left click on Apply and OK.

If java.syn is not listed, check settings for syntax folder:
In the window for Preferences, on the left side, scroll down and left click on Folders.
In the window on the right, edit the line for syntax to match the folder location for those files (typical default will be something like C:\Program Files\TextPad4\user.
Left click on Apply and OK.
===========================

Hope this helps........
Hope this was helpful.............good luck,
Bob
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

apattin wrote:
I downloaded the syntax files in Add-ons but did not find one for Javascript; can I find this somewhere else?

There are 6 entries for javascript and 3 for javascript & HTML - why did you not find them?


--------
Bob Hansen wrote:
I think you will find that java syntax came with TextPad already.
Java is not the same as Javascript...
Post Reply