Page 1 of 1
Default (new doc) Syntax color.
Posted: Tue Mar 20, 2001 1:41 am
by John
Is there a way for TextPad use a syntax definition file for the Default doc class?
(an unsaved document)
I am editing the same type of doc about 90% of the time and don't want to save to a temp file, just to delete it when I am done.
Thanks in advanced.
John
Re: Default (new doc) Syntax color.
Posted: Wed Mar 21, 2001 11:21 pm
by Rich Miller
Modify the following values in this registry key:
HKEY_CURRENT_USER\Software\Helios\TextPad 4\Document Classes\Default
SyntaxFile="C:\Program Files\TextPad4\System\MySyntax.syn"
(It is easiest to copy the value from another document class and paste it in)
SyntaxProps change from 00 00 00 00 to 01 00 00 00
Re: Default (new doc) Syntax color.
Posted: Thu Mar 22, 2001 12:44 am
by John
Perfect!
Thanks...
Re: Default (new doc) Syntax color.
Posted: Fri Mar 23, 2001 10:46 am
by Andreas
It only works if the Value of "Syntax Props" is set to 01 00 00 00 as well.
Why is it not possible to set the Syntax Highlight Settings for the default document class in the same way as for all other document classes?
Andreas