Re: Colours in mcedit


> I want that whenever I open with mcedit a file (on RH 8.0 Linux ;
> no matter which extension)
> if it will include a certailn word (like "error") ,all the instances
> of this word will be colored in red ; Is there a simple way to do it?

Create file ~/.mc/cedit/unknown.syntax and write following to it:

context default
        keyword whole error red

Unfortunately, this rule will apply only to the files where no other
syntax highlighting is used.

Pavel Roskin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]