@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.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.65.1";
9
- var BUILD_VERSION = "2.108.2";
8
+ var PKG_VERSION = "2.66.0";
9
+ var BUILD_VERSION = "2.108.5";
10
10
 
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -17780,6 +17780,16 @@
17780
17780
  this.highlight(start, end, "cm-marked-error");
17781
17781
  return this;
17782
17782
  };
17783
+ Editor.prototype.addLineClass = function (options) {
17784
+ var _a;
17785
+ this._codemirror.addLineClass(this._codemirror.getLineHandle(options.lineNum), (_a = options.where) !== null && _a !== void 0 ? _a : "background", options.cssClass);
17786
+ return this;
17787
+ };
17788
+ Editor.prototype.removeLineClass = function (options) {
17789
+ var _a;
17790
+ this._codemirror.removeLineClass(this._codemirror.getLineHandle(options.lineNum), (_a = options.where) !== null && _a !== void 0 ? _a : "background", options.cssClass);
17791
+ return this;
17792
+ };
17783
17793
  Editor.prototype.removeAllHighlight = function () {
17784
17794
  for (var _i = 0, _a = this._markedText; _i < _a.length; _i++) {
17785
17795
  var marked = _a[_i];