c9 / core

Cloud9 Core - Part of the Cloud9 SDK for Plugin Development https://c9.github.io/core/ https://c9.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to disable persistent undo

georgir opened this issue · comments

Currently it seems that the undo history for each file is remembered even after you close and reopen the file.

While this might be viewed as a nice feature by some, I prefer to know that undo will only go back to how I opened the file, not any earlier states from previous editing sessions. I even consider it confusing and potentially dangerous to go to earlier versions.

Is there an option to discard undo/redo information once everyone (if collaborative editing is enabled) has closed it? If not, can it be added?

Note: This has to distinguish closing the file from closing the whole browser tab - in the latter case, undo history should still be kept and used when the editing session is restored later.