mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 04:02:45 +02:00
IDE: fixed showing source editor hints while docked
git-svn-id: trunk@26810 -
This commit is contained in:
parent
747103186b
commit
4fcf37a14d
@ -7305,12 +7305,12 @@ var
|
||||
MousePos: TPoint;
|
||||
AControl: TControl;
|
||||
begin
|
||||
//DebugLn(['TSourceNotebook.HintTimer ']);
|
||||
FMouseHintTimer.Enabled := False;
|
||||
FMouseHintTimer.AutoEnabled := False;
|
||||
if not IsVisible then exit;
|
||||
MousePos := Mouse.CursorPos;
|
||||
AControl:=FindLCLControl(MousePos);
|
||||
if (AControl=nil) or (GetParentForm(AControl)<>Self) then exit;
|
||||
if (AControl=nil) or (not ContainsControl(AControl)) then exit;
|
||||
if AControl is TSynEdit then
|
||||
ShowSynEditHint(MousePos);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user