diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index 55b88d859..a4db57136 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp @@ -2593,6 +2593,7 @@ void ScintillaEditView::performGlobalStyles() selectColorFore = pStyle->_fgColor; } execute(SCI_SETSELBACK, 1, selectColorBack); + execute(SCI_SETELEMENTCOLOUR, SC_ELEMENT_SELECTION_INACTIVE_BACK, selectColorBack); if (nppParams.isSelectFgColorEnabled()) execute(SCI_SETSELFORE, 1, selectColorFore);