Auto correct for typos

I know I was writing one day and marvelously I could put my cursor on the typo and get an automatic correct.

What happened? How do I get this feature back?