ILineTransformSource ILineTransformSourceProvider.Create(IWpfTextView view)
        {
            ResourceAdornmentManager manager =
                view.Properties.GetOrCreateSingletonProperty(
                    () => new ResourceAdornmentManager(view));

            return(new MyLineTransformSource(manager));
        }
Ejemplo n.º 2
0
 public MyLineTransformSource(ResourceAdornmentManager manager)
 {
     this.manager = manager;
 }