mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 12:19:26 +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
|
uses
|
||||||
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
||||||
SynEdit, ButtonPanel, SynHighlighterSQL, ComCtrls, SQLDb, db, DBGrids;
|
SynEdit, ButtonPanel, SynHighlighterSQL, ComCtrls, SQLDb, db, DBGrids,
|
||||||
|
SrcEditorIntf;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
@ -60,6 +61,8 @@ resourcestring
|
|||||||
constructor TSQLStringsPropertyEditorDlg.Create(AOwner: TComponent);
|
constructor TSQLStringsPropertyEditorDlg.Create(AOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
|
SourceEditorWindow.GetEditorControlSettings(SQLEditor);
|
||||||
|
SourceEditorWindow.GetHighlighterSettings(SQLHighlighter);
|
||||||
EditorTabSheet.Caption := SSQLTabCaption;
|
EditorTabSheet.Caption := SSQLTabCaption;
|
||||||
ResultTabSheet.Caption := SResultTabCaption;
|
ResultTabSheet.Caption := SResultTabCaption;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user