if (!braceMatcher.isLBraceToken(iterator, chars, fileType) &&
!braceMatcher.isRBraceToken(iterator, chars, fileType)
) {
return true;
}
<BUG>final char closingBrace = c == '(' ? ')' : ']';
int rparenOffset = BraceMatchingUtil.findRightmostRParen(iterator, braceMatcher.getTokenType(closingBrace, iterator),chars,fileType);
</BUG>
if (rparenOffset >= 0){
iterator = ((EditorEx)editor).getHighlighter().createIterator(rparenOffset);

if (!braceMatcher.isLBraceToken(iterator, chars, fileType) &&
!braceMatcher.isRBraceToken(iterator, chars, fileType)
) {
return true;
}
int rparenOffset = BraceMatchingUtil.findRightmostRParen(iterator, iterator.getTokenType() ,chars,fileType);
if (rparenOffset >= 0){
iterator = ((EditorEx)editor).getHighlighter().createIterator(rparenOffset);
