Code Lens Intra-Line covers outlining margin

SyntaxEditor for WPF Forum

Posted 3 months ago by Stefano T
Version: 22.1.4
Platform: .NET 6.0
Environment: Windows 10 (64-bit)


I'm implementing Code Lens features in my IDE but I've noticed a behavior that I was able to replicate with the Sample Browser.
The Intra-Line space reserved for Code Lens breaks the line of the outlining margin.

In the example "Adornments 9 - Intra-Line Code Lens" if you paste in this code:

using System;

namespace Actipro.AdornmentsIntraLineCodeLens {
	public class FirstClass {}

The outlining line of the namespace is broken/missing where the Code Lens will appear.

I've tried with Sample Browser v22.1.2 and this does not happen and the line is continuous.
In >= v22.1.4 (also with the latest v24) it breaks, so it looks to be a regression.

Is there any workaround in the meantime besides downgrading the version?

Thanks in advance!

Comments (2)

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


Thank you for reporting this.  It appears to be a bug in the outlining margin rendering logic that was introduced in v22.1.3.  We found the problem and have fixed it for the next maintenance release, which will be v24.1.2.

Unfortunately there is no workaround you can implement on v24.1.1 at this time until the updated logic is published.

Actipro Software Support

Posted 3 months ago by Stefano T

Thanks, looking forward to v24.1.2 then.

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.