Package io.deephaven.web.shared.ide.lsp
Class DocumentRange
java.lang.Object
io.deephaven.web.shared.ide.lsp.DocumentRange
- All Implemented Interfaces:
Serializable
@JsType(namespace="dh.lsp",
name="Range")
public class DocumentRange
extends Object
implements Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDocumentRange
(DocumentRange fixed) DocumentRange
(Position start, Position end) DocumentRange
(jsinterop.base.JsPropertyMap<Object> source) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
static int
getOffsetFromPosition
(String document, Position position) static Position
getPositionFromOffset
(String document, int offset) int
hashCode()
boolean
static DocumentRange
rangeFromSource
(String source, int start, int length) toString()
-
Field Details
-
start
-
end
-
-
Constructor Details
-
DocumentRange
public DocumentRange() -
DocumentRange
-
-
Method Details