Page 1 of 1

syntax highlighting for a log file

Posted: Tue Mar 14, 2006 3:31 pm
by Rob Clack
I'm evaluating TextPad for use with a log file which can run to thousands of lines. The software has many components, all writing output to a single log file, so each line has a component name, and it's that which I want to highlight.

The problem is that not all my keywords are being highlighted. For instance

[Keywords 6]
Exception
Error

does not highlight the words Exception or Error in the log file, though most keywords are successfully highlighted. I also have, in a different keywords section

InternetAccess
InternetAccessImpl
Xiva
XivaCore

where the 2 Internet keywords are successfully highlighted, but the 2 Xiva ones are not.

Any ideas what's going on here? Could be really simple, as I'm completely new to this side of TextPad.
Thanks
Rob

User error

Posted: Wed Mar 15, 2006 10:55 am
by Rob Clack
Sigh. I was editing a different version of the .syn file, so of course, my changes weren't having any effect. :oops: