nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] Statusbar plus


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] Statusbar plus
Date: Mon, 20 Apr 2015 20:58:13 +0200

On Mon, Apr 20, 2015, at 14:36, Matteo Sasso wrote:
> It's also trivial to have yet another color for errors, but I don't know
> how useful that would be. Right now the default color is black on yellow.

What is missing is that it should be configurable.  As long as the user
hasn't specified anything for warnings, it should default to the same
colour or highlight as the normal status bar.

To differentiate between warnings and errors doesn't seem useful to me.

>      STATUS_BAR,
>      KEY_COMBO,
>      FUNCTION_TAG,
> +    STATUS_BAR_WARNING,
>      NUMBER_OF_ELEMENTS

I would call this STATUS_WARNING, and move it two lines up,
to keep related things together.

>      {"titlecolor", 0},
>      {"statuscolor", 0},
> +    {"statuscolorwarning", 0},
>      {"keycolor", 0},
>      {"functioncolor", 0},

For consistency, this had better be called "warningcolor".

Benno

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free




reply via email to

[Prev in Thread] Current Thread [Next in Thread]