Closed umpox closed 1 week ago
@pkukielka @mkondratek This should fix the issues with inline edit + undo in JetBrains. It seems we have another issue with Number.MAX_SAFE_INTEGER
somewhere.
I'm happy to merge this as we already have access to the document
here, and it is technically more correct. But just wanted to make you aware that this could be a problem in future if we change it for whatever reason
I tested these changes in a dev run - works 🟢 I update cody commit and CI passed 🟢
Description
Uses
document.lineAt
to get the end of a line, rather thanNumber.MAX_SAFE_INTEGER
.Test plan