Intelligent autoclosing for parenthesis and braces.