public VariableFormat() { this.DisplayName = "This is a $variable$"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STVariable); }
public TemplateCallFormat() { this.DisplayName = "This is a $template_call()$"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STTemplateCall); }
public TemplateOpen2Format() { this.DisplayName = "This is the <%"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STTemplateOpen2); this.BackgroundColor = Colors.Lime; }
public TemplateFunctionFormat() { this.DisplayName = "This is the header of a template"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STTemplateFunction); }
public KeywordFormat() { this.DisplayName = "This is a keyword"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STKeyword); }
public PlainFormat() { this.DisplayName = "This is plain text, not template code"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STPlain); }
public CommentFormat() { this.DisplayName = "This is a comment"; //human readable version of the name this.ForegroundColor = StringTemplateColors.GetTokenColor(StringTemplateTokens.StringTemplateTokenHelper.STComment); }