private static Run makeRun2(string str, System.Drawing.Color color) { Run r1 = new Run(str); r1.FontWeight = FontWeights.Bold; r1.Foreground = new SolidColorBrush(AsmDudeToolsStatic.convertColor(color)); return(r1); }
public HighlightWordFormatDefinition() { this.BackgroundColor = AsmDudeToolsStatic.convertColor(Settings.Default.KeywordHighlightColor); this.DisplayName = "AsmDude - Highlight Word"; this.ZOrder = 5; }