<p></p>
<p><b>@eht16</b> requested changes on this pull request.</p>

<p>Looks good and works as expected.</p>
<p>Beside my other minor comments, adding the keybinding to <a href="https://github.com/geany/geany/blob/master/doc/geany.txt#file-keybindings">https://github.com/geany/geany/blob/master/doc/geany.txt#file-keybindings</a> would be cool.</p><hr>

<p>In <a href="https://github.com/geany/geany/pull/2859#discussion_r684602201">src/document.h</a>:</p>
<pre style='color:#555'>> @@ -244,6 +244,8 @@ gboolean document_reload_prompt(GeanyDocument *doc, const gchar *forced_enc);
 
 void document_reload_config(GeanyDocument *doc);
 
+void force_reload_all(void);
</pre>
<p>Seems like a left-over.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2859#discussion_r684602544">src/callbacks.c</a>:</p>
<pre style='color:#555'>> @@ -335,6 +335,21 @@ void on_toolbutton_reload_clicked(GtkAction *action, gpointer user_data)
        document_reload_prompt(doc, NULL);
 }
 
+/* reload all files */
+void on_toolbutton_reload_all_clicked(GtkAction *action, gpointer user_data)
</pre>
<p>The function name somewhat suggests there is a toolbar button while it is not.<br>
It might be unlikely that we will add a toolbar item for this functionality, so I think it's worth to rename the function to make it less confusing.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2859#discussion_r684602662">src/callbacks.c</a>:</p>
<pre style='color:#555'>> @@ -335,6 +335,21 @@ void on_toolbutton_reload_clicked(GtkAction *action, gpointer user_data)
        document_reload_prompt(doc, NULL);
 }
 
+/* reload all files */
+void on_toolbutton_reload_all_clicked(GtkAction *action, gpointer user_data)
+{
+       guint i;
+       gint cur_page = gtk_notebook_get_current_page(GTK_NOTEBOOK(main_widgets.notebook));
+       
+       foreach_document(i)
+       {
+               if (! (documents[i]->file_name == NULL))
</pre>
<p>Fine!<br>
What do you think about additionally ignoring documents which have <code>doc->changed</code> set?<br>
It might be surprising for the user if changed documents get reloaded and the unsaved changes will be lost without a warning.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2859#pullrequestreview-724802554">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3JFUDZR4B7ZHS3J7LT3TTU7ANCNFSM5BN3PO7A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7K6NSVE6LDDHO3CSDT3TTU7A5CNFSM5BN3PO7KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFMZZX6Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2859#pullrequestreview-724802554",
"url": "https://github.com/geany/geany/pull/2859#pullrequestreview-724802554",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>