Reputation: 43
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...
Upvotes: 0
Views: 107
Reputation: 16439
You can enable this option:
textEditor.Options.AllowScrollBelowDocument = true;
Upvotes: 0