package
0.0.0-20240419022041-0a0a5672827e
Repository: https://github.com/tectiv3/go-lsp.git
Documentation: pkg.go.dev
# 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.