Package io.deephaven.web.shared.ide.lsp
Class TextDocumentContentChangeEvent
java.lang.Object
io.deephaven.web.shared.ide.lsp.TextDocumentContentChangeEvent
- All Implemented Interfaces:
Serializable
@JsType(namespace="dh.lsp")
public class TextDocumentContentChangeEvent
extends Object
implements Serializable
A document content change.
This is a JS-exposed model type (
dh.lsp.TextDocumentContentChangeEvent) that closely follows the Language
Server Protocol text document content change event shape.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe range of the document that the change applies to.intThe length of the replaced range.The replacement text. -
Constructor Summary
ConstructorsConstructorDescriptionTextDocumentContentChangeEvent(DocumentRange range, int rangeLength, String text) TextDocumentContentChangeEvent(jsinterop.base.JsPropertyMap<Object> source) -
Method Summary
-
Field Details
-
range
The range of the document that the change applies to. -
rangeLength
public int rangeLengthThe length of the replaced range. -
text
The replacement text.
-
-
Constructor Details
-
TextDocumentContentChangeEvent
public TextDocumentContentChangeEvent() -
TextDocumentContentChangeEvent
-
-
Method Details