syntax highlighting

General questions about using TextPad

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

Post Reply
S

syntax highlighting

Post by S »

I have just downloaded textpad to help me learn java. Despite following the instructions to choose colours in the document classes and enabling syntax highlighting, my document is still in black and white. Has anyone got a solution please?
mo

Re: syntax highlighting

Post by mo »

are you sure "syntax definition file" is java.syn ?
Paul

Re: syntax highlighting

Post by Paul »

I am experiencing the same problem. I have used syntax definitions successfully before, but since my recent re-install, all files are in black and white. When I open the properties of the document the syntax is not enabled. There must be a checkbox somewhere to tell textpad always to use the syntax definitions, but I can't find it. Can somebody PLEASE help?
Paul

Re: syntax highlighting

Post by Paul »

I just figures out what my problem was: When defining the document class I forgot to specify the type of file to apply the syntax to. For example if you wanted the syntax to apply to all java documents you would have to enter *.java in the document class definition file in the colum labeled Files in class ...
Post Reply