Page 1 of 1

Don't invert text color when using selection color as bg

Posted: 2016-08-04, 10:36 UTC
by Lefteous
Currently there is an option to define a color for selections. This normally affects the font color. When using 'invert selection' this color is used as background color. The font color is just the inverted normal font color (normally white instead of black). This is basically very nice - similar to the new themed cursor. This has some downsides:

1. When using colors per filetype the coloring is gone when the file is selected.
2. As the font color is inverted it's almost impossible to use a lighter color (when using black text on white bg).


So my question is why not allow users to define a background color for selection without inverting the font color?

Posted: 2016-08-04, 11:32 UTC
by MVV
Similarly I would allow an option to draw focus rectangle with font color with inverted cursor) since I always use inverted cursor (since DOS file managers).

With non-inverted cursor there is a strange thing: we can set its style when there is a selection or when it is in inactive panel, but we can't make it solid or set its weight in active panel so it is visible barely.

Posted: 2016-08-11, 07:59 UTC
by Lefteous
Here is an example how it looks like when you have a light bg color set for selection:

[img]http://fs5.directupload.net/images/160804/n3j2afbz.png[/img]

Another argument for the suggested behavior is that readability for the file under the cursor is better than on the selected background but still for from good.