Supporting solarized colors using QSyntaxHighlighter
My app would like to fully support the "solarized ":http://ethanschoonover.com/solarized color scheme.
To do this, we would like to use the dark theme for selections, and the light theme for non-selected text. something like "this": http://www.phpstorm-themes.com/sites/default/files/Screen-Shot-2012-12-06-at-3.17.48-PM.png.
My question is this: is it possible (without writing a lot of low level code) to highlight selected text in a QTextEdit (colorized using QSyntaxHighlighter) so that the selection background color changes, but the multiple different foreground colors in the selected region remain unchanged.