I havn't come acros one... But it's gold to have an editor which can show you what opening and closing brackets match aswell as make auto indentation, like
GNU Emacs then it realy makes things easy to figure out if you've lost a opening or closing bracket somewhere in your code.
These types of errors are usualy hard to find, because they first show them selves a few or even hundred lines further down into the code as where they appear.