@hpcc-js/codemirror 2.58.0 → 2.59.1
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 +230 -210
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +233 -213
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +7 -23
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@hpcc-js/common')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@hpcc-js/common'], factory) :
|
|
4
|
-
(global = global || self, factory(global[
|
|
5
|
-
}(this, (function (exports, common) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@hpcc-js/codemirror"] = {}, global["@hpcc-js/common"]));
|
|
5
|
+
})(this, (function (exports, common) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var PKG_NAME = "@hpcc-js/codemirror";
|
|
8
|
-
var PKG_VERSION = "2.
|
|
9
|
-
var BUILD_VERSION = "2.
|
|
8
|
+
var PKG_VERSION = "2.59.1";
|
|
9
|
+
var BUILD_VERSION = "2.102.4";
|
|
10
10
|
|
|
11
11
|
/*! *****************************************************************************
|
|
12
12
|
Copyright (c) Microsoft Corporation.
|
|
@@ -52,21 +52,11 @@
|
|
|
52
52
|
|
|
53
53
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
return module = {
|
|
57
|
-
path: basedir,
|
|
58
|
-
exports: {},
|
|
59
|
-
require: function (path, base) {
|
|
60
|
-
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
|
|
61
|
-
}
|
|
62
|
-
}, fn(module, module.exports), module.exports;
|
|
63
|
-
}
|
|
55
|
+
var css = {exports: {}};
|
|
64
56
|
|
|
65
|
-
|
|
66
|
-
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
67
|
-
}
|
|
57
|
+
var codemirror = {exports: {}};
|
|
68
58
|
|
|
69
|
-
|
|
59
|
+
(function (module, exports) {
|
|
70
60
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
71
61
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
72
62
|
|
|
@@ -77,7 +67,7 @@
|
|
|
77
67
|
// at http://marijnhaverbeke.nl/blog/#cm-internals .
|
|
78
68
|
|
|
79
69
|
(function (global, factory) {
|
|
80
|
-
|
|
70
|
+
module.exports = factory() ;
|
|
81
71
|
}(commonjsGlobal, (function () {
|
|
82
72
|
// Kludges for bugs and behavior differences that can't be feature
|
|
83
73
|
// detected are enabled based on userAgent etc sniffing.
|
|
@@ -2651,9 +2641,11 @@
|
|
|
2651
2641
|
}
|
|
2652
2642
|
|
|
2653
2643
|
function widgetTopHeight(lineObj) {
|
|
2644
|
+
var ref = visualLine(lineObj);
|
|
2645
|
+
var widgets = ref.widgets;
|
|
2654
2646
|
var height = 0;
|
|
2655
|
-
if (
|
|
2656
|
-
{ height += widgetHeight(
|
|
2647
|
+
if (widgets) { for (var i = 0; i < widgets.length; ++i) { if (widgets[i].above)
|
|
2648
|
+
{ height += widgetHeight(widgets[i]); } } }
|
|
2657
2649
|
return height
|
|
2658
2650
|
}
|
|
2659
2651
|
|
|
@@ -5853,7 +5845,7 @@
|
|
|
5853
5845
|
};
|
|
5854
5846
|
|
|
5855
5847
|
LineWidget.prototype.changed = function () {
|
|
5856
|
-
var this$1 = this;
|
|
5848
|
+
var this$1$1 = this;
|
|
5857
5849
|
|
|
5858
5850
|
var oldH = this.height, cm = this.doc.cm, line = this.line;
|
|
5859
5851
|
this.height = null;
|
|
@@ -5864,7 +5856,7 @@
|
|
|
5864
5856
|
runInOp(cm, function () {
|
|
5865
5857
|
cm.curOp.forceUpdate = true;
|
|
5866
5858
|
adjustScrollWhenAboveVisible(cm, line, diff);
|
|
5867
|
-
signalLater(cm, "lineWidgetChanged", cm, this$1, lineNo(line));
|
|
5859
|
+
signalLater(cm, "lineWidgetChanged", cm, this$1$1, lineNo(line));
|
|
5868
5860
|
});
|
|
5869
5861
|
}
|
|
5870
5862
|
};
|
|
@@ -5989,7 +5981,7 @@
|
|
|
5989
5981
|
// Signals that the marker's widget changed, and surrounding layout
|
|
5990
5982
|
// should be recomputed.
|
|
5991
5983
|
TextMarker.prototype.changed = function () {
|
|
5992
|
-
var this$1 = this;
|
|
5984
|
+
var this$1$1 = this;
|
|
5993
5985
|
|
|
5994
5986
|
var pos = this.find(-1, true), widget = this, cm = this.doc.cm;
|
|
5995
5987
|
if (!pos || !cm) { return }
|
|
@@ -6008,7 +6000,7 @@
|
|
|
6008
6000
|
if (dHeight)
|
|
6009
6001
|
{ updateLineHeight(line, line.height + dHeight); }
|
|
6010
6002
|
}
|
|
6011
|
-
signalLater(cm, "markerChanged", cm, this$1);
|
|
6003
|
+
signalLater(cm, "markerChanged", cm, this$1$1);
|
|
6012
6004
|
});
|
|
6013
6005
|
};
|
|
6014
6006
|
|
|
@@ -6353,10 +6345,10 @@
|
|
|
6353
6345
|
return {undo: done, redo: undone}
|
|
6354
6346
|
},
|
|
6355
6347
|
clearHistory: function() {
|
|
6356
|
-
var this$1 = this;
|
|
6348
|
+
var this$1$1 = this;
|
|
6357
6349
|
|
|
6358
6350
|
this.history = new History(this.history);
|
|
6359
|
-
linkedDocs(this, function (doc) { return doc.history = this$1.history; }, true);
|
|
6351
|
+
linkedDocs(this, function (doc) { return doc.history = this$1$1.history; }, true);
|
|
6360
6352
|
},
|
|
6361
6353
|
|
|
6362
6354
|
markClean: function() {
|
|
@@ -6391,11 +6383,11 @@
|
|
|
6391
6383
|
}),
|
|
6392
6384
|
|
|
6393
6385
|
clearGutter: docMethodOp(function(gutterID) {
|
|
6394
|
-
var this$1 = this;
|
|
6386
|
+
var this$1$1 = this;
|
|
6395
6387
|
|
|
6396
6388
|
this.iter(function (line) {
|
|
6397
6389
|
if (line.gutterMarkers && line.gutterMarkers[gutterID]) {
|
|
6398
|
-
changeLine(this$1, line, "gutter", function () {
|
|
6390
|
+
changeLine(this$1$1, line, "gutter", function () {
|
|
6399
6391
|
line.gutterMarkers[gutterID] = null;
|
|
6400
6392
|
if (isEmpty(line.gutterMarkers)) { line.gutterMarkers = null; }
|
|
6401
6393
|
return true
|
|
@@ -7947,7 +7939,7 @@
|
|
|
7947
7939
|
// that user code is usually dealing with.
|
|
7948
7940
|
|
|
7949
7941
|
function CodeMirror(place, options) {
|
|
7950
|
-
var this$1 = this;
|
|
7942
|
+
var this$1$1 = this;
|
|
7951
7943
|
|
|
7952
7944
|
if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }
|
|
7953
7945
|
|
|
@@ -7988,7 +7980,7 @@
|
|
|
7988
7980
|
|
|
7989
7981
|
// Override magic textarea content restore that IE sometimes does
|
|
7990
7982
|
// on our hidden textarea on reload
|
|
7991
|
-
if (ie && ie_version < 11) { setTimeout(function () { return this$1.display.input.reset(true); }, 20); }
|
|
7983
|
+
if (ie && ie_version < 11) { setTimeout(function () { return this$1$1.display.input.reset(true); }, 20); }
|
|
7992
7984
|
|
|
7993
7985
|
registerEventHandlers(this);
|
|
7994
7986
|
ensureGlobalHandlers();
|
|
@@ -7999,7 +7991,7 @@
|
|
|
7999
7991
|
|
|
8000
7992
|
if ((options.autofocus && !mobile) || this.hasFocus())
|
|
8001
7993
|
{ setTimeout(function () {
|
|
8002
|
-
if (this$1.hasFocus() && !this$1.state.focused) { onFocus(this$1); }
|
|
7994
|
+
if (this$1$1.hasFocus() && !this$1$1.state.focused) { onFocus(this$1$1); }
|
|
8003
7995
|
}, 20); }
|
|
8004
7996
|
else
|
|
8005
7997
|
{ onBlur(this); }
|
|
@@ -8580,11 +8572,11 @@
|
|
|
8580
8572
|
},
|
|
8581
8573
|
|
|
8582
8574
|
moveH: methodOp(function(dir, unit) {
|
|
8583
|
-
var this$1 = this;
|
|
8575
|
+
var this$1$1 = this;
|
|
8584
8576
|
|
|
8585
8577
|
this.extendSelectionsBy(function (range) {
|
|
8586
|
-
if (this$1.display.shift || this$1.doc.extend || range.empty())
|
|
8587
|
-
{ return findPosH(this$1.doc, range.head, dir, unit, this$1.options.rtlMoveVisually) }
|
|
8578
|
+
if (this$1$1.display.shift || this$1$1.doc.extend || range.empty())
|
|
8579
|
+
{ return findPosH(this$1$1.doc, range.head, dir, unit, this$1$1.options.rtlMoveVisually) }
|
|
8588
8580
|
else
|
|
8589
8581
|
{ return dir < 0 ? range.from() : range.to() }
|
|
8590
8582
|
}, sel_move);
|
|
@@ -8616,19 +8608,19 @@
|
|
|
8616
8608
|
},
|
|
8617
8609
|
|
|
8618
8610
|
moveV: methodOp(function(dir, unit) {
|
|
8619
|
-
var this$1 = this;
|
|
8611
|
+
var this$1$1 = this;
|
|
8620
8612
|
|
|
8621
8613
|
var doc = this.doc, goals = [];
|
|
8622
8614
|
var collapse = !this.display.shift && !doc.extend && doc.sel.somethingSelected();
|
|
8623
8615
|
doc.extendSelectionsBy(function (range) {
|
|
8624
8616
|
if (collapse)
|
|
8625
8617
|
{ return dir < 0 ? range.from() : range.to() }
|
|
8626
|
-
var headPos = cursorCoords(this$1, range.head, "div");
|
|
8618
|
+
var headPos = cursorCoords(this$1$1, range.head, "div");
|
|
8627
8619
|
if (range.goalColumn != null) { headPos.left = range.goalColumn; }
|
|
8628
8620
|
goals.push(headPos.left);
|
|
8629
|
-
var pos = findPosV(this$1, headPos, dir, unit);
|
|
8621
|
+
var pos = findPosV(this$1$1, headPos, dir, unit);
|
|
8630
8622
|
if (unit == "page" && range == doc.sel.primary())
|
|
8631
|
-
{ addToScrollTop(this$1, charCoords(this$1, pos, "div").top - headPos.top); }
|
|
8623
|
+
{ addToScrollTop(this$1$1, charCoords(this$1$1, pos, "div").top - headPos.top); }
|
|
8632
8624
|
return pos
|
|
8633
8625
|
}, sel_move);
|
|
8634
8626
|
if (goals.length) { for (var i = 0; i < doc.sel.ranges.length; i++)
|
|
@@ -8694,7 +8686,7 @@
|
|
|
8694
8686
|
}),
|
|
8695
8687
|
|
|
8696
8688
|
setSize: methodOp(function(width, height) {
|
|
8697
|
-
var this$1 = this;
|
|
8689
|
+
var this$1$1 = this;
|
|
8698
8690
|
|
|
8699
8691
|
var interpret = function (val) { return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val; };
|
|
8700
8692
|
if (width != null) { this.display.wrapper.style.width = interpret(width); }
|
|
@@ -8703,7 +8695,7 @@
|
|
|
8703
8695
|
var lineNo = this.display.viewFrom;
|
|
8704
8696
|
this.doc.iter(lineNo, this.display.viewTo, function (line) {
|
|
8705
8697
|
if (line.widgets) { for (var i = 0; i < line.widgets.length; i++)
|
|
8706
|
-
{ if (line.widgets[i].noHScroll) { regLineChange(this$1, lineNo, "widget"); break } } }
|
|
8698
|
+
{ if (line.widgets[i].noHScroll) { regLineChange(this$1$1, lineNo, "widget"); break } } }
|
|
8707
8699
|
++lineNo;
|
|
8708
8700
|
});
|
|
8709
8701
|
this.curOp.forceUpdate = true;
|
|
@@ -8872,7 +8864,7 @@
|
|
|
8872
8864
|
};
|
|
8873
8865
|
|
|
8874
8866
|
ContentEditableInput.prototype.init = function (display) {
|
|
8875
|
-
var this$1 = this;
|
|
8867
|
+
var this$1$1 = this;
|
|
8876
8868
|
|
|
8877
8869
|
var input = this, cm = input.cm;
|
|
8878
8870
|
var div = input.div = display.lineDiv;
|
|
@@ -8890,26 +8882,26 @@
|
|
|
8890
8882
|
on(div, "paste", function (e) {
|
|
8891
8883
|
if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }
|
|
8892
8884
|
// IE doesn't fire input events, so we schedule a read for the pasted content in this way
|
|
8893
|
-
if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1.updateFromDOM(); }), 20); }
|
|
8885
|
+
if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1$1.updateFromDOM(); }), 20); }
|
|
8894
8886
|
});
|
|
8895
8887
|
|
|
8896
8888
|
on(div, "compositionstart", function (e) {
|
|
8897
|
-
this$1.composing = {data: e.data, done: false};
|
|
8889
|
+
this$1$1.composing = {data: e.data, done: false};
|
|
8898
8890
|
});
|
|
8899
8891
|
on(div, "compositionupdate", function (e) {
|
|
8900
|
-
if (!this$1.composing) { this$1.composing = {data: e.data, done: false}; }
|
|
8892
|
+
if (!this$1$1.composing) { this$1$1.composing = {data: e.data, done: false}; }
|
|
8901
8893
|
});
|
|
8902
8894
|
on(div, "compositionend", function (e) {
|
|
8903
|
-
if (this$1.composing) {
|
|
8904
|
-
if (e.data != this$1.composing.data) { this$1.readFromDOMSoon(); }
|
|
8905
|
-
this$1.composing.done = true;
|
|
8895
|
+
if (this$1$1.composing) {
|
|
8896
|
+
if (e.data != this$1$1.composing.data) { this$1$1.readFromDOMSoon(); }
|
|
8897
|
+
this$1$1.composing.done = true;
|
|
8906
8898
|
}
|
|
8907
8899
|
});
|
|
8908
8900
|
|
|
8909
8901
|
on(div, "touchstart", function () { return input.forceCompositionEnd(); });
|
|
8910
8902
|
|
|
8911
8903
|
on(div, "input", function () {
|
|
8912
|
-
if (!this$1.composing) { this$1.readFromDOMSoon(); }
|
|
8904
|
+
if (!this$1$1.composing) { this$1$1.readFromDOMSoon(); }
|
|
8913
8905
|
});
|
|
8914
8906
|
|
|
8915
8907
|
function onCopyCut(e) {
|
|
@@ -9032,13 +9024,13 @@
|
|
|
9032
9024
|
};
|
|
9033
9025
|
|
|
9034
9026
|
ContentEditableInput.prototype.startGracePeriod = function () {
|
|
9035
|
-
var this$1 = this;
|
|
9027
|
+
var this$1$1 = this;
|
|
9036
9028
|
|
|
9037
9029
|
clearTimeout(this.gracePeriod);
|
|
9038
9030
|
this.gracePeriod = setTimeout(function () {
|
|
9039
|
-
this$1.gracePeriod = false;
|
|
9040
|
-
if (this$1.selectionChanged())
|
|
9041
|
-
{ this$1.cm.operation(function () { return this$1.cm.curOp.selectionChanged = true; }); }
|
|
9031
|
+
this$1$1.gracePeriod = false;
|
|
9032
|
+
if (this$1$1.selectionChanged())
|
|
9033
|
+
{ this$1$1.cm.operation(function () { return this$1$1.cm.curOp.selectionChanged = true; }); }
|
|
9042
9034
|
}, 20);
|
|
9043
9035
|
};
|
|
9044
9036
|
|
|
@@ -9073,11 +9065,11 @@
|
|
|
9073
9065
|
ContentEditableInput.prototype.supportsTouch = function () { return true };
|
|
9074
9066
|
|
|
9075
9067
|
ContentEditableInput.prototype.receivedFocus = function () {
|
|
9076
|
-
var this$1 = this;
|
|
9068
|
+
var this$1$1 = this;
|
|
9077
9069
|
|
|
9078
9070
|
var input = this;
|
|
9079
9071
|
if (this.selectionInEditor())
|
|
9080
|
-
{ setTimeout(function () { return this$1.pollSelection(); }, 20); }
|
|
9072
|
+
{ setTimeout(function () { return this$1$1.pollSelection(); }, 20); }
|
|
9081
9073
|
else
|
|
9082
9074
|
{ runInOp(this.cm, function () { return input.cm.curOp.selectionChanged = true; }); }
|
|
9083
9075
|
|
|
@@ -9207,24 +9199,24 @@
|
|
|
9207
9199
|
this.div.focus();
|
|
9208
9200
|
};
|
|
9209
9201
|
ContentEditableInput.prototype.readFromDOMSoon = function () {
|
|
9210
|
-
var this$1 = this;
|
|
9202
|
+
var this$1$1 = this;
|
|
9211
9203
|
|
|
9212
9204
|
if (this.readDOMTimeout != null) { return }
|
|
9213
9205
|
this.readDOMTimeout = setTimeout(function () {
|
|
9214
|
-
this$1.readDOMTimeout = null;
|
|
9215
|
-
if (this$1.composing) {
|
|
9216
|
-
if (this$1.composing.done) { this$1.composing = null; }
|
|
9206
|
+
this$1$1.readDOMTimeout = null;
|
|
9207
|
+
if (this$1$1.composing) {
|
|
9208
|
+
if (this$1$1.composing.done) { this$1$1.composing = null; }
|
|
9217
9209
|
else { return }
|
|
9218
9210
|
}
|
|
9219
|
-
this$1.updateFromDOM();
|
|
9211
|
+
this$1$1.updateFromDOM();
|
|
9220
9212
|
}, 80);
|
|
9221
9213
|
};
|
|
9222
9214
|
|
|
9223
9215
|
ContentEditableInput.prototype.updateFromDOM = function () {
|
|
9224
|
-
var this$1 = this;
|
|
9216
|
+
var this$1$1 = this;
|
|
9225
9217
|
|
|
9226
9218
|
if (this.cm.isReadOnly() || !this.pollContent())
|
|
9227
|
-
{ runInOp(this.cm, function () { return regChange(this$1.cm); }); }
|
|
9219
|
+
{ runInOp(this.cm, function () { return regChange(this$1$1.cm); }); }
|
|
9228
9220
|
};
|
|
9229
9221
|
|
|
9230
9222
|
ContentEditableInput.prototype.setUneditable = function (node) {
|
|
@@ -9417,7 +9409,7 @@
|
|
|
9417
9409
|
};
|
|
9418
9410
|
|
|
9419
9411
|
TextareaInput.prototype.init = function (display) {
|
|
9420
|
-
var this$1 = this;
|
|
9412
|
+
var this$1$1 = this;
|
|
9421
9413
|
|
|
9422
9414
|
var input = this, cm = this.cm;
|
|
9423
9415
|
this.createField(display);
|
|
@@ -9429,7 +9421,7 @@
|
|
|
9429
9421
|
if (ios) { te.style.width = "0px"; }
|
|
9430
9422
|
|
|
9431
9423
|
on(te, "input", function () {
|
|
9432
|
-
if (ie && ie_version >= 9 && this$1.hasSelection) { this$1.hasSelection = null; }
|
|
9424
|
+
if (ie && ie_version >= 9 && this$1$1.hasSelection) { this$1$1.hasSelection = null; }
|
|
9433
9425
|
input.poll();
|
|
9434
9426
|
});
|
|
9435
9427
|
|
|
@@ -9582,12 +9574,12 @@
|
|
|
9582
9574
|
// Poll for input changes, using the normal rate of polling. This
|
|
9583
9575
|
// runs as long as the editor is focused.
|
|
9584
9576
|
TextareaInput.prototype.slowPoll = function () {
|
|
9585
|
-
var this$1 = this;
|
|
9577
|
+
var this$1$1 = this;
|
|
9586
9578
|
|
|
9587
9579
|
if (this.pollingFast) { return }
|
|
9588
9580
|
this.polling.set(this.cm.options.pollInterval, function () {
|
|
9589
|
-
this$1.poll();
|
|
9590
|
-
if (this$1.cm.state.focused) { this$1.slowPoll(); }
|
|
9581
|
+
this$1$1.poll();
|
|
9582
|
+
if (this$1$1.cm.state.focused) { this$1$1.slowPoll(); }
|
|
9591
9583
|
});
|
|
9592
9584
|
};
|
|
9593
9585
|
|
|
@@ -9612,7 +9604,7 @@
|
|
|
9612
9604
|
// seen text (can be empty), which is stored in prevInput (we must
|
|
9613
9605
|
// not reset the textarea when typing, because that breaks IME).
|
|
9614
9606
|
TextareaInput.prototype.poll = function () {
|
|
9615
|
-
var this$1 = this;
|
|
9607
|
+
var this$1$1 = this;
|
|
9616
9608
|
|
|
9617
9609
|
var cm = this.cm, input = this.textarea, prevInput = this.prevInput;
|
|
9618
9610
|
// Since this is called a *lot*, try to bail out as cheaply as
|
|
@@ -9647,15 +9639,15 @@
|
|
|
9647
9639
|
|
|
9648
9640
|
runInOp(cm, function () {
|
|
9649
9641
|
applyTextInput(cm, text.slice(same), prevInput.length - same,
|
|
9650
|
-
null, this$1.composing ? "*compose" : null);
|
|
9642
|
+
null, this$1$1.composing ? "*compose" : null);
|
|
9651
9643
|
|
|
9652
9644
|
// Don't leave long text in the textarea, since it makes further polling slow
|
|
9653
|
-
if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1.prevInput = ""; }
|
|
9654
|
-
else { this$1.prevInput = text; }
|
|
9645
|
+
if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1$1.prevInput = ""; }
|
|
9646
|
+
else { this$1$1.prevInput = text; }
|
|
9655
9647
|
|
|
9656
|
-
if (this$1.composing) {
|
|
9657
|
-
this$1.composing.range.clear();
|
|
9658
|
-
this$1.composing.range = cm.markText(this$1.composing.start, cm.getCursor("to"),
|
|
9648
|
+
if (this$1$1.composing) {
|
|
9649
|
+
this$1$1.composing.range.clear();
|
|
9650
|
+
this$1$1.composing.range = cm.markText(this$1$1.composing.start, cm.getCursor("to"),
|
|
9659
9651
|
{className: "CodeMirror-composing"});
|
|
9660
9652
|
}
|
|
9661
9653
|
});
|
|
@@ -9906,19 +9898,21 @@
|
|
|
9906
9898
|
|
|
9907
9899
|
addLegacyProps(CodeMirror);
|
|
9908
9900
|
|
|
9909
|
-
CodeMirror.version = "5.65.
|
|
9901
|
+
CodeMirror.version = "5.65.2";
|
|
9910
9902
|
|
|
9911
9903
|
return CodeMirror;
|
|
9912
9904
|
|
|
9913
9905
|
})));
|
|
9914
|
-
});
|
|
9906
|
+
}(codemirror));
|
|
9915
9907
|
|
|
9916
|
-
var
|
|
9908
|
+
var CodeMirror = codemirror.exports;
|
|
9909
|
+
|
|
9910
|
+
(function (module, exports) {
|
|
9917
9911
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
9918
9912
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
9919
9913
|
|
|
9920
9914
|
(function(mod) {
|
|
9921
|
-
mod(codemirror);
|
|
9915
|
+
mod(codemirror.exports);
|
|
9922
9916
|
})(function(CodeMirror) {
|
|
9923
9917
|
|
|
9924
9918
|
CodeMirror.defineMode("css", function(config, parserConfig) {
|
|
@@ -10547,7 +10541,7 @@
|
|
|
10547
10541
|
"cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch",
|
|
10548
10542
|
"cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
|
|
10549
10543
|
"col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse",
|
|
10550
|
-
"compact", "condensed", "contain", "content", "contents",
|
|
10544
|
+
"compact", "condensed", "conic-gradient", "contain", "content", "contents",
|
|
10551
10545
|
"content-box", "context-menu", "continuous", "contrast", "copy", "counter", "counters", "cover", "crop",
|
|
10552
10546
|
"cross", "crosshair", "cubic-bezier", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal",
|
|
10553
10547
|
"decimal-leading-zero", "default", "default-button", "dense", "destination-atop",
|
|
@@ -10597,8 +10591,8 @@
|
|
|
10597
10591
|
"pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d",
|
|
10598
10592
|
"progress", "push-button", "radial-gradient", "radio", "read-only",
|
|
10599
10593
|
"read-write", "read-write-plaintext-only", "rectangle", "region",
|
|
10600
|
-
"relative", "repeat", "repeating-linear-gradient",
|
|
10601
|
-
"repeating-
|
|
10594
|
+
"relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient",
|
|
10595
|
+
"repeating-conic-gradient", "repeat-x", "repeat-y", "reset", "reverse",
|
|
10602
10596
|
"rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY",
|
|
10603
10597
|
"rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running",
|
|
10604
10598
|
"s-resize", "sans-serif", "saturate", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen",
|
|
@@ -10774,14 +10768,14 @@
|
|
|
10774
10768
|
});
|
|
10775
10769
|
|
|
10776
10770
|
});
|
|
10777
|
-
});
|
|
10771
|
+
}());
|
|
10778
10772
|
|
|
10779
|
-
|
|
10773
|
+
(function (module, exports) {
|
|
10780
10774
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
10781
10775
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
10782
10776
|
|
|
10783
10777
|
(function(mod) {
|
|
10784
|
-
mod(codemirror);
|
|
10778
|
+
mod(codemirror.exports);
|
|
10785
10779
|
})(function(CodeMirror) {
|
|
10786
10780
|
|
|
10787
10781
|
CodeMirror.defineMode("ecl", function(config) {
|
|
@@ -10977,14 +10971,18 @@
|
|
|
10977
10971
|
CodeMirror.defineMIME("text/x-ecl", "ecl");
|
|
10978
10972
|
|
|
10979
10973
|
});
|
|
10980
|
-
});
|
|
10974
|
+
}());
|
|
10975
|
+
|
|
10976
|
+
var markdown = {exports: {}};
|
|
10981
10977
|
|
|
10982
|
-
var xml =
|
|
10978
|
+
var xml = {exports: {}};
|
|
10979
|
+
|
|
10980
|
+
(function (module, exports) {
|
|
10983
10981
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
10984
10982
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
10985
10983
|
|
|
10986
10984
|
(function(mod) {
|
|
10987
|
-
mod(codemirror);
|
|
10985
|
+
mod(codemirror.exports);
|
|
10988
10986
|
})(function(CodeMirror) {
|
|
10989
10987
|
|
|
10990
10988
|
var htmlConfig = {
|
|
@@ -11391,14 +11389,16 @@
|
|
|
11391
11389
|
CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});
|
|
11392
11390
|
|
|
11393
11391
|
});
|
|
11394
|
-
});
|
|
11392
|
+
}());
|
|
11395
11393
|
|
|
11396
|
-
var meta =
|
|
11394
|
+
var meta = {exports: {}};
|
|
11395
|
+
|
|
11396
|
+
(function (module, exports) {
|
|
11397
11397
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
11398
11398
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
11399
11399
|
|
|
11400
11400
|
(function(mod) {
|
|
11401
|
-
mod(codemirror);
|
|
11401
|
+
mod(codemirror.exports);
|
|
11402
11402
|
})(function(CodeMirror) {
|
|
11403
11403
|
|
|
11404
11404
|
CodeMirror.modeInfo = [
|
|
@@ -11609,14 +11609,14 @@
|
|
|
11609
11609
|
}
|
|
11610
11610
|
};
|
|
11611
11611
|
});
|
|
11612
|
-
});
|
|
11612
|
+
}());
|
|
11613
11613
|
|
|
11614
|
-
|
|
11614
|
+
(function (module, exports) {
|
|
11615
11615
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
11616
11616
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
11617
11617
|
|
|
11618
11618
|
(function(mod) {
|
|
11619
|
-
mod(codemirror, xml, meta);
|
|
11619
|
+
mod(codemirror.exports, xml.exports, meta.exports);
|
|
11620
11620
|
})(function(CodeMirror) {
|
|
11621
11621
|
|
|
11622
11622
|
CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
|
|
@@ -12492,9 +12492,11 @@
|
|
|
12492
12492
|
CodeMirror.defineMIME("text/x-markdown", "markdown");
|
|
12493
12493
|
|
|
12494
12494
|
});
|
|
12495
|
-
});
|
|
12495
|
+
}());
|
|
12496
|
+
|
|
12497
|
+
var overlay = {exports: {}};
|
|
12496
12498
|
|
|
12497
|
-
|
|
12499
|
+
(function (module, exports) {
|
|
12498
12500
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
12499
12501
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
12500
12502
|
|
|
@@ -12508,7 +12510,7 @@
|
|
|
12508
12510
|
// combined.
|
|
12509
12511
|
|
|
12510
12512
|
(function(mod) {
|
|
12511
|
-
mod(codemirror);
|
|
12513
|
+
mod(codemirror.exports);
|
|
12512
12514
|
})(function(CodeMirror) {
|
|
12513
12515
|
|
|
12514
12516
|
CodeMirror.overlayMode = function(base, overlay, combine) {
|
|
@@ -12579,14 +12581,14 @@
|
|
|
12579
12581
|
};
|
|
12580
12582
|
|
|
12581
12583
|
});
|
|
12582
|
-
});
|
|
12584
|
+
}());
|
|
12583
12585
|
|
|
12584
|
-
|
|
12586
|
+
(function (module, exports) {
|
|
12585
12587
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
12586
12588
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
12587
12589
|
|
|
12588
12590
|
(function(mod) {
|
|
12589
|
-
mod(codemirror, markdown, overlay);
|
|
12591
|
+
mod(codemirror.exports, markdown.exports, overlay.exports);
|
|
12590
12592
|
})(function(CodeMirror) {
|
|
12591
12593
|
|
|
12592
12594
|
var urlRE = /^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;
|
|
@@ -12705,14 +12707,16 @@
|
|
|
12705
12707
|
|
|
12706
12708
|
CodeMirror.defineMIME("text/x-gfm", "gfm");
|
|
12707
12709
|
});
|
|
12708
|
-
});
|
|
12710
|
+
}());
|
|
12709
12711
|
|
|
12710
|
-
var javascript =
|
|
12712
|
+
var javascript = {exports: {}};
|
|
12713
|
+
|
|
12714
|
+
(function (module, exports) {
|
|
12711
12715
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
12712
12716
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
12713
12717
|
|
|
12714
12718
|
(function(mod) {
|
|
12715
|
-
mod(codemirror);
|
|
12719
|
+
mod(codemirror.exports);
|
|
12716
12720
|
})(function(CodeMirror) {
|
|
12717
12721
|
|
|
12718
12722
|
CodeMirror.defineMode("javascript", function(config, parserConfig) {
|
|
@@ -13034,6 +13038,7 @@
|
|
|
13034
13038
|
cx.state.context = new Context(cx.state.context, cx.state.localVars, true);
|
|
13035
13039
|
cx.state.localVars = null;
|
|
13036
13040
|
}
|
|
13041
|
+
pushcontext.lex = pushblockcontext.lex = true;
|
|
13037
13042
|
function popcontext() {
|
|
13038
13043
|
cx.state.localVars = cx.state.context.vars;
|
|
13039
13044
|
cx.state.context = cx.state.context.prev;
|
|
@@ -13660,14 +13665,14 @@
|
|
|
13660
13665
|
CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true });
|
|
13661
13666
|
|
|
13662
13667
|
});
|
|
13663
|
-
});
|
|
13668
|
+
}());
|
|
13664
13669
|
|
|
13665
|
-
|
|
13670
|
+
(function (module, exports) {
|
|
13666
13671
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
13667
13672
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
13668
13673
|
|
|
13669
13674
|
(function(mod) {
|
|
13670
|
-
mod(codemirror, xml, javascript, css);
|
|
13675
|
+
mod(codemirror.exports, xml.exports, javascript.exports, css.exports);
|
|
13671
13676
|
})(function(CodeMirror) {
|
|
13672
13677
|
|
|
13673
13678
|
var defaultTags = {
|
|
@@ -13709,7 +13714,7 @@
|
|
|
13709
13714
|
}
|
|
13710
13715
|
|
|
13711
13716
|
function getTagRegexp(tagName, anchored) {
|
|
13712
|
-
return new RegExp((anchored ? "^" : "") + "
|
|
13717
|
+
return new RegExp((anchored ? "^" : "") + "<\/\\s*" + tagName + "\\s*>", "i");
|
|
13713
13718
|
}
|
|
13714
13719
|
|
|
13715
13720
|
function addTags(from, to) {
|
|
@@ -13809,10 +13814,10 @@
|
|
|
13809
13814
|
|
|
13810
13815
|
CodeMirror.defineMIME("text/html", "htmlmixed");
|
|
13811
13816
|
});
|
|
13812
|
-
});
|
|
13817
|
+
}());
|
|
13813
13818
|
|
|
13814
13819
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
13815
|
-
|
|
13820
|
+
CodeMirror.defineMode("dot", function (config) {
|
|
13816
13821
|
var ops = /--|->|=|;/;
|
|
13817
13822
|
var brackets = /[\[\]{}]/;
|
|
13818
13823
|
return {
|
|
@@ -13907,22 +13912,22 @@
|
|
|
13907
13912
|
blockCommentEnd: "*/"
|
|
13908
13913
|
};
|
|
13909
13914
|
});
|
|
13910
|
-
|
|
13915
|
+
CodeMirror.defineMIME("text/x-dot", "dot");
|
|
13911
13916
|
|
|
13912
13917
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
13913
|
-
|
|
13914
|
-
var htmlMode =
|
|
13918
|
+
CodeMirror.defineMode("markdown", function (cmCfg, modeCfg) {
|
|
13919
|
+
var htmlMode = CodeMirror.getMode(cmCfg, "text/html");
|
|
13915
13920
|
var htmlModeMissing = htmlMode.name == "null";
|
|
13916
13921
|
if (modeCfg.defaultMode === undefined)
|
|
13917
13922
|
modeCfg.defaultMode = "";
|
|
13918
13923
|
function getMode(name) {
|
|
13919
13924
|
name = name === "" ? modeCfg.defaultMode : name;
|
|
13920
|
-
if (
|
|
13921
|
-
var found =
|
|
13925
|
+
if (CodeMirror.findModeByName) {
|
|
13926
|
+
var found = CodeMirror.findModeByName(name);
|
|
13922
13927
|
if (found)
|
|
13923
13928
|
name = found.mime || found.mimes[0];
|
|
13924
13929
|
}
|
|
13925
|
-
var mode =
|
|
13930
|
+
var mode = CodeMirror.getMode(cmCfg, name);
|
|
13926
13931
|
return mode.name == "null" ? null : mode;
|
|
13927
13932
|
}
|
|
13928
13933
|
// Should characters that affect highlighting be highlighted separate?
|
|
@@ -14007,7 +14012,7 @@
|
|
|
14007
14012
|
if (state.f == htmlBlock) {
|
|
14008
14013
|
var exit = htmlModeMissing;
|
|
14009
14014
|
if (!exit) {
|
|
14010
|
-
var inner =
|
|
14015
|
+
var inner = CodeMirror.innerMode(htmlMode, state.htmlState);
|
|
14011
14016
|
exit = inner.mode.name == "xml" && inner.state.tagStart === null &&
|
|
14012
14017
|
(!inner.state.context && inner.state.tokenize.isInText);
|
|
14013
14018
|
}
|
|
@@ -14115,7 +14120,7 @@
|
|
|
14115
14120
|
// try switching mode
|
|
14116
14121
|
state.localMode = modeCfg.fencedCodeBlockHighlighting && getMode(match[2]);
|
|
14117
14122
|
if (state.localMode)
|
|
14118
|
-
state.localState =
|
|
14123
|
+
state.localState = CodeMirror.startState(state.localMode);
|
|
14119
14124
|
state.f = state.block = local;
|
|
14120
14125
|
if (modeCfg.highlightFormatting)
|
|
14121
14126
|
state.formatting = "code-block";
|
|
@@ -14161,7 +14166,7 @@
|
|
|
14161
14166
|
function htmlBlock(stream, state) {
|
|
14162
14167
|
var style = htmlMode.token(stream, state.htmlState);
|
|
14163
14168
|
if (!htmlModeMissing) {
|
|
14164
|
-
var inner =
|
|
14169
|
+
var inner = CodeMirror.innerMode(htmlMode, state.htmlState);
|
|
14165
14170
|
if ((inner.mode.name == "xml" && inner.state.tagStart === null &&
|
|
14166
14171
|
(!inner.state.context && inner.state.tokenize.isInText)) ||
|
|
14167
14172
|
(state.md_inside && stream.current().indexOf(">") > -1)) {
|
|
@@ -14448,7 +14453,7 @@
|
|
|
14448
14453
|
state.md_inside = true;
|
|
14449
14454
|
}
|
|
14450
14455
|
stream.backUp(1);
|
|
14451
|
-
state.htmlState =
|
|
14456
|
+
state.htmlState = CodeMirror.startState(htmlMode);
|
|
14452
14457
|
return switchBlock(stream, state, htmlBlock);
|
|
14453
14458
|
}
|
|
14454
14459
|
if (modeCfg.xml && ch === '<' && stream.match(/^\/\w*?>/)) {
|
|
@@ -14677,10 +14682,10 @@
|
|
|
14677
14682
|
prevLine: s.prevLine,
|
|
14678
14683
|
thisLine: s.thisLine,
|
|
14679
14684
|
block: s.block,
|
|
14680
|
-
htmlState: s.htmlState &&
|
|
14685
|
+
htmlState: s.htmlState && CodeMirror.copyState(htmlMode, s.htmlState),
|
|
14681
14686
|
indentation: s.indentation,
|
|
14682
14687
|
localMode: s.localMode,
|
|
14683
|
-
localState: s.localMode ?
|
|
14688
|
+
localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null,
|
|
14684
14689
|
inline: s.inline,
|
|
14685
14690
|
text: s.text,
|
|
14686
14691
|
formatting: false,
|
|
@@ -14748,7 +14753,7 @@
|
|
|
14748
14753
|
return htmlMode.indent(state.htmlState, textAfter, line);
|
|
14749
14754
|
if (state.localState && state.localMode.indent)
|
|
14750
14755
|
return state.localMode.indent(state.localState, textAfter, line);
|
|
14751
|
-
return
|
|
14756
|
+
return CodeMirror.Pass;
|
|
14752
14757
|
},
|
|
14753
14758
|
blankLine: blankLine,
|
|
14754
14759
|
getType: getType,
|
|
@@ -14759,10 +14764,10 @@
|
|
|
14759
14764
|
};
|
|
14760
14765
|
return mode;
|
|
14761
14766
|
}, "xml");
|
|
14762
|
-
|
|
14763
|
-
|
|
14767
|
+
CodeMirror.defineMIME("text/markdown", "markdown");
|
|
14768
|
+
CodeMirror.defineMIME("text/x-markdown", "markdown");
|
|
14764
14769
|
|
|
14765
|
-
function styleInject(css, ref) {
|
|
14770
|
+
function styleInject$1(css, ref) {
|
|
14766
14771
|
if ( ref === void 0 ) ref = {};
|
|
14767
14772
|
var insertAt = ref.insertAt;
|
|
14768
14773
|
|
|
@@ -14789,69 +14794,78 @@
|
|
|
14789
14794
|
}
|
|
14790
14795
|
}
|
|
14791
14796
|
|
|
14792
|
-
var css_248z = ".CodeMirror{font-family:monospace;height:300px
|
|
14793
|
-
styleInject(css_248z);
|
|
14797
|
+
var css_248z$2 = ".CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative;z-index:0}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\"\"}span.CodeMirror-selectedtext{background:none}";
|
|
14798
|
+
styleInject$1(css_248z$2);
|
|
14794
14799
|
|
|
14795
|
-
|
|
14800
|
+
(function (module, exports) {
|
|
14796
14801
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
14797
14802
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
14798
14803
|
|
|
14799
14804
|
(function(mod) {
|
|
14800
|
-
mod(codemirror);
|
|
14805
|
+
mod(codemirror.exports);
|
|
14801
14806
|
})(function(CodeMirror) {
|
|
14802
14807
|
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
|
|
14807
|
-
|
|
14808
|
-
|
|
14809
|
-
var
|
|
14810
|
-
|
|
14811
|
-
if (
|
|
14812
|
-
|
|
14813
|
-
|
|
14814
|
-
|
|
14815
|
-
|
|
14816
|
-
|
|
14817
|
-
|
|
14818
|
-
|
|
14819
|
-
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
-
|
|
14830
|
-
|
|
14831
|
-
|
|
14832
|
-
|
|
14833
|
-
|
|
14834
|
-
if (pos ==
|
|
14835
|
-
|
|
14808
|
+
function bracketFolding(pairs) {
|
|
14809
|
+
return function(cm, start) {
|
|
14810
|
+
var line = start.line, lineText = cm.getLine(line);
|
|
14811
|
+
|
|
14812
|
+
function findOpening(pair) {
|
|
14813
|
+
var tokenType;
|
|
14814
|
+
for (var at = start.ch, pass = 0;;) {
|
|
14815
|
+
var found = at <= 0 ? -1 : lineText.lastIndexOf(pair[0], at - 1);
|
|
14816
|
+
if (found == -1) {
|
|
14817
|
+
if (pass == 1) break;
|
|
14818
|
+
pass = 1;
|
|
14819
|
+
at = lineText.length;
|
|
14820
|
+
continue;
|
|
14821
|
+
}
|
|
14822
|
+
if (pass == 1 && found < start.ch) break;
|
|
14823
|
+
tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1));
|
|
14824
|
+
if (!/^(comment|string)/.test(tokenType)) return {ch: found + 1, tokenType: tokenType, pair: pair};
|
|
14825
|
+
at = found - 1;
|
|
14826
|
+
}
|
|
14827
|
+
}
|
|
14828
|
+
|
|
14829
|
+
function findRange(found) {
|
|
14830
|
+
var count = 1, lastLine = cm.lastLine(), end, startCh = found.ch, endCh;
|
|
14831
|
+
outer: for (var i = line; i <= lastLine; ++i) {
|
|
14832
|
+
var text = cm.getLine(i), pos = i == line ? startCh : 0;
|
|
14833
|
+
for (;;) {
|
|
14834
|
+
var nextOpen = text.indexOf(found.pair[0], pos), nextClose = text.indexOf(found.pair[1], pos);
|
|
14835
|
+
if (nextOpen < 0) nextOpen = text.length;
|
|
14836
|
+
if (nextClose < 0) nextClose = text.length;
|
|
14837
|
+
pos = Math.min(nextOpen, nextClose);
|
|
14838
|
+
if (pos == text.length) break;
|
|
14839
|
+
if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == found.tokenType) {
|
|
14840
|
+
if (pos == nextOpen) ++count;
|
|
14841
|
+
else if (!--count) { end = i; endCh = pos; break outer; }
|
|
14842
|
+
}
|
|
14843
|
+
++pos;
|
|
14836
14844
|
}
|
|
14837
|
-
++pos;
|
|
14838
14845
|
}
|
|
14839
|
-
}
|
|
14840
14846
|
|
|
14841
|
-
|
|
14842
|
-
|
|
14843
|
-
|
|
14844
|
-
|
|
14847
|
+
if (end == null || line == end) return null
|
|
14848
|
+
return {from: CodeMirror.Pos(line, startCh),
|
|
14849
|
+
to: CodeMirror.Pos(end, endCh)};
|
|
14850
|
+
}
|
|
14845
14851
|
|
|
14846
|
-
|
|
14847
|
-
|
|
14848
|
-
|
|
14849
|
-
|
|
14850
|
-
|
|
14851
|
-
|
|
14852
|
+
var found = [];
|
|
14853
|
+
for (var i = 0; i < pairs.length; i++) {
|
|
14854
|
+
var open = findOpening(pairs[i]);
|
|
14855
|
+
if (open) found.push(open);
|
|
14856
|
+
}
|
|
14857
|
+
found.sort(function(a, b) { return a.ch - b.ch });
|
|
14858
|
+
for (var i = 0; i < found.length; i++) {
|
|
14859
|
+
var range = findRange(found[i]);
|
|
14860
|
+
if (range) return range
|
|
14861
|
+
}
|
|
14852
14862
|
return null
|
|
14853
14863
|
}
|
|
14854
|
-
}
|
|
14864
|
+
}
|
|
14865
|
+
|
|
14866
|
+
CodeMirror.registerHelper("fold", "brace", bracketFolding([["{", "}"], ["[", "]"]]));
|
|
14867
|
+
|
|
14868
|
+
CodeMirror.registerHelper("fold", "brace-paren", bracketFolding([["{", "}"], ["[", "]"], ["(", ")"]]));
|
|
14855
14869
|
|
|
14856
14870
|
CodeMirror.registerHelper("fold", "import", function(cm, start) {
|
|
14857
14871
|
function hasImport(line) {
|
|
@@ -14897,14 +14911,14 @@
|
|
|
14897
14911
|
});
|
|
14898
14912
|
|
|
14899
14913
|
});
|
|
14900
|
-
});
|
|
14914
|
+
}());
|
|
14901
14915
|
|
|
14902
|
-
|
|
14916
|
+
(function (module, exports) {
|
|
14903
14917
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
14904
14918
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
14905
14919
|
|
|
14906
14920
|
(function(mod) {
|
|
14907
|
-
mod(codemirror);
|
|
14921
|
+
mod(codemirror.exports);
|
|
14908
14922
|
})(function(CodeMirror) {
|
|
14909
14923
|
|
|
14910
14924
|
CodeMirror.registerGlobalHelper("fold", "comment", function(mode) {
|
|
@@ -14953,14 +14967,16 @@
|
|
|
14953
14967
|
});
|
|
14954
14968
|
|
|
14955
14969
|
});
|
|
14956
|
-
});
|
|
14970
|
+
}());
|
|
14957
14971
|
|
|
14958
|
-
var foldcode =
|
|
14972
|
+
var foldcode = {exports: {}};
|
|
14973
|
+
|
|
14974
|
+
(function (module, exports) {
|
|
14959
14975
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
14960
14976
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
14961
14977
|
|
|
14962
14978
|
(function(mod) {
|
|
14963
|
-
mod(codemirror);
|
|
14979
|
+
mod(codemirror.exports);
|
|
14964
14980
|
})(function(CodeMirror) {
|
|
14965
14981
|
|
|
14966
14982
|
function doFold(cm, pos, options, force) {
|
|
@@ -15109,14 +15125,14 @@
|
|
|
15109
15125
|
return getOption(this, options, name);
|
|
15110
15126
|
});
|
|
15111
15127
|
});
|
|
15112
|
-
});
|
|
15128
|
+
}());
|
|
15113
15129
|
|
|
15114
|
-
|
|
15130
|
+
(function (module, exports) {
|
|
15115
15131
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
15116
15132
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
15117
15133
|
|
|
15118
15134
|
(function(mod) {
|
|
15119
|
-
mod(codemirror, foldcode);
|
|
15135
|
+
mod(codemirror.exports, foldcode.exports);
|
|
15120
15136
|
})(function(CodeMirror) {
|
|
15121
15137
|
|
|
15122
15138
|
CodeMirror.defineOption("foldGutter", false, function(cm, val, old) {
|
|
@@ -15269,14 +15285,14 @@
|
|
|
15269
15285
|
updateFoldInfo(cm, line, line + 1);
|
|
15270
15286
|
}
|
|
15271
15287
|
});
|
|
15272
|
-
});
|
|
15288
|
+
}());
|
|
15273
15289
|
|
|
15274
|
-
|
|
15290
|
+
(function (module, exports) {
|
|
15275
15291
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
15276
15292
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
15277
15293
|
|
|
15278
15294
|
(function(mod) {
|
|
15279
|
-
mod(codemirror);
|
|
15295
|
+
mod(codemirror.exports);
|
|
15280
15296
|
})(function(CodeMirror) {
|
|
15281
15297
|
|
|
15282
15298
|
function lineIndent(cm, lineNo) {
|
|
@@ -15313,14 +15329,14 @@
|
|
|
15313
15329
|
});
|
|
15314
15330
|
|
|
15315
15331
|
});
|
|
15316
|
-
});
|
|
15332
|
+
}());
|
|
15317
15333
|
|
|
15318
|
-
|
|
15334
|
+
(function (module, exports) {
|
|
15319
15335
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
15320
15336
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
15321
15337
|
|
|
15322
15338
|
(function(mod) {
|
|
15323
|
-
mod(codemirror);
|
|
15339
|
+
mod(codemirror.exports);
|
|
15324
15340
|
})(function(CodeMirror) {
|
|
15325
15341
|
|
|
15326
15342
|
var Pos = CodeMirror.Pos;
|
|
@@ -15494,19 +15510,21 @@
|
|
|
15494
15510
|
return findMatchingClose(iter, name);
|
|
15495
15511
|
};
|
|
15496
15512
|
});
|
|
15497
|
-
});
|
|
15513
|
+
}());
|
|
15498
15514
|
|
|
15499
|
-
var css_248z$1 = ".CodeMirror-foldmarker{color
|
|
15500
|
-
styleInject(css_248z$1);
|
|
15515
|
+
var css_248z$1$1 = ".CodeMirror-foldmarker{color:blue;cursor:pointer;font-family:arial;line-height:.3;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\"\\25BE\"}.CodeMirror-foldgutter-folded:after{content:\"\\25B8\"}";
|
|
15516
|
+
styleInject$1(css_248z$1$1);
|
|
15501
15517
|
|
|
15502
|
-
var dialog =
|
|
15518
|
+
var dialog = {exports: {}};
|
|
15519
|
+
|
|
15520
|
+
(function (module, exports) {
|
|
15503
15521
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
15504
15522
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
15505
15523
|
|
|
15506
15524
|
// Open simple dialogs on top of an editor. Relies on dialog.css.
|
|
15507
15525
|
|
|
15508
15526
|
(function(mod) {
|
|
15509
|
-
mod(codemirror);
|
|
15527
|
+
mod(codemirror.exports);
|
|
15510
15528
|
})(function(CodeMirror) {
|
|
15511
15529
|
function dialogDiv(cm, template, bottom) {
|
|
15512
15530
|
var wrap = cm.getWrapperElement();
|
|
@@ -15658,16 +15676,16 @@
|
|
|
15658
15676
|
return close;
|
|
15659
15677
|
});
|
|
15660
15678
|
});
|
|
15661
|
-
});
|
|
15679
|
+
}());
|
|
15662
15680
|
|
|
15663
|
-
|
|
15681
|
+
(function (module, exports) {
|
|
15664
15682
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
15665
15683
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
15666
15684
|
|
|
15667
15685
|
// Defines jumpToLine command. Uses dialog.js if present.
|
|
15668
15686
|
|
|
15669
15687
|
(function(mod) {
|
|
15670
|
-
mod(codemirror, dialog);
|
|
15688
|
+
mod(codemirror.exports, dialog.exports);
|
|
15671
15689
|
})(function(CodeMirror) {
|
|
15672
15690
|
|
|
15673
15691
|
// default search panel location
|
|
@@ -15708,14 +15726,16 @@
|
|
|
15708
15726
|
|
|
15709
15727
|
CodeMirror.keyMap["default"]["Alt-G"] = "jumpToLine";
|
|
15710
15728
|
});
|
|
15711
|
-
});
|
|
15729
|
+
}());
|
|
15730
|
+
|
|
15731
|
+
var searchcursor = {exports: {}};
|
|
15712
15732
|
|
|
15713
|
-
|
|
15733
|
+
(function (module, exports) {
|
|
15714
15734
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
15715
15735
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
15716
15736
|
|
|
15717
15737
|
(function(mod) {
|
|
15718
|
-
mod(codemirror);
|
|
15738
|
+
mod(codemirror.exports);
|
|
15719
15739
|
})(function(CodeMirror) {
|
|
15720
15740
|
var Pos = CodeMirror.Pos;
|
|
15721
15741
|
|
|
@@ -16010,9 +16030,9 @@
|
|
|
16010
16030
|
this.setSelections(ranges, 0);
|
|
16011
16031
|
});
|
|
16012
16032
|
});
|
|
16013
|
-
});
|
|
16033
|
+
}());
|
|
16014
16034
|
|
|
16015
|
-
|
|
16035
|
+
(function (module, exports) {
|
|
16016
16036
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
16017
16037
|
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
16018
16038
|
|
|
@@ -16025,7 +16045,7 @@
|
|
|
16025
16045
|
// Ctrl-G.
|
|
16026
16046
|
|
|
16027
16047
|
(function(mod) {
|
|
16028
|
-
mod(codemirror, searchcursor, dialog);
|
|
16048
|
+
mod(codemirror.exports, searchcursor.exports, dialog.exports);
|
|
16029
16049
|
})(function(CodeMirror) {
|
|
16030
16050
|
|
|
16031
16051
|
// default search panel location
|
|
@@ -16299,12 +16319,12 @@
|
|
|
16299
16319
|
CodeMirror.commands.replace = replace;
|
|
16300
16320
|
CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};
|
|
16301
16321
|
});
|
|
16302
|
-
});
|
|
16322
|
+
}());
|
|
16303
16323
|
|
|
16304
|
-
var css_248z$
|
|
16305
|
-
styleInject(css_248z$
|
|
16324
|
+
var css_248z$3 = ".CodeMirror-dialog{background:inherit;color:inherit;left:0;overflow:hidden;padding:.1em .8em;position:absolute;right:0;z-index:15}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{background:transparent;border:none;color:inherit;font-family:monospace;outline:none;width:20em}.CodeMirror-dialog button{font-size:70%}";
|
|
16325
|
+
styleInject$1(css_248z$3);
|
|
16306
16326
|
|
|
16307
|
-
function styleInject
|
|
16327
|
+
function styleInject(css, ref) {
|
|
16308
16328
|
if ( ref === void 0 ) ref = {};
|
|
16309
16329
|
var insertAt = ref.insertAt;
|
|
16310
16330
|
|
|
@@ -16331,8 +16351,8 @@
|
|
|
16331
16351
|
}
|
|
16332
16352
|
}
|
|
16333
16353
|
|
|
16334
|
-
var css_248z$
|
|
16335
|
-
styleInject
|
|
16354
|
+
var css_248z$1 = ".codemirror_Editor{border:1px solid #d3d3d3}.codemirror_Editor .cm-marked-text{background-color:#ff0}.codemirror_Editor .cm-marked-error,.codemirror_Editor .cm-marked-info,.codemirror_Editor .cm-marked-warning{background-position:0 100%;background-repeat:repeat-x;display:inline-block;position:relative}.codemirror_Editor .cm-marked-info{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkgIP//xkYGBkZIXwIB0SDCQgHAgDEXAgCKU2DPwAAAABJRU5ErkJggg==\")}.codemirror_Editor .cm-marked-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/DAz/GRkYGBlBfBgHTMM4MJUAzFoIAuwf4BEAAAAASUVORK5CYII=\")}.codemirror_Editor .cm-marked-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/Sxn+M0YzMDKC+DAOmIZxYCoBKQkLp8ga+UwAAAAASUVORK5CYII=\")}";
|
|
16355
|
+
styleInject(css_248z$1);
|
|
16336
16356
|
|
|
16337
16357
|
var Editor = /** @class */ (function (_super) {
|
|
16338
16358
|
__extends(Editor, _super);
|
|
@@ -16355,7 +16375,7 @@
|
|
|
16355
16375
|
if (this.gutterMarkerWidth() > 0) {
|
|
16356
16376
|
gutters.unshift({
|
|
16357
16377
|
className: "CodeMirror-guttermarker",
|
|
16358
|
-
style: "width:"
|
|
16378
|
+
style: "width:".concat(this.gutterMarkerWidth(), "px;")
|
|
16359
16379
|
});
|
|
16360
16380
|
}
|
|
16361
16381
|
return gutters;
|
|
@@ -16467,7 +16487,7 @@
|
|
|
16467
16487
|
Editor.prototype.enter = function (domNode, element) {
|
|
16468
16488
|
var _this = this;
|
|
16469
16489
|
_super.prototype.enter.call(this, domNode, element);
|
|
16470
|
-
this._codemirror =
|
|
16490
|
+
this._codemirror = CodeMirror.fromTextArea(element.append("textarea").node(), this.options());
|
|
16471
16491
|
this._codemirror.on("changes", function (cm, changes) {
|
|
16472
16492
|
_this.changes(changes);
|
|
16473
16493
|
});
|
|
@@ -16529,8 +16549,8 @@
|
|
|
16529
16549
|
}(Editor));
|
|
16530
16550
|
DOTEditor.prototype._class += " codemirror_JSEditor";
|
|
16531
16551
|
|
|
16532
|
-
var css_248z
|
|
16533
|
-
styleInject
|
|
16552
|
+
var css_248z = ".codemirror_ECLEditor .cm-s-default span.cm-comment{color:green}.codemirror_ECLEditor .cm-s-default span.cm-keyword{color:#00f}.codemirror_ECLEditor .cm-s-default span.cm-variable{color:navy;font-weight:700}.codemirror_ECLEditor .cm-s-default span.cm-variable-2,.codemirror_ECLEditor .cm-s-default span.cm-variable-3{color:maroon}.codemirror_ECLEditor .cm-s-default span.cm-builtin{color:purple}.codemirror_ECLEditor .cm-s-default span.cm-string{color:grey}.cm-s-default span.cm-atom,.codemirror_ECLEditor .cm-s-default span.cm-number{color:#000}.codemirror_ECLEditor .cm-s-default span.cm-meta{color:#004080}.codemirror_ECLEditor .ErrorLine{background:#c00!important;color:#fff!important}.codemirror_ECLEditor .WarningLine{background:#ff9!important}.codemirror_ECLEditor .highlightline{background:#e8f2ff!important}";
|
|
16553
|
+
styleInject(css_248z);
|
|
16534
16554
|
|
|
16535
16555
|
var ECLEditor = /** @class */ (function (_super) {
|
|
16536
16556
|
__extends(ECLEditor, _super);
|
|
@@ -16671,5 +16691,5 @@
|
|
|
16671
16691
|
|
|
16672
16692
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
16673
16693
|
|
|
16674
|
-
}))
|
|
16694
|
+
}));
|
|
16675
16695
|
//# sourceMappingURL=index.js.map
|