Table of Contents

Class WorkspaceEdit

Namespace
NMF.AnyText.Workspace
Assembly
NMF.AnyText.Core.dll

Represents changes to a workspace, including text edits, document changes, and change annotations.

public class WorkspaceEdit
Inheritance
WorkspaceEdit
Inherited Members

Properties

ChangeAnnotations

A dictionary of annotations associated with changes, keyed by annotation ID.

public Dictionary<string, ChangeAnnotation> ChangeAnnotations { get; set; }

Property Value

Dictionary<string, ChangeAnnotation>

Changes

A dictionary of changes to text documents, keyed by document URI, with the value being the text edits for that document.

public Dictionary<string, TextEdit[]> Changes { get; set; }

Property Value

Dictionary<string, TextEdit[]>

DocumentChanges

A list of document-level changes (e.g., file creation, renaming, deletion).

public List<DocumentChange> DocumentChanges { get; set; }

Property Value

List<DocumentChange>