public void TextViewCreated(IWpfTextView textView) { IClassificationType classification = ClassificationRegistry.GetClassificationType(Constants.COLUMN_HIGHLIGHT); IClassificationFormatMap map = //FormatMapService.GetClassificationFormatMap(FontsAndColorsCategories.TextEditorCategory); FormatMapService.GetClassificationFormatMap(textView); textView.Properties.GetOrCreateSingletonProperty( () => { return(new CurrentColumnAdornment(textView, map, classification, Settings)); }); }
public IClassificationFormatMap GetFormatMap(ITextView textView) { return(FormatMapService.GetClassificationFormatMap(textView)); }