caret style auto change.