/// <summary> /// Numbers /// </summary> /// <param name="tok"></param> public void Visit(TokenNumber tok) { if (!IgnoreNumbers) { if (!KnownWords.Contains(tok.Value) && tok.EndPosition - tok.StartPosition >= MinWordLengthRequired) { KnownWords.Add(tok.Value); PushToAutoCompletion(new NumberCompletionItem(), tok); } } }
public void Visit(TokenNumber tok) { if (tok.Line < FromLine || tok.Line > ToLine) return; //Npp.StyleText((int)TextStyle.Default, tok.StartPosition, tok.EndPosition); }