Decorator added to the left or right of the text

SyntaxEditor for WPF Forum

Posted 3 years ago by Sunshine - Appeon
Version: 21.1.2

I want to make a function similar to color display. The decorator in the sample project is marked with IIntraLineSpacerTag. I found that it seems to be only top or bottom the text, what should I do if I want it to set a color display on the left or right side of the text.

Comments (1)

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


You would want to use intra-text adornments, which are adornments left/right of text characters, instead of intra-line adornments.  The AdornmentsIntraTextNotes QuickStart shows an example of those.

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.