Adornments disappear when wrapping

SyntaxEditor for WPF Forum

Posted 12 years ago by Rick Fleuren
Version: 11.1.0542
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar
We are using a SyntaxEditor where we have WordWrapMode set to word.

When we set an intra-text adornment at the start of the line and the width of the Tag is bigger than the actual width, the SyntaxEditor will not render the tag anymore.

You can reproduce this with the AdornmentsIntraTextNotes demo and set the width of the Size of the IntraTextNote to a high value, and place one at the start of your document.

How can we overcome this problem?

Thanks,

Rick, Everest bv

Comments (3)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Rick,

Thanks for posting. I'm trying to repro this but am not seeing it happen. It looks like you're not on the latest code. Have you tried the latest maintenance release to see if it still happens there?


Actipro Software Support

Posted 12 years ago by Rick Fleuren
Avatar
Just installed the latest version but it does not solve the problem.

Make sure you have word wrap on, remove all the text, place the large adornment on the first character of the first line, and make sure that its width exceeds the actual width of the editor, and it will disappear.

Please note that we have not experienced any problems when the large adornment is place on a second line.
Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Rick,

Thanks I see it now and made an adjustment for the next version that should fix it.


Actipro Software Support

The latest build of this product (v24.1.1) 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.