Decorator added to the left or right of the text

SyntaxEditor for WPF Forum

Posted 1 year 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 1 year 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 (v22.1.4) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.