Assuming that s
is the content of a file starting at position p
,
advance p
to the end of s
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- edit : Lean.Lsp.TextDocumentEdit
The edit to perform on the file.
- newSelection? : Option Lean.Lsp.Range
Which textual range to select after the edit. The range is interpreted in the file that
edit
applies to. If present andstart == end
, the cursor is moved tostart
and nothing is selected. If not present, the selection is not changed. The
title
property, if any, to set on the displayed<a>
link.
Instances For
Replace range
with newText
.
If newSelection?
is absent, place the cursor at the end of the new text.
If newSelection?
is present, make the specified selection instead.
See also MakeEditLinkProps.ofReplaceRange
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Replace range
with newText
.
If newSelection?
is absent, place the cursor at the end of the new text.
If newSelection?
is present, select the range it specifies within newText
.
See also MakeEditLinkProps.ofReplaceRange'
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A link that, when clicked, makes the specified edit and potentially moves the cursor or makes a selection.
Equations
- One or more equations did not get rendered due to their size.