Scrolling to line to include display of intraline adornments associated with that line

SyntaxEditor for WPF Forum

Posted 2 years ago by Xinen Lee
Version: 17.2.0660
Avatar

Hi Actipro

Currently when we set the Caret's position, the editor automatically scrolls to make that line visible. However if there are intraline adornments below or above that line, the adornments may not be fully visible. 

This makes things very difficult for us when doing automated testing since it's hard for us to scroll such that we see the adornments fully. We are considering scrolling to view middle but that will alter the behavior drastically and is rather risky for us.

Is it possible to scroll until intraline adornments are fully visible? (Or give an option to do so)

Comments (2)

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

Hi Xinen,

We have rewritten the editor view logic that ensures a line is visible to account for intra-line adornments.  These code updates will be in build 661.


Actipro Software Support

Posted 2 years ago by Xinen Lee
Avatar

Thanks Actipro!!

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.