Errors controlled on backspace and delete.
Each time user advances in writting pattern, if a token is found, the position of the caret will advance by 1 position