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 18:10:29 -04:00 committed by GitHub
parent 070f7dbe1a
commit e6dc6faccf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 122 additions and 0 deletions

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()
}