I used the Grammar Designer / Semantic Parser Generator to design a semantic parser for my language. When there is a semantical error in a document, we want to underline the error. To do this, we change the style of the token that is identified to be the the issue. We do this in the semantic parser by using the following code:
The problem we have encountered is that any token that utilizes the highlighting Style assigned to that token ALSO gets modified. As you know, these styles are defined and assigned in the Dynamic Language XML Definition.
Is there a solution for this? This can become a real issue for cases such as specific delimiters, etc.
Thanks in advance.
this.Token.HighlightingStyle.UnderlineStyle = HighlightingStyleLineStyle.Wave;
this.Token.HighlightingStyle.UnderlineColor = System.Drawing.Color.Blue;
Is there a solution for this? This can become a real issue for cases such as specific delimiters, etc.
Thanks in advance.