Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

AvalonEdit Scroll To End

$
0
0

I am attempting to implement "scroll to end" functionality on an AvalonEdit text editor in my appication. I have been trying to use the textEditor.ScrollToEnd() function, however, on large files when I have WordWrap turned on, AvalonEdit only scrolls part way down the file.  Subsequent calls to ScrollToEnd() will eventually get me there, but I cannot find a way to move to the end of the file with one command.  I have also tried textEditor.ScrollToLine(textEditor.LineCount) and have experienced the same behavior.

Is there a way to easily scroll to the end of a large word wrapped file in AvalonEdit?


Viewing all articles
Browse latest Browse all 1764

Trending Articles