LMDEditView Prevent scroll past EOL?

How can I prevent scrolling when making a text selection or scrolling past the end of line with a text selection?

I'm not sure what's going on but the horizontal scrollbars for me are behaving kinda odd, the horizontal scrollbar just keeps growing and growing when dragging the mouse with a text selection.

I noticed MaxHorizScroll property which is 500 by default but even setting it lower it behaves strange.

Additionally, how could we calculate the optimal HorizScroll? I imagine we need to get the longest line in the document?
Tagged:
Sign In or Register to comment.