@techee 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); Hmm, I'm not sure if plugins should be allowed to do that and what exactly would this be good for. Do you have some example? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3572#discussion_r1346508094 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3572/review/[email protected]>
