anchor.diff:    end;
   
     //py event
  -  if not bNoEvent then
  +  if bEnableEvent then
       if DoPyEvent(CurrentEditor, cEventOnOpenBefore,
         [SStringToPythonString(AFilename)]) = cPyFalse then exit;
   
  
positive.code:   D: TATTabData;
    F: TEditorFrame;
    isOem, bSilent,
    bPreviewTab, bEnableHistory, bNoEvent: boolean;
    tick: QWord;
    msg: string;
    i: integer;
  
negative.code: 
    bPreviewTab:= Pos('/preview', AOptions)>0;
    bEnableHistory:= Pos('/nohistory', AOptions)=0;
    bEnableEvent:= Pos('/noevent', AOptions)=0;
  
    if APages=nil then
      APages:= Groups.PagesCurrent;
  