We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90a6bab commit 14c13bdCopy full SHA for 14c13bd
src/features/DocumentFormatter.ts
@@ -308,7 +308,7 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
308
edit.endLineNumber - 1,
309
edit.endColumnNumber - 1);
310
311
- if (range === null || range.contains(editRange)) {
+ if (range === null || range.contains(editRange.start)) {
312
313
// accumulate the changes in number of lines
314
// get the difference between the number of lines in the replacement text and
0 commit comments