add caret styles (vertical, underline or block)