Colours in mcedit

Pavel Roskin proski at gnu.org
Sun Mar 16 20:38:25 UTC 2003


Hello!

> 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.

-- 
Regards,
Pavel Roskin



More information about the mc-devel mailing list