Double-clicking on a bracket in the text area selects all text between that bracket and the one matching it.