I am trying to associate one lexer with one file on the screen and a different lexer with a different file on the screen.
One file is my code, the other is a log file.
I simply want to make all the lines in my XXXX.log file with the word "ERROR" in them, highlight in red. Or just highlight the word "ERROR" in red.
I have a lexer called log that I set up for the ***.log file. Under color coding, I put ERROR in the KEYWORDS.
As soon as I hit apply, it applies this to the other file, the code file, and makes ALL the keywords in it, red.
I just want the lexer to apply to my log file, not my code file. It is somehow overwriting the other lexer for my code file. The lexer for the code file is named something different.
I am using Slickedit 12.0.2.0