mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Issue #8: apply 3 hardcoded default values for colors which are not part of the highlighter's attributes (active line bg, matching brace fg + bg)
This commit is contained in:
@ -755,6 +755,11 @@ begin
|
||||
for j:=0 to SynSQLSynSQLSample.AttrCount - 1 do begin
|
||||
SynSQLSynSQLSample.Attribute[j].AssignColorAndStyle(Highlighter.Attribute[j]);
|
||||
end;
|
||||
// Use 3 hardcoded default values for additional colors, which are not part
|
||||
// of the highlighter's attributes
|
||||
SynMemoSQLSample.ActiveLineColor := StringToColor(AppSettings.GetDefaultString(asSQLColActiveLine));
|
||||
MainForm.MatchingBraceForegroundColor := StringToColor(AppSettings.GetDefaultString(asSQLColMatchingBraceForeground));
|
||||
MainForm.MatchingBraceBackgroundColor := StringToColor(AppSettings.GetDefaultString(asSQLColMatchingBraceBackground));
|
||||
Break;
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user