mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 18:19:08 +02:00
DockedFormEditor: Focus source editor after switching per F12 to make bookmarks immediately working
git-svn-id: trunk@64690 -
This commit is contained in:
parent
4ba43eba0b
commit
72176c6fc0
@ -200,6 +200,7 @@ begin
|
|||||||
if ASourceEditor = nil then Exit;
|
if ASourceEditor = nil then Exit;
|
||||||
LPageCtrl := SourceEditorWindows.FindModulePageControl(ASourceEditor);
|
LPageCtrl := SourceEditorWindows.FindModulePageControl(ASourceEditor);
|
||||||
LPageCtrl.ShowCode;
|
LPageCtrl.ShowCode;
|
||||||
|
ASourceEditor.EditorControl.SetFocus;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TDockedTabMaster.ShowDesigner(ASourceEditor: TSourceEditorInterface; AIndex: Integer);
|
procedure TDockedTabMaster.ShowDesigner(ASourceEditor: TSourceEditorInterface; AIndex: Integer);
|
||||||
|
Loading…
Reference in New Issue
Block a user