Skip to content

Commit

Permalink
[release]bugfix
Browse files Browse the repository at this point in the history
reinsertion bug
  • Loading branch information
Agrael1 authored Sep 1, 2022
2 parents 3bdf23c + 9e774f0 commit dd90a7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private async Task RemoveAsync(Descriptor desc)
Removed++;
continue;
}
desc.buffer.Insert(rs.Start, desc.text.Substring(rs.Start + delta, rs.Length));
desc.buffer.Insert(rs.Start, desc.text.Substring(rs.Start - desc.offset + delta, rs.Length));
await Output.WriteLineAsync($"Unable to remove {line.FullFile}");
}
}
Expand Down

0 comments on commit dd90a7e

Please sign in to comment.