mc editor small changes III - unified diff

Leonard den Ottolander leonard at den.ottolander.nl
Sun Aug 21 17:14:44 UTC 2005


Hi František,

On Thu, 2005-08-11 at 09:07 +0200, František Řezníček wrote:
> -    const char * const b = "{}{[][()(<><", *p;
> +    const char * const b = "{}{[][()(", *p;

> -    if (strchr ("{[(<", c))
> +    if (strchr ("{[(", c))

If you'd like the extra match please implement this so the strings above
are configurable via ~/.mc/ini. If you do this please also add match for
an empty string so this feature can be disabled.

Maybe the config string should just contain the bracket from which b and
the second string can be constructed.

Leonard.





More information about the mc-devel mailing list