@hpcc-js/codemirror 3.3.8 → 3.4.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
@@ -11883,6 +11883,12 @@ class Editor extends HTMLWidget {
11883
11883
  highlightError(start, end) {
11884
11884
  return this.highlight(start, end, "cm-marked-error"), this;
11885
11885
  }
11886
+ addLineClass(options) {
11887
+ return this._codemirror.addLineClass(this._codemirror.getLineHandle(options.lineNum), options.where ?? "background", options.cssClass), this;
11888
+ }
11889
+ removeLineClass(options) {
11890
+ return this._codemirror.removeLineClass(this._codemirror.getLineHandle(options.lineNum), options.where ?? "background", options.cssClass), this;
11891
+ }
11886
11892
  removeAllHighlight() {
11887
11893
  for (const marked of this._markedText)
11888
11894
  marked.clear();