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

A special text edit to provide an insert and a replace operation.

@since 3.16.0

Link to this section Summary

Functions

Fields

  • new_text: The string to be inserted.
  • insert: The range if the insert is requested
  • replace: The range if the replace is requested.

Link to this section Types

@type t() :: %GenLSP.Structures.InsertReplaceEdit{
  insert: GenLSP.Structures.Range.t(),
  new_text: String.t(),
  replace: GenLSP.Structures.Range.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.InsertReplaceEdit{}

View Source (struct)

fields

Fields

  • new_text: The string to be inserted.
  • insert: The range if the insert is requested
  • replace: The range if the replace is requested.