MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / recordInactiveEdit

Function recordInactiveEdit

src/lib/editorFile.js:68–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 function recordInactiveEdit() {
69 if (file.markChanged === false) return;
70 file.markEdited();
71 file.scheduleCacheWrite();
72 editorManager.emit("file-content-changed", file);
73 editorManager.onupdate("file-changed");
74 editorManager.emit("update", "file-changed");
75 }
76
77 return new Proxy(state, {
78 get(target, prop) {

Callers 1

getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected