What happened to undo??

For years when I accidentally deleted code I could simply click the undo arrow and the code was put back. However, I have noticed within the past couple of months the undo arrow is no longer available (it is greyed out all the time). So, where is the undo function?

Just right-click in the code panel and you’ll find the Undo option.

Thanks!!!