AvalonEdit - Allowing user to scroll past end of the document

72 Views Asked by At

I'm using https://github.com/icsharpcode/AvalonEdit library in my WPF project. I ran into a problem, tho - users cannot scroll past the last line, so it's often hard to edit. I want it to work like in Visual Studio Code: This function in VSC

Could anyone at least point me to a solution?

I really don't have idea how to do this. I tried to use built-in methods, changing heights, I was searching everywhere...

1

There are 1 best solutions below

0
Daniel On BEST ANSWER

You can enable this option:

textEditor.Options.AllowScrollBelowDocument = true;