View Source GenLSP.Structures.TextEdit (gen_lsp v0.10.0)

A text edit applicable to a text document.

Link to this section Summary

Functions

Fields

  • 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.TextEdit{
  new_text: String.t(),
  range: GenLSP.Structures.Range.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.TextEdit{}

View Source (struct)

fields

Fields

  • 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.