Trait arret_lsp_server::watcher::DocumentWatcher [−][src]
pub trait DocumentWatcher { fn did_open(&mut self, _url: &Url, _document: &Arc<Document>) { ... } fn did_change(&mut self, _url: &Url, _document: &Arc<Document>) { ... } fn did_close(&mut self, _url: &Url) { ... } }
Trait for a loosely coupled component that watches document events
Provided methods
fn did_open(&mut self, _url: &Url, _document: &Arc<Document>)
[src]
Called when a document is opened with the specified initial contents
fn did_change(&mut self, _url: &Url, _document: &Arc<Document>)
[src]
Called when a document has changed with the updated contents
fn did_close(&mut self, _url: &Url)
[src]
Called when a document has closed
Implementors
Loading content...