How to force redrawing of adornments

SyntaxEditor for WPF Forum

Posted 8 years ago by Tino Schnerwitzki
Version: 11.1.0545
Avatar
Hi,

I´m drawing some adornments by using a tagger to insert IIntraTextSpacerTags. It is neccessary to add these tags to the tagger in the TextAreaLayout event of the view. The problem is that tags added in this event are not drawn as adornments (it seems that the event is fired after the adornment cycle?). Is it possible to manually trigger the drawing of the adornments (the tags are present in the tagger, they just don´t get consumed)? A solution by just overriding the GetTags method of the tagger is not possible for our needs.

Thanks in advance.

Comments (1)

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

Yes that event fires after the layout is done. You can request the view be refreshed by calling SyntaxEditor.InvalidateViews().


Actipro Software Support

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.