How to register multiple highlighting styles

SyntaxEditor for WPF Forum

Posted 6 years ago by IneedHelp
Version: 16.1.0633

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

Comments (1)

Answer - Posted 6 years ago by IneedHelp

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 (v22.1.3) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.