Fixed bug (repoted by allanmc) where editor was not updated correctly when deleting characters.