anchor.diff:    begin
       SetFileName(Ed, SFileName);
       TabFontColor:= clNone;
  -    TabExtModified:= false;
  -    TabExtDeleted:= false;
  +    if EdIndex>=0 then
  +    begin
  +      TabExtModified[EdIndex]:= false;
  +      TabExtDeleted[EdIndex]:= false;
  +    end;
   
       //add to recents new filename
       if bNameChanged then
  
positive.code: 
  procedure TEditorFrame.NotifyAboutChange(Ed: TATSynEdit);
  var
    EdIndex: integer;
    bShowPanel, bDeletedOutside: boolean;
    S: string;
  begin
    EdIndex:= EditorObjToIndex(Ed);
    if EdIndex<0 then exit;
  
    bDeletedOutside:= (Ed.FileName<>'') and not FileExists(Ed.FileName);
    if not bDeletedOutside and TabExtDeleted then
    begin
      TabFontColor:= clNone;
      TabExtModified:= false;
      TabExtDeleted:= false;
      DoHideNotificationPanel(NotifDeletedControls[EdIndex]);
      DoHideNotificationPanel(NotifReloadControls[EdIndex]);
      exit;
    end;
  
    TabExtModified:= true;
    TabExtDeleted:= bDeletedOutside;
  
    if bDeletedOutside then
      TabFontColor:= GetAppColor(apclTabMarks)
    else
      TabFontColor:= clNone;
  
    if TabExtDeleted then
    begin
      DoHideNotificationPanel(NotifReloadControls[EdIndex]);
      if not NotifDeletedEnabled then exit;
      bShowPanel:= true;
    end
    else
    case UiOps.NotificationConfirmReload of
      1:
        bShowPanel:= Ed.Modified or not Ed.Strings.UndoEmpty;
      2:
        bShowPanel:= Ed.Modified; //like Notepad++
      else
        bShowPanel:= true;
    end;
  
    if not bShowPanel then
    begin
      DoFileReload(Ed);
      exit
    end;
  
    InitNotificationPanel(EdIndex, false, NotifReloadControls[EdIndex], @NotifReloadYesClick, @NotifReloadNoClick, @NotifReloadStopClick);
    InitNotificationPanel(EdIndex, true, NotifDeletedControls[EdIndex], @NotifDeletedYesClick, @NotifDeletedNoClick, @NotifDeletedStopClick);
  
    S:= ExtractFileName(GetFileName(Ed));
    UpdateNotificationPanel(EdIndex, NotifReloadControls[EdIndex], msgConfirmReloadYes, msgButtonCancel, msgConfirmReloadNoMore, msgConfirmFileChangedOutside+' '+S);
    UpdateNotificationPanel(EdIndex, NotifDeletedControls[EdIndex], msgTooltipCloseTab, msgButtonCancel, msgConfirmReloadNoMore, msgConfirmFileDeletedOutside+' '+S);
  
    ApplyThemeToInfoPanel(NotifReloadControls[EdIndex].Panel);
    ApplyThemeToInfoPanel(NotifDeletedControls[EdIndex].Panel);
  
    if FTabExtDeleted then
      NotifDeletedControls[EdIndex].Panel.Show
    else
      NotifReloadControls[EdIndex].Panel.Show;
  end;
  
  procedure TEditorFrame.SetEnabledCodeTree(Ed: TATSynEdit; AValue: boolean);
  
negative.code:   Ada: TATAdapterHilite;
  begin
    EdIndex:= EditorObjToIndex(Ed);
    if EdIndex<0 then exit;
    Ada:= FLexerBackup[EdIndex];
    if Assigned(Ada) then
    begin
  