Currently the TextAlignment originates from the internal class ICSharpCode.AvalonEdit.Rendering.VisualLineTextParagraphProperties, where the property getter is hardcoded to return TextAlignment.Left.
Would it be possible to make TextAlignment a settable property? I'm not an expert on C# but it seems to me the simplest approach would be to make it a static property, since VisualLineTextParagraphProperties appears to be instantiated often.
Thank you!