When you type some characters, such as ",', [, the editor automatically inserts the corresponding closer character, so there is no open brackets or open quotes.
Would be good if, when the user had just typed an "autocompletable" character, a quote, for example, and the editor inserted another quote, if the user erases the typed quote, the editor erases the inserted quote too.