creating a SYN file

General questions about using TextPad

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

Post Reply
Shai Leib

creating a SYN file

Post by Shai Leib »

I want to create a SYN file so that all "error" keywords are highlighted when i open a error log file in text pad.

If the file resembles plain text do i put specify TEXT = 1, because the onlne help specifies that :

"However, do not use TEXT.SYN, nor start the file with "TEXT=1", as that is only intended for highlighting URLs in simple text files."

what shall i specify?
Jens Hollmann

Re: creating a SYN file

Post by Jens Hollmann »

For plain text files it has never failed me to declare "C=1" in the SYN file. I think this "C=1" or "LaTeX=1" has nothing to do with the file type. All these files are plain text. But the recognition of keywords may be different. And C-files are the most plain files of the lot ;-)

When you just want some keywords highlighted, then "C=1" is the correct choice. I used it for special INI files, Windows CMD script files and it just works.
Post Reply