MCPcopy
hub / github.com/jgraph/drawio-desktop / toggleSpellCheck

Function toggleSpellCheck

src/main/electron.js:1271–1280  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1269 });
1270
1271 function toggleSpellCheck(e)
1272 {
1273 if (e != null && !validateSender(e.senderFrame)) return null;
1274
1275 if (store != null)
1276 {
1277 enableSpellCheck = !enableSpellCheck;
1278 store.set('enableSpellCheck', enableSpellCheck);
1279 }
1280 };
1281
1282 ipcMain.on('toggleSpellCheck', toggleSpellCheck);
1283

Callers

nothing calls this directly

Calls 1

validateSenderFunction · 0.85

Tested by

no test coverage detected