protected override string OnGetValue() { var style = base.OnGetValue(); if (SyntaxHighlightingService.ContainsStyle(style)) { return(style); } var defaultStyle = SyntaxHighlightingService.GetDefaultColorStyleName(); LoggingService.LogWarning("Highlighting Theme \"{0}\" not found, using default \"{1}\" instead", style, defaultStyle); Value = defaultStyle; return(SyntaxHighlightingService.GetDefaultColorStyleName()); }