Caret styles should be an enum instead of int constants
Caret styles should be an enum instead of int constants