patch 9.0.0683: cannot specify a time for :echowindow
Problem: Cannot specify a time for :echowindow.
Solution: A count can be used to specify the display time. Add
popup_findecho().
diff --git a/src/vim9.h b/src/vim9.h
index fe193b1..095fd27 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -457,6 +457,12 @@
int defer_argcount; // number of arguments
} deferins_T;
+// arguments to ISN_ECHOWINDOW
+typedef struct {
+ int ewin_count; // number of arguments
+ long ewin_time; // time argument (msec)
+} echowin_T;
+
/*
* Instruction
*/
@@ -507,6 +513,7 @@
getitem_T getitem;
debug_T debug;
deferins_T defer;
+ echowin_T echowin;
} isn_arg;
};