Beispiel #1
0
 public TokenCompletionData(byte Token)
 {
     try
     {
         this.Token  = Token;
         Text        = DTokens.GetTokenString(Token);
         Description = ToolTipContentHelper.CreateToolTipContent(Text, DTokens.GetDescription(Token));
         Image       = DCodeCompletionSupport.GetNodeImage("keyword");
     }
     catch (Exception ex)
     {
         ErrorLogger.Log(ex);
     }
 }
Beispiel #2
0
        public PropertyAttributeCompletionData(string AttributeName)
        {
            this.Attribute = AttributeName;

            Image = DCodeCompletionSupport.GetNodeImage("keyword");
        }