From 3a8ae83aa13636679c151027cace905fa87ebd8e Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 14 Jun 2023 00:03:47 +0200 Subject: Implement replace + autocomplete Autocomplete is currently a POC and works only with find-file. --- src/dged/window.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dged/window.h') diff --git a/src/dged/window.h b/src/dged/window.h index be9b952..30c1061 100644 --- a/src/dged/window.h +++ b/src/dged/window.h @@ -22,6 +22,8 @@ void windows_render(struct display *display); struct window *root_window(); struct window *minibuffer_window(); +struct window *popup_window(); +bool popup_window_visible(); void windows_set_active(struct window *window); struct window *windows_focus(uint32_t id); @@ -30,6 +32,8 @@ struct window *windows_focus_next(); struct window *window_find_by_buffer(struct buffer *b); void window_set_buffer(struct window *window, struct buffer *buffer); +void window_set_buffer_e(struct window *window, struct buffer *buffer, + bool modeline, bool line_numbers); struct buffer *window_buffer(struct window *window); struct buffer_view *window_buffer_view(struct window *window); struct buffer *window_prev_buffer(struct window *window); @@ -47,3 +51,7 @@ void window_hsplit(struct window *window, struct window **new_window_a, struct window **new_window_b); void window_vsplit(struct window *window, struct window **new_window_a, struct window **new_window_b); + +void windows_show_popup(uint32_t row, uint32_t col, uint32_t width, + uint32_t height); +void windows_close_popup(); -- cgit v1.2.3