3146
3147
procedure TSourceEditor.FocusEditor;
3148
3149
DebugLnEnter(SRCED_PAGES, ['>> TSourceEditor.FocusEditor A ',PageName,' ',FEditor.Name]);
3150
3151
if FEditor.IsVisible then begin
3151
3152
FEditor.SetFocus; // TODO: will cal EditorEnter, which does self.Activate => maybe lock, and do here?
3152
3153
FSharedValues.SetActiveSharedEditor(Self);