mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 00:04:25 +02:00
Fix unfocused selected text background color changed problem
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11419#issuecomment-1094362796 Fix #11595, close #11601
This commit is contained in:
parent
c94d50842e
commit
3b0d5242ac
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user