Re: mc editor small changes III - unified diff



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.





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