string GetColor(string id) { var color = SyntaxHighlightingService.GetColorFromScope(theme, id, EditorThemeColors.Foreground); return(color.ToPangoString()); }
static string GetThemeColor(EditorTheme theme, string scope) { return(SyntaxHighlightingService.GetColorFromScope(theme, scope, EditorThemeColors.Foreground).ToPangoString()); }