[Bug] Snippet color

SyntaxEditor for WPF Forum

Posted 2 years ago by Mike
Version: 17.2.0664
Avatar

The highlight color for snippets is the same on Metro White and Metro Dark (which makes it unreadable on Metro Dark). You can quickly verify this using the sample browser.

Comments (1)

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mike,

Thanks for letting us know about that.  Our Dark.vssettings file (in the sample project) was missing entries for the two code snippet options.  We're making updates for the next build that will handle this.

In the meantime, you can get the two highlighting styles directly with and then change them yourself:

var style1 = AmbientHighlightingStyleRegistry.Instance[DisplayItemClassificationTypes.CodeSnippetField];
var style2 = AmbientHighlightingStyleRegistry.Instance[DisplayItemClassificationTypes.CodeSnippetDependentField];


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.