anchor.diff:    Result:= nil;
     AppDir_LastInstalledAddon:= '';
     if Application.Terminated then exit;
  +
  +  bFileTooBig:= IsFileTooBigForOpening(AFileName);
  +  bFileTooBig2:= IsFileTooBigForOpening(AFileName2);
   
     CurGroups:= CurrentGroups;
   
  
positive.code:       end;
  
      //too big size?
      if (OpenMode=cOpenModeEditor) and IsFileTooBigForOpening(AFileName) then
      begin
        case DoDialogConfirmBinaryFile(AFileName, true) of
          ConfirmBinaryViewText: OpenMode:= cOpenModeViewText;
          ConfirmBinaryViewBinary: OpenMode:= cOpenModeViewBinary;
          ConfirmBinaryViewHex: OpenMode:= cOpenModeViewHex;
  
negative.code:     bDetectedPics:= bAllowPics and IsFilenameListedInExtensionList(AFileName, UiOps.PictureTypes);
  
      //non-text option
      if not bFileTooBig then
      if not bDetectedPics then
      if UiOps.NonTextFiles<>1 then
        if not IsFileContentText(
  