The Re-load All feature is implemented with a check if the files are modified inside the memory buffer. The buttons on the info_bar are drawn vertically, as there can be as much as five options, depending on the scenario, see picture below. See also the discussion [here.](https://github.com/geany/geany/issues/2540)
![geany_vertical](https://github.com/geany/geany/assets/7198614/c7864dcc-2e4c-4c55-9cf0-5aa8cb45c5d9) You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/3722 -- Commit Summary -- * Draft implementation of reload-all. Messy GUI and RESPONSE_DOCUMENT_RELOAD_ALL not handled correctly. * Created bool unmodified_files_present to make gui button optional. * Merge branch 'geany:master' into re-load-all * Replaced fixed size number of button arguments with variable sized array of buttons (and responses) in document_show_message(). * Re-load All feature works functionally (but GUI needs re-work): detection if buffers are modified is built-in and user is offered a choice to reload all (and drop buffer modifications), reload only unmodified ones, or only the document in focus. * Connected File->Re-load button and updated description. * Switched to vertical buttons inside info_bar to avoid crowded Gtk-boxes. -- File Changes -- M COMMITTERS (1) M THANKS (2) M data/geany.glade (11) M src/callbacks.c (63) M src/callbacks.h (2) M src/dialogs.c (2) M src/document.c (674) M src/document.h (35) M src/documentprivate.h (9) M src/editor.c (4) M src/keybindings.c (5) M src/libmain.c (4) -- Patch Links -- https://github.com/geany/geany/pull/3722.patch https://github.com/geany/geany/pull/3722.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3722 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3...@github.com>