Replace all instead of just replace

This commit is contained in:
Andras Schmelczer 2025-11-22 19:57:52 +00:00
commit f11c8db6d2

View file

@ -14,7 +14,7 @@ export function positionToLineAndColumn(
throw new Error("Position cannot be negative");
}
text = text.replace("\r", "");
text = text.replaceAll("\r", "");
if (
position >