Before: selection type is Caret
After: selection type is Caret
