mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 19:56:03 +02:00
IDE: use editor font to display search results (bug #9698) from Anatol
git-svn-id: trunk@12159 -
This commit is contained in:
parent
a5f461ec1f
commit
5e8615fb25
@ -39,7 +39,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, LResources, Forms, Controls, Graphics, Dialogs,
|
||||
ComCtrls, ExtCtrls, StdCtrls, Buttons, LCLType,
|
||||
IDEOptionDefs, LazarusIDEStrConsts, EnvironmentOpts, InputHistory,
|
||||
IDEOptionDefs, LazarusIDEStrConsts, EnvironmentOpts, EditorOptions, InputHistory,
|
||||
IDEProcs, FindInFilesDlg, Project, MainIntf;
|
||||
|
||||
type
|
||||
@ -233,8 +233,8 @@ begin
|
||||
ALayout.Form:=TForm(Self);
|
||||
ALayout.Apply;
|
||||
fListBoxFont:= TFont.Create;
|
||||
fListBoxFont.Name:= 'courier';
|
||||
fListBoxFont.Height:= 12;
|
||||
fListBoxFont.Height:=EditorOpts.EditorFontHeight; // set Height before name for XLFD !
|
||||
fListBoxFont.Name:=EditorOpts.EditorFont;
|
||||
fListBoxFont.Style:= [];
|
||||
fOnSelectionChanged:= nil;
|
||||
ShowHint:= True;
|
||||
@ -735,8 +735,8 @@ begin
|
||||
OnShowHint:= @LazLBShowHint;
|
||||
OnMouseMove:= @LazLBMousemove;
|
||||
OnMouseWheel:= @LazLBMouseWheel;
|
||||
Font.Name:=fListBoxFont.Name;
|
||||
Font.Height:=fListBoxFont.Height;
|
||||
Font.Name:=fListBoxFont.Name;
|
||||
ShowHint:= true;
|
||||
NewListBox.Canvas.Color:= clWhite;
|
||||
end;//with
|
||||
|
Loading…
Reference in New Issue
Block a user