AvalonEdit
AvalonEdit copied to clipboard
ScrollToLine() and ScrollToEnd() not working when scrollbar visibility is Auto
When the scroll bar visibility is set to Auto, the commands to scroll to the end (ScrollToEnd, ScrollToLine(document.LineCount)) do not always work correctly. The reason is that the ScrollViewer internally first hides the scroll bars and then shows them again in order to find out if the scroll bars are needed.
More details at http://community.sharpdevelop.net/forums/p/21689/54612.aspx