Page 1 of 1

Syntax highlighting not working V5

Posted: Tue Jan 03, 2012 11:20 pm
by wingentp
I have 2 computers that have both recently been upgraded to 64bit Windows 7, slow I know but this is government! Anyway 1 pc has Textpad V4.7.3 and Syntax highlighting works fine. The 2nd Pc has V5.3.1 installed and Syntax Highlighting does not work. The Textpad preferences, configuration & file types are exactly the same on both. Any Ideas?

Posted: Fri Jan 06, 2012 1:49 pm
by bbadmin
Right click in the document and choose Properties/Syntax to check if the relevant syntax file has actually been applied to it.

The following is an example for HTML, but you can do the same check for your own particular Document class.

Please ensure that *.html is a member of the Files in class as follows:

1. Configure
2. Preferences
3. Plus sign next to Document Classes
4. Click on HTML (not the sign next to it )
5. Under the heading "Files in class", make sure that *.html is in the list. If it is not there, then you will need to add it to the list, along with any other file extensions that you are using for HTML files.
6.Click Apply / OK

I suggest that you also upgrade to TextPad 5.4.2

I hope this helps.

Still no luck with V5.4.2. upgrade

Posted: Mon Jan 16, 2012 10:48 pm
by wingentp
Thanks for that bbadmin. I have now upgraded to 5.4.2 with still no success at recognising my syntax highlighting file?
I have created a new document class (MX) and created a new 'Files in Class' extension (*.inp). I have customised the colors option under document class MX. Under the Syntax option in document class MX I have enabled syntax highlighting and linked my custom syntax definition file. This process & file worked in V4 Textpad!