Topic: Changing color of an entire line (1 of 2), Read 64 times
Conf: Program develop.,Color syntax
From: Mark Ziegler
Date: Monday, August 19, 2002 10:23 PM

I would like to create a syn file that will change the color of the entire line a string is on. For example if I open some log file and there are lines with the string WARN on them I would like the whole line to be red. I have been looking at the syn files that come with Vedit for a while but cannot find an example. Can this be done?

 


Topic: Changing color of an entire line (2 of 2), Read 70 times
Conf: Program develop.,Color syntax
From: Christian Ziemski
Date: Tuesday, August 20, 2002 03:40 AM

You can for example use an entry like
Numeric = "|*WARN|*"
in your SYN-file. Then you have to change the color for NUMERIC to red and all is done.

Christian