SQL DB component: SQL Editor uses the editor settings for font and highlighter (issue #14432)

git-svn-id: trunk@21571 -
This commit is contained in:
vincents 2009-09-04 14:58:26 +00:00
parent b7b017b15f
commit 9134c20b4b

View File

@ -6,7 +6,8 @@ interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
SynEdit, ButtonPanel, SynHighlighterSQL, ComCtrls, SQLDb, db, DBGrids;
SynEdit, ButtonPanel, SynHighlighterSQL, ComCtrls, SQLDb, db, DBGrids,
SrcEditorIntf;
type
@ -60,6 +61,8 @@ resourcestring
constructor TSQLStringsPropertyEditorDlg.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
SourceEditorWindow.GetEditorControlSettings(SQLEditor);
SourceEditorWindow.GetHighlighterSettings(SQLHighlighter);
EditorTabSheet.Caption := SSQLTabCaption;
ResultTabSheet.Caption := SResultTabCaption;
end;