Not certain what you mean by "history function."
If you make an editing mistake, click <ctrl-Z> to go back step-by-step. It's the same as EDIT | UNDO. The keys for EDIT | RESTORE are <ctrl-Y>.
SAVE PROJECT FILE AS regularly, giving it a unique # or name, so as to not overwrite a prior save. Then a project can easily be restored.
Using SAVE PROJECT (no "as") will overwrite the earlier copy.