You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presumably, a text insertion positioned beyond the end of the document should be appended to it (or, possibly more logically, enough white space and line returns should be added to locate the inserted text in the required position).
However, in Language.LSP.Types.WorkspaceEdit.applyTextEdit, it seems that the insert line is set to the maximum between the requested line and the max number of lines, but the column number is not changed.
Example, Position 20 3 is interpreted as Position 1 3:
A simple fix, the text gets appended. You could imagine being smarter
here, but at least it doesn't insert it into the existing text as it
would before.
Fixeshaskell#271.
Presumably, a text insertion positioned beyond the end of the document should be appended to it (or, possibly more logically, enough white space and line returns should be added to locate the inserted text in the required position).
However, in Language.LSP.Types.WorkspaceEdit.applyTextEdit, it seems that the insert line is set to the maximum between the requested line and the max number of lines, but the column number is not changed.
Example, Position 20 3 is interpreted as Position 1 3:
The text was updated successfully, but these errors were encountered: