Crate molc

Source

Modules§

messages

Structs§

FakeClient

Traits§

LangServer
RedirectableStdout
Servers implementing this must return output with the send_* method provided by this trait.

Functions§

abs_pos
Indicates an absolute position in the document.
add_char
Adds a character at the given position.
change_text
Changes the text at the given position.
delete_line
Deletes the line at the given index.
delete_text
Deletes the text at the given range.
oneline_range
Indicates a range of one line.
parse_msgs
Parses a sequence of LSP messages and returns them as a vector of Values.

Type Aliases§

Result