Default (new doc) Syntax color.

General questions about using TextPad

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

Post Reply
John

Default (new doc) Syntax color.

Post 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
Rich Miller

Re: Default (new doc) Syntax color.

Post 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
John

Re: Default (new doc) Syntax color.

Post by John »

Perfect!
Thanks...
Andreas

Re: Default (new doc) Syntax color.

Post 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
Post Reply