The pattern for double-bracketed parameters is within the context of an insert rule with parameters, so double-brackets don't get highlighted in other situations. I tested this out with the insert rules with double-bracketed parameters used in SUSHI's FSHImporter tests. The lookbehind on the double-bracket begin rules is needed to highlight correctly when double-brackets follow an escaped ( or , character:
* insert SomeRules(123\, [[oh no]])
In this rule, the double-brackets do not indicate a double-bracketed parameter. There is one parameter with value 123, [[oh no]].
Completes task CIMPL-1098.
The pattern for double-bracketed parameters is within the context of an
insert
rule with parameters, so double-brackets don't get highlighted in other situations. I tested this out with the insert rules with double-bracketed parameters used in SUSHI'sFSHImporter
tests. The lookbehind on the double-bracketbegin
rules is needed to highlight correctly when double-brackets follow an escaped(
or,
character:In this rule, the double-brackets do not indicate a double-bracketed parameter. There is one parameter with value
123, [[oh no]]
.