anchor.diff:  procedure TfmMain.FormCloseQuery(Sender: TObject; var ACanClose: boolean);
   var
     F: TEditorFrame;
  -  Params: TAppVariantArray;
     i: integer;
   begin
     //call on_close_pre for all tabs, it's needed to save all
  
positive.code: procedure TfmMain.FormClose(Sender: TObject; var CloseAction: TCloseAction);
  var
    F: TEditorFrame;
    Params: TAppVariantArray;
    i: integer;
  begin
    if Assigned(AppNotifThread) then
  
negative.code:   end;
    //
    procedure _Init_ApiOnStart;
    begin
      DoPyEvent(nil, cEventOnStart, []);
    end;
    //
    procedure _Init_KeymapMain;
  