Please consider an option on the Delimited Grammar Item: Match delimiters
This option would count the depth of the delimiters and only match on a matching end-delimiter.
For example:
function () { // 1
if ()
{ // 2
...
}
}
It just counts start-delimiters and does not match unless the count of end-delimiters is equal.
This option would count the depth of the delimiters and only match on a matching end-delimiter.
For example:
function () { // 1
if ()
{ // 2
...
}
}
It just counts start-delimiters and does not match unless the count of end-delimiters is equal.
Comment