public IGlyphFactory GetGlyphFactory(IWpfTextView view, IWpfTextViewMargin margin) { AccentGlyphFactory factory = new AccentGlyphFactory(); factory.View = view; factory.FormatMapService = FormatMapService; return factory; }