예제 #1
0
 /// <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);
         }
     }
 }
예제 #2
0
 public void Visit(TokenNumber tok)
 {
     if (tok.Line < FromLine || tok.Line > ToLine) return;
     //Npp.StyleText((int)TextStyle.Default, tok.StartPosition, tok.EndPosition);
 }