> I'm using SCI_SETSELBACK to set the text select background color. If the Scintilla control goes out of focus, the color changes to a dark gray color. Then when the control regains focus, it changes back to the color I set it to.
To match platform conventions, Scintilla now supports a separate selection background colour for inactive mode. This has a default value which may vary depending on system settings but is currently hard-coded on most platforms.
It may be more compatible for Scintilla to duplicate the SCI_SETSELBACK colour onto SC_ELEMENT_SELECTION_INACTIVE_BACK. However, this may make the interaction between the settings more difficult to understand.