@hpcc-js/codemirror 2.65.1 → 2.66.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.65.1";
5
- var BUILD_VERSION = "2.108.2";
4
+ var PKG_VERSION = "2.66.0";
5
+ var BUILD_VERSION = "2.108.5";
6
6
 
7
7
  /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -17776,6 +17776,16 @@ var Editor = /** @class */ (function (_super) {
17776
17776
  this.highlight(start, end, "cm-marked-error");
17777
17777
  return this;
17778
17778
  };
17779
+ Editor.prototype.addLineClass = function (options) {
17780
+ var _a;
17781
+ this._codemirror.addLineClass(this._codemirror.getLineHandle(options.lineNum), (_a = options.where) !== null && _a !== void 0 ? _a : "background", options.cssClass);
17782
+ return this;
17783
+ };
17784
+ Editor.prototype.removeLineClass = function (options) {
17785
+ var _a;
17786
+ this._codemirror.removeLineClass(this._codemirror.getLineHandle(options.lineNum), (_a = options.where) !== null && _a !== void 0 ? _a : "background", options.cssClass);
17787
+ return this;
17788
+ };
17779
17789
  Editor.prototype.removeAllHighlight = function () {
17780
17790
  for (var _i = 0, _a = this._markedText; _i < _a.length; _i++) {
17781
17791
  var marked = _a[_i];