Page 1 of 1

How to use Syntax Highlight

Posted: Fri Feb 01, 2008 9:51 am
by DanielLanz
Hi
In V4.x Syntax Hilightning worked fine.
In V5.x I have problems.
In "Configure/Preferences/Document Classes/SQL/Syntax" I've defined a valid SYN-File and the Flag "Enable Syntax highlighting" is active.
After restarting the SQL file is still presented in s/w.
Only using "View/Document Properties/Syntax" an reentering the SYN file helps. But this information is lost when then file is closed.

Is it possible that the problem only exists, because I work with a German Windows? (the Syn file is stored in "C:\Dokumente und Einstellungen\user\Anwendungsdaten\Helios\TextPad\"

Any Ideas

Posted: Fri Feb 01, 2008 10:30 am
by helios
In order to enable the syntax highlighting, you will need to implement the following procedure. You may have some of this implemented already:

Click on:

1. Configure
2. Preferences
3. Plus sign next to Document Classes
4. Plus sign next to "SQL"
5. Syntax
6. Check the "Enable syntax highlighting" box.
7. Under the heading "Syntax definition file" Select
"sql.syn".
8. Click Apply / OK

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

1. Configure
2. Preferences
3. Plus sign next to Document Classes
4. Click on SQL
5. Under the heading "Files in class", make sure that *.sql 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 SQL files.
6.Click Apply / OK

I hope this helps.

Posted: Fri Feb 01, 2008 10:57 am
by DanielLanz
I have done everything as you have recommended. But unfortunately it does not help.

Questions
Do I have this problem because i've installed Win2000-german ?
Where is this information stored (registry or file) ?

Posted: Fri Feb 01, 2008 11:20 am
by helios
The information is stored in the Registry under:

HKEY_CURRENT_USER\Software\Helios\TextPad 5

Posted: Fri Feb 01, 2008 12:04 pm
by DanielLanz
I've found the problem !

"*.sql" was defined in more then one "document classes". !!
See partitional registry export here


thank you for your support[/url]