Skip to content

Commit 8499468

Browse files
committed
Update deprecation
1 parent 1651749 commit 8499468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProofWidgets/Component/MakeEditLink.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If `newSelection?` is absent, place the cursor at the end of the new text.
4747
If `newSelection?` is present, select the range it specifies within `newText`.
4848
See also `MakeEditLinkProps.ofReplaceRange'`. -/
4949
def MakeEditLinkProps.ofReplaceRange (doc : Server.DocumentMeta) (range : Lsp.Range)
50-
(newText : String) (newSelection? : Option (String.Pos × String.Pos) := none) :
50+
(newText : String) (newSelection? : Option (String.Pos.Raw × String.Pos.Raw) := none) :
5151
MakeEditLinkProps :=
5252
ofReplaceRange' doc range newText (newSelection?.map fun (s, e) =>
5353
let ps := range.start.advance (newText.toSubstring.extract 0 s)

0 commit comments

Comments
 (0)