DockedFormEditor: Focus source editor after switching per F12 to make bookmarks immediately working

git-svn-id: trunk@64690 -
This commit is contained in:
michl 2021-02-28 20:04:20 +00:00
parent 4ba43eba0b
commit 72176c6fc0

View File

@ -200,6 +200,7 @@ begin
if ASourceEditor = nil then Exit;
LPageCtrl := SourceEditorWindows.FindModulePageControl(ASourceEditor);
LPageCtrl.ShowCode;
ASourceEditor.EditorControl.SetFocus;
end;
procedure TDockedTabMaster.ShowDesigner(ASourceEditor: TSourceEditorInterface; AIndex: Integer);