anchor.diff:    FileHtml, FileCss, FileAcp: string;
     Caret: TATCaretItem;
   begin
  -  Ed:= F.Editor;
  +  Ed:= Frame.Editor;
   
     CompletionOps.CommitChars:= UiOps.AutocompleteCommitChars; //before DoPyEvent
     CompletionOps.CloseChars:= UiOps.AutocompleteCloseChars; //before DoPyEvent
     if DoPyEvent(Ed, cEventOnComplete, []).Val = evrTrue then exit;
   
     //py event may handle auto-completion without lexer
  -  if F.Lexer[Ed]=nil then exit;
  +  if Frame.Lexer[Ed]=nil then exit;
   
     Caret:= Ed.Carets[0];
  -  LexName:= F.LexerNameAtPos(Ed, Point(Caret.PosX, Caret.PosY));
  +  LexName:= Frame.LexerNameAtPos(Ed, Point(Caret.PosX, Caret.PosY));
     if LexName='' then exit;
   
     IsHtml:= UiOps.AutocompleteHtml and SRegexMatchesString(LexName, UiOps.AutocompleteHtml_Lexers, false);
  
positive.code:     function DoBottom_CaptionToTabIndex(const ACaption: string): integer;
      function DoBottom_RemoveTab(const ACaption: string): boolean;
      function DoBottom_TranslatedCaption(const ACaption: string): string;
      procedure DoAutoComplete(F: TEditorFrame);
      procedure DoPyCommand_Cudaxlib(Ed: TATSynEdit; const AMethod: string);
      procedure DoDialogCharMap;
      procedure DoFindActionFromString(const AStr: string);
  
negative.code: end;
  
  
  procedure TfmMain.DoAutoComplete(Frame: TEditorFrame);
  var
    Ed: TATSynEdit;
    LexName: string;
  