mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 18:00:26 +02:00
ide: don't hide hint if user input handler passes a hint window as a source of messages (issue #0020185), also don't explicitly hide hint if source editor notifies about scroll event - hint will hide anyway because of user input notification
git-svn-id: trunk@35501 -
This commit is contained in:
parent
bbb4a0f776
commit
19acb2a8de
@ -7359,7 +7359,6 @@ end;
|
||||
procedure TSourceNotebook.EditorMouseWheel(Sender: TObject; Shift: TShiftState;
|
||||
WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
|
||||
begin
|
||||
HideHint;
|
||||
//handled:=true; //The scrolling is not done: it's not handled! See TWinControl.DoMouseWheel
|
||||
end;
|
||||
|
||||
@ -7448,7 +7447,9 @@ end;
|
||||
procedure TSourceNotebook.OnApplicationUserInput(Sender: TObject; Msg: Cardinal);
|
||||
begin
|
||||
//debugln('TSourceNotebook.OnApplicationUserInput');
|
||||
HideHint;
|
||||
// don't hide hint if Sender is a hint window
|
||||
if Sender <> FHintWindow then
|
||||
HideHint;
|
||||
end;
|
||||
|
||||
procedure TSourceNotebook.EditorKeyDown(Sender: TObject; var Key: Word;
|
||||
|
Loading…
Reference in New Issue
Block a user