We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5db51 commit 03a53ccCopy full SHA for 03a53cc
CodeEdit/Features/Editor/Models/Restoration/UndoManagerRegistration.swift
@@ -57,9 +57,6 @@ extension UndoManagerRegistration: CEWorkspaceFileManagerObserver {
57
/// - When we receive a file update, if the file is not open in any editors we clear the undo stack
58
func fileManagerUpdated(updatedItems: Set<CEWorkspaceFile>) {
59
for file in updatedItems where file.fileDocument == nil {
60
- if managerMap[file.url.absolutePath] != nil {
61
- print("Clearing undo stack for file \(file.fileName())")
62
- }
63
managerMap.removeValue(forKey: file.url.absolutePath)
64
}
65
0 commit comments