How to register multiple highlighting styles

SyntaxEditor for WPF Forum

Posted 9 years ago by IneedHelp
Version: 16.1.0633
Avatar

Considering the SyntaxEditorSamples\QuickStart\ClassificationLayered example, is there a way to register multiple highlighting styles?

Comments (1)

Answer - Posted 9 years ago by IneedHelp
Avatar

Solved by creating a dictionarry containing classification types as keys and lists of strings as keywords ( public static readonly Dictionary<ClassificationType, List<string>> KeyWordsD = new Dictionary<ClassificationType, List<string>>(); ) and feeding it to the GetTags method loop.

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