Fix highlighting after insertion in BCodeEdit