enable caret for principal line and for defined functions used