@elextr commented on this pull request.
> @@ -92,6 +92,17 @@ signal void (*document_reload)(GObject *obj, GeanyDocument > *doc, gpointer user_d */ signal void (*document_before_save)(GObject *obj, GeanyDocument *doc, gpointer user_data); +/** Sent before save as is performed with the original document. + * + * @param obj a GeanyObject instance, should be ignored. + * @param doc the original document. The document with the new file name is still + * reported by the "document-save" signal sent afterwards. + * @param user_data user data. + * + * @since TODO + */ +signal void (*document_before_save_as)(GObject *obj, GeanyDocument *doc, gpointer user_data); No, the plugin should not block a user saving a file, under any circumstances. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3572#discussion_r1346608610 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3572/review/[email protected]>
