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 Details

    • range

      public DocumentRange range
      The range of the document that the change applies to.
    • rangeLength

      public int rangeLength
      The length of the replaced range.
    • text

      public String text
      The replacement text.
  • Constructor Details

    • TextDocumentContentChangeEvent

      public TextDocumentContentChangeEvent()
    • TextDocumentContentChangeEvent

      @JsIgnore public TextDocumentContentChangeEvent(DocumentRange range, int rangeLength, String text)
    • TextDocumentContentChangeEvent

      @JsIgnore public TextDocumentContentChangeEvent(jsinterop.base.JsPropertyMap<Object> source)
  • Method Details