diff --git a/EGOTextView/EGOTextView.m b/EGOTextView/EGOTextView.m index cb5b4ef..38757a0 100644 --- a/EGOTextView/EGOTextView.m +++ b/EGOTextView/EGOTextView.m @@ -1444,6 +1444,7 @@ - (void)deleteBackward { [_mutableAttributedString beginEditing]; [_mutableAttributedString deleteCharactersInRange:self.correctionRange]; [_mutableAttributedString endEditing]; + selectedNSRange.location = self.correctionRange.location; self.correctionRange = NSMakeRange(NSNotFound, 0); selectedNSRange.length = 0;