How to force redrawing of adornments

SyntaxEditor for WPF Forum

Posted 12 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 12 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 (v24.1.2) was released 0 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.