Update caret/invisibles/selection