Listens for low level
notification on the given connection to
update the text documents managed by this instance.
Please note that the connection only provides handlers not an event model. Therefore
listening on a connection will overwrite the following handlers on a connection:
onDidOpenTextDocument
, onDidChangeTextDocument
, onDidCloseTextDocument
,
onWillSaveTextDocument
, onWillSaveTextDocumentWaitUntil
and onDidSaveTextDocument
.
Use the corresponding events on the TextDocuments instance instead.
The connection to listen on.
Sets a handler that will be called if a participant wants to provide edits during a text document save.
Sets the text document managed by this instance.
The text document to add.
true
if the document didn't exist yet, false
if it was already present.
Normalizing text document manager. Normalizes all incoming URIs to the same format used by VS Code.