Syntax highlighting?

General questions about using TextPad

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

Post Reply
janisraelsson
Posts: 2
Joined: Wed Sep 17, 2008 7:27 pm
Location: Sweden

Syntax highlighting?

Post by janisraelsson »

Hi,
How can I enable syntax highlighting? I would like to have syntax highlighting for the following, .vbs, .cmd, .xps (windows powershell).

Regards Jan.
./jin
User avatar
dengh
Posts: 4
Joined: Fri Sep 02, 2005 5:31 pm
Location: Los Angeles, CA

Post by dengh »

Configure -> Preferences -> Document Class

Add a document class if there isn't one there (see the Help)

Open the document class, select Syntax, check 'Enable syntax highlighting', select a syntax definition file.

If there isn't aa syntax file available for the thing you want, on this website, go to
Downloads -> Add-Ons -> Syntax Definitions
and get a new definition file. there's something there for almost everything.
janisraelsson
Posts: 2
Joined: Wed Sep 17, 2008 7:27 pm
Location: Sweden

Post by janisraelsson »

Thanks alot.
./jin
Post Reply