标签: c# wpf sharpdevelop avalonedit
我已经实现了自己的DocumentColorizingTransformer。但是现在,我该如何将它添加到AvalonEdit?
答案 0 :(得分:9)
将其添加到textEditor.TextArea.TextView.LineTransformers集合。
textEditor.TextArea.TextView.LineTransformers