Bookmark indicators show/hide unexpectedly with collapsed text

SyntaxEditor for WPF Forum

Posted 8 years ago by Xinen Lee
Version: 16.1.0634
Avatar

Hi Actipro,

We have a 2 scenarios where the indicator margin's indicator show/hide unexpectedly when text is collapsed. This can be reproduced in the sample browser by enabling outlining (use the JavascriptSyntaxLanguage defined in the outlining sample) in the Indicator Bookmark sample.

Scenario 1: Bookmark on first line of outlining region disappears on collapse

/*
comments
*/  

1. Line 1 has no characters before the "/*"

2. Place a bookmark in line 1

3. Collapse text - we expect bookmark to be still displayed in line 1 but it is hidden

note: as long as there are characters before the "/*" in line 1, the bookmark will still be displayed upon collapse as expected.

 

Scenario 2: Bookmark on last line of outining region is still displayed on collapse

/*
comments
*/abc

1. There is some text after the "*/" in line 3

2. Place a bookmark in line 3 (and make sure no bookmark in line 1)

3. Collapse text - we expect bookmark from line 3 to be hidden since line 3 is hidden, but there is a bookmark displayed in line 1

note: if there are no characters after the "/*" in line 3, the bookmark will be hidden upon collapse as expected.

Comments (2)

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

Hi Xinen,

Thanks for reporting this.  We will update the logic for the next build.


Actipro Software Support

Posted 8 years ago by Xinen Lee
Avatar

thanks!

The latest build of this product (v24.1.3) 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.