Do not eagerly cancel running tasks
This commit is contained in:
parent
4d4544f680
commit
11fee4ce42
2 changed files with 115 additions and 46 deletions
|
@ -2632,7 +2632,7 @@ impl Editor {
|
|||
}
|
||||
InlayRefreshReason::NewLinesShown => InvalidationStrategy::None,
|
||||
InlayRefreshReason::ExcerptEdited => InvalidationStrategy::OnConflict,
|
||||
InlayRefreshReason::RefreshRequested => InvalidationStrategy::All,
|
||||
InlayRefreshReason::RefreshRequested => InvalidationStrategy::Forced,
|
||||
};
|
||||
|
||||
let excerpts_to_query = self
|
||||
|
@ -2680,7 +2680,6 @@ impl Editor {
|
|||
.into_iter()
|
||||
.map(|(position, id, hint)| {
|
||||
let mut text = hint.text();
|
||||
// TODO kb styling instead?
|
||||
if hint.padding_right {
|
||||
text.push(' ');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue