@douyinfe/semi-json-viewer-core 2.84.0 → 2.85.0-beta.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/lib/index.js +2 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -3969,7 +3969,8 @@ var ErrorWidget = class {
|
|
|
3969
3969
|
});
|
|
3970
3970
|
}
|
|
3971
3971
|
findDomByPos(start, end, errMessage) {
|
|
3972
|
-
|
|
3972
|
+
let line = this._view.getLineElement(start.lineNumber);
|
|
3973
|
+
line = line?.children[0];
|
|
3973
3974
|
if (!line) return;
|
|
3974
3975
|
let offset = 1;
|
|
3975
3976
|
for (let i = 0; i < line.children.length; i++) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-json-viewer-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.85.0-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
],
|
|
54
54
|
"author": "",
|
|
55
55
|
"license": "MIT",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "33738dd3e18dad726469b193229b64bbf1f9c4d3"
|
|
57
57
|
}
|