The "Match Brace" command from the search menu will be irritated
by this code (although it is parsed as intended). Appending
" // }" to the closing brace in the last line will fix this
because the Match Brace command doesn't ignore braces inside
comments.
A slightly more transparent solution (in more complex situations)
is to postfix every non-matching "{" with " // }" or "/* } */ and
prefix such "}" with "/* { */".
Sputnik
Post a reply to this message
|