View Source GenLSP.Structures.AnnotatedTextEdit (gen_lsp v0.10.0)
A special text edit with an additional change annotation.
@since 3.16.0.
Link to this section Summary
Functions
Fields
- annotation_id: The actual identifier of the change annotation
- range: The range of the text document to be manipulated. To insert text into a document create a range where start === end.
- new_text: The string to be inserted. For delete operations use an empty string.
Link to this section Types
@type t() :: %GenLSP.Structures.AnnotatedTextEdit{ annotation_id: GenLSP.TypeAlias.ChangeAnnotationIdentifier.t(), new_text: String.t(), range: GenLSP.Structures.Range.t() }
Link to this section Functions
fields
Fields
- annotation_id: The actual identifier of the change annotation
- range: The range of the text document to be manipulated. To insert text into a document create a range where start === end.
- new_text: The string to be inserted. For delete operations use an empty string.