[patch] ability to selected background for reversed text
Submitted by kir..@..red.ru
Link to original bug (#307073)
Description
I miss the capability similar to xterm's rvc flag, e.g. to use highlight color (if previously set by vte_terminal_set_color_highlight()) to display reversed text.
Example: you use thin font (like Andale Mono) and green text on black background (not an unusual setup), and text highlighted by less or vim when you do search displays as black on green background, which is hardly readable. Using the feature similar to xterm's rvc, such text can instead be highlighted by using grey background.
To my mind, this improves usability and therefore quite important.
Attached patch implement this functionality by adding vte_terminal_set_highlight_reversed() function. Patch is against vte-0.11.12 but applies cleanly (with fuzz) to latest cvs as well.