Class

LspTextDocumentEdit

Description

class Lsp.TextDocumentEdit : Lsp.ResourceOperation
{
  /* No available fields */
}

Describes textual changes on a single text document.

The text document may be referred to as a LspTextDocumentIdentifier to allow clients to check the text document version before an edit is applied. A lsp_text_document_edit_new() describes all changes on a version Si and after they are applied move the document to version Si+1. So the creator of a lsp_text_document_edit_new() doesn’t need to sort the array of edits or do any kind of ordering. However the edits must be non overlapping.

Hierarchy

hierarchy this LspTextDocumentEdit ancestor_0 LspResourceOperation ancestor_0--this

Constructors

lsp_text_document_edit_new
No description available.

lsp_text_document_edit_new_from_variant
No description available.

Instance methods

lsp_text_document_edit_get_text_document

Gets the value of text_document.

lsp_text_document_edit_set_text_document

Sets the value of text_document.

lsp_text_document_edit_get_edits

Gets the value of edits.

lsp_text_document_edit_set_edits

Sets the value of edits.

lsp_text_document_edit_add_edit

Appends an edit to LspTextDocumentEdit:edits.

Methods inherited from LspResourceOperation (2)
lsp_resource_operation_get_kind

Gets the value of kind.

lsp_resource_operation_to_variant
No description available.

Class structure

struct LspTextDocumentEditClass {
  /* no available fields */
}

No description available.