mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Enable bracket highlighting in SQL editors
This commit is contained in:
@@ -14,7 +14,7 @@ uses
|
||||
Generics.Defaults, opensslsockets, StdActns, Clipbrd, Types, LCLType, EditBtn,
|
||||
FileUtil, LMessages, jsonconf, dbconnection, dbstructures, dbstructures.mysql,
|
||||
generic_types, apphelpers, extra_controls, createdatabase,
|
||||
SynEditMarkupSpecialLine, searchreplace, ImgList, IniFiles, LazFileUtils, tabletools;
|
||||
SynEditMarkupSpecialLine, SynEditMarkupBracket, searchreplace, ImgList, IniFiles, LazFileUtils, tabletools;
|
||||
|
||||
|
||||
type
|
||||
@@ -13442,6 +13442,9 @@ begin
|
||||
if Editor <> BaseEditor then begin
|
||||
Editor.Keystrokes := BaseEditor.KeyStrokes;
|
||||
end;
|
||||
Editor.BracketHighlightStyle := sbhsBoth;
|
||||
Editor.BracketMatchColor.Foreground := FMatchingBraceForegroundColor;
|
||||
Editor.BracketMatchColor.Background := FMatchingBraceBackgroundColor;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user