Bookmarks And breakpoint Display priority

SyntaxEditor for WPF Forum

Posted 5 months ago by SPF - Appeon
Version: 22.1.1
Avatar

How to set the display priority when there are "Bookmarks" and "breakpoint" in the same location. I want "bookmark" to appear in the front.

Comments (5)

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

The ordering is done in the taggers themselves.  You can't really change our built-in taggers' orders externally though.  It looks Microsoft flipped the z-order of the breakpoint/bookmark indicators in VS 2022.  We will try and update our indicator rendering for the next build to do the same and will tweak the indicator appearance as well.


Actipro Software Support

Posted 5 months ago by SPF - Appeon
Avatar

I want to achieve this effect. Is there a temporary plan?

The display effect of "bookmark" behind "breakpoint" is not very good.

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

If you create your own BookmarkIndicatorTagger implementation in the meantime (using a different Key), you can set the Orderings in its constructor to be in front of TaggerKeys.Token and TaggerKeys.BreakpointIndicator.  That is the only workaround until the next maintenance release, since our built-in tagger's Orderings are set in internal code.


Actipro Software Support

Posted 3 months ago by SPF - Appeon
Avatar

Is this problem solved now?

Posted 3 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Yes the update was in v22.1.2.


Actipro Software Support

The latest build of this product (v22.1.3) was released 20 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.