View Source GenLSP.Structures.InsertReplaceEdit (gen_lsp v0.1.2)
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
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.