Fix opening GoToLine from Command

This was broken because of the async hop introduced by should_dismiss.

Change that API to instead be syncronous, and require that implementors
(of which there is only one) to call dismiss again if they want to.
This commit is contained in:
Conrad Irwin
2023-12-12 20:46:27 -07:00
parent c9aa4a0e00
commit a2f0accb74
6 changed files with 70 additions and 36 deletions
Generated
+2
View File
@@ -2046,8 +2046,10 @@ dependencies = [
"editor2",
"env_logger 0.9.3",
"fuzzy2",
"go_to_line2",
"gpui2",
"language2",
"menu2",
"picker2",
"project2",
"serde",