mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 09:57:15 +01:00
git-svn-id: trunk@24071 -
This commit is contained in:
parent
d83ee6522b
commit
32b73ebd75
@ -14353,7 +14353,8 @@ begin
|
||||
//DebugLn(['TMainIDE.OnSrcNotebookShowHintForSource START']);
|
||||
if (SrcEdit=nil) then exit;
|
||||
|
||||
SourceNotebook.SetActiveSE(SrcEdit);
|
||||
if SourceEditorManager.ActiveEditor <> SrcEdit then
|
||||
SourceEditorManager.ActiveEditor := SrcEdit;
|
||||
|
||||
if not BeginCodeTool(ActiveSrcEdit, ActiveUnitInfo,
|
||||
[{ctfActivateAbortMode}]) then exit;
|
||||
|
||||
@ -7935,7 +7935,7 @@ begin
|
||||
else
|
||||
Window := SourceWindowWithEditor(AValue);
|
||||
if Window = nil then exit;
|
||||
FActiveWindow := TSourceNotebook(Window);
|
||||
ActiveSourceWindow := TSourceNotebook(Window);
|
||||
Window.ActiveEditor := AValue;
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user