@hpcc-js/codemirror 2.49.0 → 2.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Palette, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/codemirror";
4
- var PKG_VERSION = "2.49.0";
5
- var BUILD_VERSION = "2.83.0";
4
+ var PKG_VERSION = "2.53.0";
5
+ var BUILD_VERSION = "2.94.0";
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -16102,12 +16102,13 @@ var Editor = /** @class */ (function (_super) {
16102
16102
  }
16103
16103
  return gutters;
16104
16104
  };
16105
- Editor.prototype.addGutterMarker = function (lineNumber, commentText, backgroundColor, fontFamily, fontSize, onmouseenter, onmouseleave) {
16105
+ Editor.prototype.addGutterMarker = function (lineNumber, commentText, backgroundColor, fontFamily, fontSize, onmouseenter, onmouseleave, onclick) {
16106
16106
  if (backgroundColor === void 0) { backgroundColor = null; }
16107
16107
  if (fontFamily === void 0) { fontFamily = null; }
16108
16108
  if (fontSize === void 0) { fontSize = null; }
16109
16109
  if (onmouseenter === void 0) { onmouseenter = function () { }; }
16110
16110
  if (onmouseleave === void 0) { onmouseleave = function () { }; }
16111
+ if (onclick === void 0) { onclick = function (event) { }; }
16111
16112
  var line = this._codemirror.getLineHandle(lineNumber);
16112
16113
  var marker = document.createElement("div");
16113
16114
  marker.textContent = commentText;
@@ -16125,6 +16126,7 @@ var Editor = /** @class */ (function (_super) {
16125
16126
  this._codemirror.setGutterMarker(line, "CodeMirror-guttermarker", marker);
16126
16127
  marker.onmouseenter = onmouseenter;
16127
16128
  marker.onmouseleave = onmouseleave;
16129
+ marker.onclick = onclick;
16128
16130
  };
16129
16131
  Editor.prototype.removeGutterMarker = function (lineNumber) {
16130
16132
  var line = this._codemirror.getLineHandle(lineNumber);