(e)
| 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 |
nothing calls this directly
no test coverage detected