Skip to main content
Go to Latest
import * as denopsLsputil from "https://deno.land/x/denops_lsputil@v0.3.1/mod.ts";

Classes

Context of the line where the cursor is. 0-based and columns are utf-16 offset.

Functions

Applies a list of TextEdit objects to a buffer. Update the buffer and also move the cursor to the appropriate position.

A Utility function for creating LSP.Range object.

Get the cursor position. 0-based and columns are utf-16 offset.

Replace the range of before and after the cursor with text. 0-based and columns are utf-16 offset.

Set the cursor to the position. 0-based and columns are utf-16 offset.

Replaces a specific lines within the buffer.

Replaces a specific range within the buffer.

Convert offset in utf-8|utf-16|utf-32 to offset in utf-16.

Convert offset in utf-8|utf-16|utf-32 to offset in utf-16.

Convert offset in utf-8|utf-16|utf-32 to offset in utf-32.

Convert offset in utf-8|utf-16|utf-32 to offset in utf-32.

Convert offset in utf-8|utf-16|utf-32 to offset in utf-8.

Convert offset in utf-8|utf-16|utf-32 to offset in utf-8.

Verify the validity of a specified range within the buffer.

Type Aliases

A type indicating how positions are encoded, specifically what column offsets mean.

Character offsets count UTF-16 code units.

Character offsets count UTF-32 code units.

Character offsets count UTF-8 code units (e.g bytes).