anchor.diff:    //-1 means run callback
     if NCommand=-1 then
     begin
  -    SetLength(Params, 0);
       if SCallback<>'' then
       begin
         F.Editor.CommandLog.Add(cmd_PluginRun, cInvokeMenuAPI, SCallback+SCaption);
  -      DoPyCallbackFromAPI(SCallback, Params, []);
  +      DoPyCallbackFromAPI(SCallback, [], []);
         F.Editor.CommandLog.Add(cmd_PluginEnd, cInvokeMenuAPI, SCallback+SCaption);
       end;
     end
  
positive.code:   UpdateFindDialogEnabled(F);
    MsgStatusFileOpened(AFileName, AFileName2);
  
    SetLength(Params, 0);
  
    if bEnableEventOpened then
      DoPyEvent(F.Ed1, cEventOnOpen, Params);
  
    if bEnableEventOpenedNone then
      if IsFilenameForLexerDetecter(AFileName) then
        if (F.FrameKind=efkEditor) and (F.LexerName[F.Ed1]='') then
          DoPyEvent(F.Ed1, cEventOnOpenNone, Params);
  
    if bEnableEventOpened then
      if AFileName2<>'' then
        DoPyEvent(F.Ed2, cEventOnOpen, Params);
  
    DoFocusResult;
  end;
  
negative.code: var
    PntScreen, PntLocal: TPoint;
    Ed: TATSynEdit;
    iGroup: integer;
  begin
    PntScreen:= Mouse.CursorPos;
  