docs: function replaceSelected(string, editor = null) {
    let workEditor = editor;
    if (isEmptyString(workEditor)) {
      workEditor = atom.workspace.getActiveTextEditor();
      if (isEmptyString(workEditor)) {
        return;
      }
    }
  
    workEditor.insertText(string, {
      "select": true,
      "autoIndent": false,
      "autoIndentNewline": false,
      "autoDecreaseIndent": false,
      "normalizeLineEndings": true, //trueの場合の挙動が不安定?
      "undo": null,
    });
  }