change behavior when caret is on a bracket.