mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
IDE: fix regression: make code context hint window clickable
git-svn-id: trunk@52561 -
This commit is contained in:
parent
36b72c350c
commit
ec0a83c728
@ -41,7 +41,7 @@ uses
|
||||
Graphics, Dialogs, LCLType, LCLIntf, Themes, Buttons, SynEdit, SynEditKeyCmds,
|
||||
BasicCodeTools, KeywordFuncLists, LinkScanner, CodeCache, FindDeclarationTool,
|
||||
IdentCompletionTool, CodeTree, CodeAtom, PascalParserTool, CodeToolManager,
|
||||
SrcEditorIntf, LazIDEIntf, IDEProcs, LazarusIDEStrConsts;
|
||||
SrcEditorIntf, LazIDEIntf, IDEProcs, LazarusIDEStrConsts, LMessages;
|
||||
|
||||
type
|
||||
|
||||
@ -89,6 +89,7 @@ type
|
||||
protected
|
||||
procedure Notification(AComponent: TComponent; Operation: TOperation);
|
||||
override;
|
||||
procedure WMNCHitTest(var Message: TLMessage); message LM_NCHITTEST;
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
@ -367,6 +368,11 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TCodeContextFrm.WMNCHitTest(var Message: TLMessage);
|
||||
begin
|
||||
Message.Result := HTCLIENT;
|
||||
end;
|
||||
|
||||
procedure TCodeContextFrm.CreateHints(const CodeContexts: TCodeContextInfo);
|
||||
|
||||
function FindBaseType(Tool: TFindDeclarationTool; Node: TCodeTreeNode;
|
||||
|
Loading…
Reference in New Issue
Block a user