title: Mathematica editor: Removing the right matching ']' automatically when the left '[' is removed?
body: <p>In Mathematica editor (i.e. notebook), one of the hardest things I always found is when I want to edit some long expression, and go and remove the left end "[" of some expression then before I get the chance to remove the right "]", the code in the cell will get all messed up, since it is no longer balanced, making it really hard to go chase the, now hanging, right end "]" since it is no longer in its original place!</p>
  
  <p>Here is a simple example, suppose we have this</p>
  
  <pre><code>Text[Row[{PaddedForm[currentTime, {6, 3}, NumberSigns -&gt; {"", ""}, NumberPadding -&gt; {"0", "0"}]}]]
  </code></pre>
  
  <p>now say I wanted to remove the outside Text[] call. So I delete "Text[" and before I get a chance to delete the other side "]", the notebook will now juggle things all over the place, making it hard to find the right "]".  For long cell (which is the case for demonestrations work), the code can shift by large amount, and the right "]" can go out of view as well, has to scroll down and up looking for it.</p>
  
  <p>Is there a way to set it, via an option or such, so that when I delete the left "[", Mathematica will automatically delete the matching right "]"?   This applies for "(" and ")" as well.</p>
  
  <p>This is really a big problem with the use of the notebook editor for me. Can't tell you how much time I spend just looking the hanging "]".</p>
  
  <p>thanks
  --Nasser</p>