implement pair and quote aware backspace/delete