anchor.diff:    NameCounter: integer;
     SFileName, NameTemp, NameInitial: string;
   begin
  -  Result:= false;
  +  Result:= true;
     if not IsText then exit(true); //disable saving, but close
     if DoPyEvent(Ed, cEventOnSaveBefore, [])=cPyFalse then exit(true); //disable saving, but close
   
  
positive.code:   except
      if MsgBox(msgCannotSaveFile+#10+SFileName,
        MB_RETRYCANCEL or MB_ICONERROR) = IDCANCEL then
        Exit(false);
    end;
  
    if bNameChanged then
  
negative.code:   if not TabCaptionFromApi then
      UpdateCaptionFromFilename;
  
    if Result then
    begin
      DoSaveUndo(Ed, SFileName);
      DoPyEvent(Ed, cEventOnSaveAfter, []);
      if Assigned(FOnSaveFile) then
        FOnSaveFile(Self);
    end;
  end;
  
  procedure TEditorFrame.DoFileReload_DisableDetectEncoding;
  