Search code examples
c#wpfsharpdevelopavalonedit

How to add a DocumentColorizingTransformer to AvalonEdit


I've implemented my own DocumentColorizingTransformer. But now, how do I add it to the AvalonEdit?


Solution

  • Add it to the textEditor.TextArea.TextView.LineTransformers collection.