Page 1 of 1

highlighting complete lines depending on first two words

Posted: Thu Feb 13, 2003 7:28 am
by Olaf Doemer
Hi,
I'm working with ATG Dynamo log files a lot and almost all lines start with one of the following:
**** info
**** debug
**** warning
**** error

These lines can get pretty long

I tried to get Textpad 4.4.0 to highlite the full line in different colors depending on the start of the line but I somhow just get it to highlite the words. I tried with KeyWordLenght but that did not help. Also
SyntaxStart = ****
doesn't make a difference as I can not specify a SyntaxEnd. Maybe there is a way to tell it to highlite the syntax starting with a specific word until the next line break.

Any idea how to do that?

Thanks
Olaf.

Re: highlighting complete lines depending on first two words

Posted: Mon Feb 24, 2003 9:18 am
by Berend Veldkamp
AFAIK, there's no way to do this. The closest you can get is to set:
SingleComment = **** error
SingleCommentAlt = **** warning
and set the colors to red and orange, for instance.

Berend

Re: highlighting complete lines depending on first two words

Posted: Mon Feb 24, 2003 1:01 pm
by Olaf Doemer
Thanks, I think you are right. I upgraded to 4.6.2 in the meantime but that doesn't make a difference. Using the sinlge line comment makes it a bit better.
Would be a nice enhancement though.
Olaf.