public void SetColorize(ColorizeProps colorizeOffset)
        {
            TextArea.TextView.LineTransformers.Remove(OffsetColorizer);

            OffsetColorizer = new OffsetColorizer(colorizeOffset);
            TextArea.TextView.LineTransformers.Add(OffsetColorizer);

            if (colorizeOffset.End > 0)
            {
                CaretOffset = colorizeOffset.Start;
                ScrollToVerticalOffset(CaretOffset);
            }

            UpdateLayout();
            TextArea.UpdateLayout();
        }
 public BindableAvalonEditor() : base()
 {
     OffsetColorizer = new OffsetColorizer(new ColorizeProps());
     TextArea.TextView.LineTransformers.Add(OffsetColorizer);
 }