Pattern matching & highlighting

Discussion Forums discussion Pattern matching & highlighting

This topic contains 0 voices and has 1 reply.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
May 26, 2006 at 7:08 pm #69

djhill
Member

I stumbled across PN today and it’s a really nice editor.

Is there any way to define patterns/keywords and then assign a colour?

I can see the syntax highlighting features for a large range of programming languages, and I guess this is similar.

But, I’m not sure it’s quite what I’m looking for. My primary use for this would be scanning log files for noteworthy events.

For example, I might like ‘Foo’ to appear red, while ‘Bar’ appears blue. Perhaps I might like the entire line containing the word ‘Exception’ to be highlighted.

If there’s no support for this yet, does anyone have any suggestions how I might implement this?

May 27, 2006 at 11:03 pm #14998

simon
Key Master

Hi, there’s no support for something exactly like this at the moment, although you could use any old scheme and set the keywords to something appropriate which would get you part of the way there.

I actually use baretail for viewing logs like this which I find very useful (google for it) and it often makes me want this functionality in PN!

Definitely something to think about…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.