@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.js CHANGED
@@ -5,8 +5,8 @@
5
5
  }(this, (function (exports, common) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/codemirror";
8
- var PKG_VERSION = "2.49.0";
9
- var BUILD_VERSION = "2.83.0";
8
+ var PKG_VERSION = "2.53.0";
9
+ var BUILD_VERSION = "2.94.0";
10
10
 
11
11
  /*! *****************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -16106,12 +16106,13 @@
16106
16106
  }
16107
16107
  return gutters;
16108
16108
  };
16109
- Editor.prototype.addGutterMarker = function (lineNumber, commentText, backgroundColor, fontFamily, fontSize, onmouseenter, onmouseleave) {
16109
+ Editor.prototype.addGutterMarker = function (lineNumber, commentText, backgroundColor, fontFamily, fontSize, onmouseenter, onmouseleave, onclick) {
16110
16110
  if (backgroundColor === void 0) { backgroundColor = null; }
16111
16111
  if (fontFamily === void 0) { fontFamily = null; }
16112
16112
  if (fontSize === void 0) { fontSize = null; }
16113
16113
  if (onmouseenter === void 0) { onmouseenter = function () { }; }
16114
16114
  if (onmouseleave === void 0) { onmouseleave = function () { }; }
16115
+ if (onclick === void 0) { onclick = function (event) { }; }
16115
16116
  var line = this._codemirror.getLineHandle(lineNumber);
16116
16117
  var marker = document.createElement("div");
16117
16118
  marker.textContent = commentText;
@@ -16129,6 +16130,7 @@
16129
16130
  this._codemirror.setGutterMarker(line, "CodeMirror-guttermarker", marker);
16130
16131
  marker.onmouseenter = onmouseenter;
16131
16132
  marker.onmouseleave = onmouseleave;
16133
+ marker.onclick = onclick;
16132
16134
  };
16133
16135
  Editor.prototype.removeGutterMarker = function (lineNumber) {
16134
16136
  var line = this._codemirror.getLineHandle(lineNumber);