anchor.diff:        if DoPyEvent(CurrentEditor, cEventOnOpenBefore,
           [SStringToPythonString(AFilename)]) = cPyFalse then exit;
   
  +    bDetectedPics:= bAllowPics and IsFilenameListedInExtensionList(AFilename, UiOps.PictureTypes);
  +
       //non-text option
  -    if not IsFilenameListedInExtensionList(AFilename, UiOps.PictureTypes) then
  +    if not bDetectedPics then
       if UiOps.NonTextFiles<>1 then
         if not IsFileContentText(
                  AFilename,
  
positive.code: var
    D: TATTabData;
    F: TEditorFrame;
    bSilent, bPreviewTab, bEnableHistory, bEnableEvent, bNoZip,
    bAndActivate, bAllowNear: boolean;
    OpenMode, NonTextMode: TAppOpenMode;
    tick: QWord;
  
negative.code:   if OpenMode=cOpenModeEditor then
    begin
      //zip files
      if bAllowZip then
      if ExtractFileExt(AFilename)='.zip' then
      begin
        if DoFileInstallZip(AFilename, AppFolderOfLastInstalledAddon, bSilent) then
  