 => {
        //   console.log(event);
        // });
        window.editor.model.onDidChangeContent(updateInlineErrorOnChangeContent);
        editor.getModel().updateOptions({ tabSize: 2, insertSpaces: true });

        if (initCode != null) {
          setCode(initCode);
        }

        // Testing
        if (false) {
          setCode(`1
2
3
4
5
6
7
        `)
          addError(3, "line 3 has some error\nfdsfsdjkf\n    four spaces in front\nfdjsklfs\ntabs");
          addError(5, "line 5 has some er