()
| 1312 | } |
| 1313 | |
| 1314 | function getEditorOptionsSignature() { |
| 1315 | const values = appSettings?.value || {}; |
| 1316 | const keys = new Set(["editorTheme"]); |
| 1317 | for (const spec of cmOptionSpecs) { |
| 1318 | spec.keys.forEach((key) => keys.add(key)); |
| 1319 | } |
| 1320 | |
| 1321 | return JSON.stringify([...keys].sort().map((key) => [key, values[key]])); |
| 1322 | } |
| 1323 | |
| 1324 | function getRawEditorState(state) { |
| 1325 | return state?.__rawState || state || null; |
no test coverage detected