Posted 19 years ago
by Eben Roux
Hello,
Using the supplied VBDotNet and CSharp language definition files I aim to add a template parsing ASP style code state; much like CodeSmith.
I added this CodeState as a child state to the default state and the StringState and CommentState. My problem is that when one is in the StringState it works fine if the CodeState start tag (<%) is directly after the quote or escaped quotes. As soon as I type any other character it goes tot eh StringDefaultToken2 pattern group token.
How can I convince the language to enter my CodeState instead.
Regards,
Eben
p.s. The SyntaxEditor is a really nifty tool and is helping me tremendously :)
Using the supplied VBDotNet and CSharp language definition files I aim to add a template parsing ASP style code state; much like CodeSmith.
I added this CodeState as a child state to the default state and the StringState and CommentState. My problem is that when one is in the StringState it works fine if the CodeState start tag (<%) is directly after the quote or escaped quotes. As soon as I type any other character it goes tot eh StringDefaultToken2 pattern group token.
How can I convince the language to enter my CodeState instead.
Regards,
Eben
p.s. The SyntaxEditor is a really nifty tool and is helping me tremendously :)