@lvce-editor/problems-view 1.31.0 → 1.31.2
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.
|
@@ -2815,7 +2815,11 @@ const getActiveUri = async () => {
|
|
|
2815
2815
|
if (editorId === -1) {
|
|
2816
2816
|
return '';
|
|
2817
2817
|
}
|
|
2818
|
-
|
|
2818
|
+
try {
|
|
2819
|
+
return await getUri(editorId);
|
|
2820
|
+
} catch {
|
|
2821
|
+
return '';
|
|
2822
|
+
}
|
|
2819
2823
|
};
|
|
2820
2824
|
|
|
2821
2825
|
const isString = value => {
|
|
@@ -2992,7 +2996,7 @@ const getFilterInputName = (inputSource, filterValue) => {
|
|
|
2992
2996
|
};
|
|
2993
2997
|
|
|
2994
2998
|
const renderFilterValue = (oldState, newState) => {
|
|
2995
|
-
return ['Viewlet.setValueByName', getFilterInputName(newState.inputSource, newState.filterValue), newState.filterValue];
|
|
2999
|
+
return ['Viewlet.setValueByName', newState.uid, getFilterInputName(newState.inputSource, newState.filterValue), newState.filterValue];
|
|
2996
3000
|
};
|
|
2997
3001
|
|
|
2998
3002
|
const Button = 1;
|
|
@@ -3521,7 +3525,7 @@ const renderItems = (oldState, newState) => {
|
|
|
3521
3525
|
const visible = getVisibleProblems(problems, fileIconCache, collapsedUris, focusedIndex, filterValue, minLineY, maxLineY, viewMode, showErrors, showWarnings, showInfos);
|
|
3522
3526
|
const isSmall = width <= smallWidthBreakPoint;
|
|
3523
3527
|
const dom = getProblemsVirtualDom(activeUri, viewMode, visible, filterValue, inputSource, isSmall, message, scrollBarHeight, scrollBarActive, problemCount);
|
|
3524
|
-
return ['Viewlet.setDom2', dom];
|
|
3528
|
+
return ['Viewlet.setDom2', newState.uid, dom];
|
|
3525
3529
|
};
|
|
3526
3530
|
|
|
3527
3531
|
const getRenderer = diffType => {
|