anchor.diff:      end;
   
       SLexerName:= LexerNameAtPos(Point(Caret.PosX, Caret.PosY));
  -    if SLexerName='' then SLexerName:= '-';
   
       //autoshow for HTML
       if UiOps.AutocompleteHtml and (Pos('HTML', SLexerName)>0) then
  
positive.code: 
      //other conditions need word-char
      bWordChar:= IsCharWord(AText[1], '');
      bIdentChar:= bWordChar and (Pos(AText[1], '0123456789')=0);
      if not bWordChar then
      begin
        FTextCharsTyped:= 0;
  
negative.code:     end;
  
      //autoshow for others, when typed N chars
      if (UiOps.AutocompleteAutoshowCharCount>0) then
      begin
        //ignore if number typed
        bIdentChar:= bWordChar and not IsCharDigit(AText[1]);
        if (FTextCharsTyped=0) and (not bIdentChar) then exit;
  
        Inc(FTextCharsTyped);
        if FTextCharsTyped=UiOps.AutocompleteAutoshowCharCount then
        begin
          FTextCharsTyped:= 0;
          Ed.DoCommand(cmd_AutoComplete);
          exit;
        end;
      end
      else
        FTextCharsTyped:= 0;
  