async fn change(&self, fi: Url, text: String, version: Option<i64>) {
        self.registry_mut()
            .apply_change(Change::Modified(fi.clone(), text));

        let document_diagnostics = self.registry().document(&fi).map(|d| d.all_diagnostics());
        if let Some(diags) = document_diagnostics {
            self.client.publish_diagnostics(fi, diags, version).await;
        }
    }
/// Records a document content change.
Records a document content change.
Records a document content change .
async fn change(&self, fi: Url, text: String, version: Option<i64>) {
        self.registry_mut()
            .apply_change(Change::Modified(fi.clone(), text));
        let document_diagnostics = self.registry().document(&fi).map(|d| d.all_diagnostics());
        if let Some(diags) = document_diagnostics {
            self.client.publish_diagnostics(fi, diags, version).await;
        }
    }
async fn change ( & self , fi : Url , text : String , version : Option < i64 > ) { self . registry_mut ( ) . apply_change ( Change :: Modified ( fi . clone ( ) , text ) ) ; let document_diagnostics = self . registry ( ) . document ( & fi ) . map ( | d | d . all_diagnostics ( ) ) ; if let Some ( diags ) = document_diagnostics { self . client . publish_diagnostics ( fi , diags , version ) . await ; } }
Records a document content change.
Records a document content change .
&self
fi
Url
text
String
version
Option<i64>
&self
fi
Url
text
String
version
Option<i64>