anchor.diff:    end;
   
     //preview-tab
  -  if Pos('/preview', AOptions)>0 then
  +  if bPreviewTab then
     begin
       APages:= Groups.Pages1; //open preview tab in 1st group
       for i:= 0 to APages.Tabs.TabCount-1 do
  
positive.code:     end;
  
      Result.Adapter.Stop;
      Result.DoFileOpen(AFilename, false, true);
      msg:= msgStatusOpened+' '+ExtractFileName(AFilename);
      MsgStatus(msg);
  
  
negative.code:   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;
  