set status or caret