anchor.diff:    end;
     //
     procedure _Init_ApiOnStart;
  -  var
  -    Params: TAppVariantArray;
  -  begin
  -    SetLength(Params, 0);
  -    DoPyEvent(nil, cEventOnStart, Params);
  +  begin
  +    DoPyEvent(nil, cEventOnStart, []);
     end;
     //
     procedure _Init_KeymapMain;
  
positive.code: 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
  
negative.code:   for i:= 0 to FrameCount-1 do
    begin
      F:= Frames[i];
      DoPyEvent(F.Editor, cEventOnCloseBefore, []);
    end;
  
    if GetModifiedCount>0 then
  