mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
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:
parent
b7b017b15f
commit
9134c20b4b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user