New settings for changing the selection appearance in editors

Default values follow desktop style as before.

See issue #2320.
This commit is contained in:
mgrojo
2020-07-04 20:50:51 +02:00
parent 662dbcf900
commit 0562f16dfa
4 changed files with 31 additions and 1 deletions

View File

@@ -146,6 +146,9 @@ void ExtendedScintilla::reloadCommonSettings()
setColor(Settings::getValue("syntaxhighlighter", "foreground_colour").toString());
setMatchedBraceBackgroundColor(Settings::getValue("syntaxhighlighter", "highlight_colour").toString());
setSelectionBackgroundColor(Settings::getValue("syntaxhighlighter", "selected_bg_colour").toString());
setSelectionForegroundColor(Settings::getValue("syntaxhighlighter", "selected_fg_colour").toString());
}
void ExtendedScintilla::reloadKeywords()