2
$\begingroup$

Outputs are often lengthy and contain many nested brackets. Is there a way to identify the matching open bracket if I select a closing bracket in an output expression? (Mathematica 7)

$\endgroup$
3
  • $\begingroup$ Later versions of Mathematica highlight matching bracket pairs. Some previous versions had "Check Balance" in right click menu for square brackets. $\endgroup$
    – Feyre
    Commented Dec 22, 2016 at 19:40
  • 3
    $\begingroup$ Ctrl+. will expand selection so in your case up to the matching bracket. $\endgroup$
    – Kuba
    Commented Dec 22, 2016 at 20:26
  • $\begingroup$ That works! Thank you $\endgroup$
    – Zardos
    Commented Dec 23, 2016 at 8:39

1 Answer 1

2
$\begingroup$

Some other possibilities:

  1. Triple click
  2. Use Check Balance from the edit menu (Shift Command B on a Mac).

Option 2 is useful when you are editing InputForm, e.g.:

ListPlot[Range[5]] //InputForm

where both triple click and Ctrl-. don't work.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.