I added LineTransformerClass, which is derived from DocumentColorizingTransformer in TextEditor:
TxtEditCodeViewer.TextArea.TextView.LineTransformers.Add(new ColorizeAvalonEdit());
Is there any programmatic way to call invalidation in Linetransformer?
I readily suggested that since it is added to the text view, the following should work:
TxtEditCodeViewer.TextArea.TextView.InvalidateVisual();
TxtEditCodeViewer.TextArea.TextView.InvalidateArrange();
TxtEditCodeViewer.TextArea.TextView.InvalidateMeasure();
But they do not. Just in case, I also tried the following:
source
share