Class TextSynchronization
Represents a running text synchronization
public class TextSynchronization : IDisposable
- Inheritance
-
TextSynchronization
- Implements
- Inherited Members
Constructors
TextSynchronization(IModelElement, Parser, ILspServer)
Creates a new text synchronization
public TextSynchronization(IModelElement rootElement, Parser document, ILspServer server)
Parameters
rootElementIModelElementthe root element that should be watched
documentParserthe document behind it
serverILspServerthe LSP server implementation
Properties
RunningSynchronizations
Gets a collection of running synchronizations for this text document
public List<IRunningSynchronization> RunningSynchronizations { get; }
Property Value
Methods
Complete()
Completes the current edits
public void Complete()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
StartListening()
Starts listening to model changes
public void StartListening()