Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reload all keybinding #2859

Merged
merged 8 commits into from Sep 12, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/geany.txt
Expand Up @@ -3349,7 +3349,7 @@ Close Ctrl-W (C) Closes the current fil

Reload file Ctrl-R (C) Reloads the current file.

Reload all Reloads all open files.
Reload all Reloads all open files. If the reload will not be 'undo'-able and changes that will be lost are detected (unsaved or saved) the reload will be confirmed, otherwise the reload will proceed without confirmation.

Print Ctrl-P (C) Prints the current file.

Expand Down
2 changes: 1 addition & 1 deletion src/callbacks.c
Expand Up @@ -350,7 +350,7 @@ void on_reload_all(GtkAction *action, gpointer user_data)
if (doc->changed || document_can_undo(doc) || document_can_redo(doc))
{
if (dialogs_show_question_full(NULL, _("_Reload"), GTK_STOCK_CANCEL,
_("Any unsaved changes will be lost."),
_("Changes detected, reloading all will lose any changes and history."),
_("Are you sure you want to reload all files?")))
{
break; // break the loop and continue with reloading below
Expand Down