anchor.diff:  end;
   
   procedure TEditorFrame.SetEnabledCodeTree(Ed: TATSynEdit; AValue: boolean);
  -begin
  -  if GetEnabledCodeTree(Ed)=AValue then Exit;
  -
  -  if (Ed=Ed1) or EditorsLinked then
  -    FEnabledCodeTree[0]:= AValue
  -  else
  -    FEnabledCodeTree[1]:= AValue;
  +var
  +  N: integer;
  +begin
  +  N:= EditorObjToTreeviewIndex(Ed);
  +  if FEnabledCodeTree[N]=AValue then Exit;
  +  FEnabledCodeTree[N]:= AValue;
   
     if not AValue then
  -    ClearTreeviewWithData(CachedTreeview[Ed]);
  +    if Assigned(FCachedTreeview[N]) then
  +      ClearTreeviewWithData(FCachedTreeview[N]);
   end;
   
   procedure TEditorFrame.SetEnabledFolding(AValue: boolean);
  
positive.code:       ASelectThen: boolean);
      procedure EditorOnScroll(Sender: TObject);
      function GetAdapter(Ed: TATSynEdit): TATAdapterEControl;
      function GetCachedTreeview(Ed: TATSynEdit): TTreeView;
      function GetCommentString(Ed: TATSynEdit): string;
      function GetEnabledCodeTree(Ed: TATSynEdit): boolean;
  
negative.code:   FSaveHistory:= true;
    FEditorsLinked:= true;
    FCodetreeFilterHistory:= TStringList.Create;
    FCachedTreeview[0]:= nil;
    FCachedTreeview[1]:= nil;
  
    FBracketHilite:= EditorOps.OpBracketHilite;
  