(uuid: string)
| 360 | return editorsRef.current.findIndex((e) => e.script.uuid === uuid); |
| 361 | }; |
| 362 | const editorFindItem = (uuid: string) => { |
| 363 | return editorsRef.current.find((e) => e.script.uuid === uuid); |
| 364 | }; |
| 365 | const delayedEditorFocus = (editor: editor.ICodeEditor | null | undefined, delayMs: number = 100) => { |
| 366 | editor = !editor ? editorsRef.current.find((e) => e.active && e.script.uuid === selectedScript)?.editor : editor; |
| 367 | if (editor) { |
no outgoing calls
no test coverage detected