
Hello,
I'm using a dynamic langauge (combination of two languages with a start and end delimiters). I had a problem in my application so I did a try in the TestApplication and found the same problem.
I'm using the Python langauge defintion, as a sub language in the dynamic langauge combination. There is a problem with single-line-comments syntax highlighting.
To see the problem change the following function in the test application:Replcae the string "CSharp" with "Python" in the second line, and write a comment. Example: <%# this is a python comment %>
The end delimiter will not be found by the syntax highlighter.
Thanks,
Ori
I'm using a dynamic langauge (combination of two languages with a start and end delimiters). I had a problem in my application so I did a try in the TestApplication and found the same problem.
I'm using the Python langauge defintion, as a sub language in the dynamic langauge combination. There is a problem with single-line-comments syntax highlighting.
To see the problem change the following function in the test application:
private void CreateDirectiveXmlToCSharpLanguage() {
// Load the two languages
language = DynamicSyntaxLanguage.LoadFromXml(Program.DynamicLexersPath + "ActiproSoftware.XML.xml", 0);
DynamicSyntaxLanguage cSharpLanguage = DynamicSyntaxLanguage.LoadFromXml(Program.DynamicLexersPath + "ActiproSoftware.CSharp.xml", 0);
The end delimiter will not be found by the syntax highlighter.
Thanks,
Ori