
Hello,
i work with the demo from SyntaxEditor.
It's a very nice Control.
I have only one Problem.
The Custom Language from my Company has as Comment-Sign "!".
But wo also use for instance " i != 100".
So the Color from != 100 are green, this shouldn't be.
How i can realize this?
The Comments Section in my Language XML looks so:
<State Key="CommentState" TokenKey="CommentDefaultToken" Style="CommentDefaultStyle">
<Scopes>
<Scope>
<RegexPatternGroup Type="StartScope" TokenKey="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="!" />
<RegexPatternGroup Type="EndScope" TokenKey="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="['\n]" />
</Scope>
</Scopes>
<PatternGroups>
<RegexPatternGroup TokenKey="CommentDefaultToken" PatternValue="!" />
</PatternGroups>
</State>
Greetings,
Christian Soellig
P.S. Sorry about by bad english.
i work with the demo from SyntaxEditor.
It's a very nice Control.
I have only one Problem.
The Custom Language from my Company has as Comment-Sign "!".
But wo also use for instance " i != 100".
So the Color from != 100 are green, this shouldn't be.
How i can realize this?
The Comments Section in my Language XML looks so:
<State Key="CommentState" TokenKey="CommentDefaultToken" Style="CommentDefaultStyle">
<Scopes>
<Scope>
<RegexPatternGroup Type="StartScope" TokenKey="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="!" />
<RegexPatternGroup Type="EndScope" TokenKey="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="['\n]" />
</Scope>
</Scopes>
<PatternGroups>
<RegexPatternGroup TokenKey="CommentDefaultToken" PatternValue="!" />
</PatternGroups>
</State>
Greetings,
Christian Soellig
P.S. Sorry about by bad english.