Posted 18 years ago
by Matthew Smith
-
Developer,
One Plus One Solutions Pty Limited
Version: 4.0.0247
Hi,
Creating a dynamic language and have a quick question. Have the following defined for multiline comments and it works fine. I just would like the casing of the Rem and End Rem tags to be auto corrected. Can anyone offer some assistance??I think I need to define it using the ExplicitPatternGroup scope but are not quite sure.
[Modified at 04/17/2007 06:55 AM]
Creating a dynamic language and have a quick question. Have the following defined for multiline comments and it works fine. I just would like the casing of the Rem and End Rem tags to be auto corrected. Can anyone offer some assistance??
<!-- MultiLine Comments -->
<State Key="MultiLineCommentState" TokenKey="MultiLineCommentDefaultToken" Style="CommentDefaultStyle">
<!-- Scopes -->
<Scopes>
<Scope>
<RegexPatternGroup Type="StartScope" TokenKey="MultiLineCommentStartToken" Style="CommentDelimiterStyle" PatternValue="Rem {WhitespaceMacro}* {LineTerminatorMacro}" />
<RegexPatternGroup Type="EndScope" TokenKey="MultiLineCommentEndToken" Style="CommentDelimiterStyle" PatternValue="End {WhitespaceMacro}* Rem" />
</Scope>
</Scopes>
<!-- Patterns Groups -->
<PatternGroups>
<RegexPatternGroup TokenKey="MultiLineCommentDefaultToken" PatternValue="{LineTerminatorMacro}" />
</PatternGroups>
</State>
[Modified at 04/17/2007 06:55 AM]
Regards, Matt