New setting for configuring brace matching background

This allows modifying this background colour and provides a better
default, which does not make the cursor invisible (in dark mode) and it
is itself visible outside of the current line (in light mode).

See issues #2203 and #2320
This commit is contained in:
mgrojo
2020-07-04 17:08:01 +02:00
parent 0bb3b23070
commit 662dbcf900
4 changed files with 16 additions and 2 deletions

View File

@@ -144,6 +144,8 @@ void ExtendedScintilla::reloadCommonSettings()
}
setPaper(Settings::getValue("syntaxhighlighter", "background_colour").toString());
setColor(Settings::getValue("syntaxhighlighter", "foreground_colour").toString());
setMatchedBraceBackgroundColor(Settings::getValue("syntaxhighlighter", "highlight_colour").toString());
}
void ExtendedScintilla::reloadKeywords()