Don't insert resource links for @mentions that have been removed from the message editor (#35831)

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-08-07 22:10:29 +00:00
committed by GitHub
parent 070f7dbe1a
commit e6dc6faccf
3 changed files with 122 additions and 0 deletions
+5
View File
@@ -2705,6 +2705,11 @@ impl Editor {
self.completion_provider = provider;
}
#[cfg(any(test, feature = "test-support"))]
pub fn completion_provider(&self) -> Option<Rc<dyn CompletionProvider>> {
self.completion_provider.clone()
}
pub fn semantics_provider(&self) -> Option<Rc<dyn SemanticsProvider>> {
self.semantics_provider.clone()
}