/// <summary> /// Gets the PDX script definition. /// </summary> /// <returns>IHighlightingDefinition.</returns> /// <exception cref="NotImplementedException"></exception> public IHighlightingDefinition GetPDXScriptDefinition() { if (pdxScriptHighlightingDefinition == null) { var resourcePath = themeManager.IsLightTheme(themeService.GetSelected().Type) ? Constants.Resources.PDXScriptLight : Constants.Resources.PDXScriptDark; pdxScriptHighlightingDefinition = GetHighlightingDefinition(resourcePath); } return(pdxScriptHighlightingDefinition); }