Introduce MultiBuffer::stream_excerpts_with_context_lines

This allows us to push excerpts in a streaming fashion without blocking
the main thread.
This commit is contained in:
Antonio Scandurra
2023-01-19 15:42:14 +01:00
parent a8f466b422
commit 5ce065ac92
4 changed files with 114 additions and 51 deletions
Generated
+1
View File
@@ -5510,6 +5510,7 @@ dependencies = [
"anyhow",
"collections",
"editor",
"futures 0.3.25",
"gpui",
"language",
"log",