Page 1 of 1

creating a SYN file

Posted: Mon Aug 06, 2001 1:33 pm
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?

Re: creating a SYN file

Posted: Mon Aug 13, 2001 12:13 pm
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.