anchor.diff:    Result:= nil;
     AppFolderOfLastInstalledAddon:= '';
     if Application.Terminated then exit;
  +
  +  bPreviewTab:= Pos('/preview', AOptions)>0;
  +  bEnableHistory:= Pos('/nohistory', AOptions)=0;
   
     if APages=nil then
       APages:= Groups.PagesCurrent;
  
positive.code:   F:= D.TabObject as TEditorFrame;
  
    tick:= GetTickCount64;
    F.DoFileOpen(AFilename, true, true);
    Result:= F;
    tick:= (GetTickCount64-tick) div 1000;
  
  
negative.code:     end;
  
      Result.Adapter.Stop;
      Result.DoFileOpen(AFilename, bEnableHistory, true);
      msg:= msgStatusOpened+' '+ExtractFileName(AFilename);
      MsgStatus(msg);
  
  