Trivial bug fix. The `nextCh` here was assuming cm.getLine() would return line break, which in fact, was a false assumption. The previous code works simply because the auto indentation inserts white spaces at the head of a new line. Without those white spaces, 
the seeking process would be blocked by a single empty line between a matched-bracket pair.