# Functions
ApplyLSPTextDocumentContentChangeEvent applies the LSP change in the given text.
ApplyTextChange replaces startingText substring specified by replaceRange with insertText.
ExtractRange extract a piece of text from a text document given the range.
GetLineOffset finds the offset/position of the beginning of a line within the text.
GetOffset computes the offset in the text expressed by the lsp.Position.
# Structs
OutOfRangeError returned if one attempts to access text out of its range.