Prevent scrolling past end document on scrolling

SyntaxEditor for WPF Forum

Posted 8 years ago by Erwin Liong
Version: 16.1.0632

Hi Actipro,


I want the ability to be able to scroll past end document when I scroll with my mouse wheel. I am able to achieve this with CanScrollPastEndDocument property.

However, I would not want the scrolling to happen when I am dragging past the end document.


Steps to reproduce:

  1. Open SDI Code Editor (Inline) sample.
  2. Turn on View | Can Scroll Past Document End.
  3. Pin the Error List Panel at the bottom.
  4. On the editor, Select the word "public" at line 100.
  5. Drag the selected word down towards Error List Panel.
  6. Observe that the document scolls upwards until the last line is at the top of the editor.
  7. Expectation (Visual Studio behavior) is to allow scrolling past end document but not dragging past end document.

Is there an easy way to achieve this?


Thank you in advance.



Erwin Liong

Comments (1)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Erwin,

Thanks for suggesting this.  We'll update the internal scroll functionality for the next maintenance release.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.