@codingame/monaco-vscode-emmet-default-extension 1.82.6 → 1.83.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/emmetBrowserMain.js +2 -2
- package/emmetBrowserMain.js.map +1 -1
- package/package.json +2 -2
package/emmetBrowserMain.js
CHANGED
|
@@ -18714,8 +18714,8 @@ async function updateTag(tagName) {
|
|
|
18714
18714
|
if (!rootNode) {
|
|
18715
18715
|
return;
|
|
18716
18716
|
}
|
|
18717
|
-
const rangesToUpdate =
|
|
18718
|
-
.
|
|
18717
|
+
const rangesToUpdate = editor.selections
|
|
18718
|
+
.reduceRight((prev, selection) => prev.concat(getRangesToUpdate(document, selection, rootNode)), []);
|
|
18719
18719
|
if (!rangesToUpdate.length) {
|
|
18720
18720
|
return;
|
|
18721
18721
|
}
|