case class TextDocumentEdit(textDocument: OptionalVersionedTextDocumentIdentifier, edits: Vector[TextEdit | AnnotatedTextEdit])
Describes textual changes on a text document. A TextDocumentEdit describes all changes on a document version Si and after they are applied move the document to version Si+1. So the creator of a TextDocumentEdit doesn't need to sort the array of edits or do any kind of ordering. However the edits must be non overlapping.
- Value parameters:
- edits
The edits to be applied.
- textDocument
The text document to change.
- Since:
3.16.0 - support for AnnotatedTextEdit. This is guarded using a client capability.
- Companion:
- object
- Source:
- structures.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any