Fix filename in case of NPPN_FILEBEFORESAVE plug-in notification for SaveAs...
Notepad++ project is moving to GitHub:
Brought to you by:
donho
This patch updates buffer filename before sending NPPN_FILEBEFORESAVE plug-in notification for SaveAs operation. NPPN_FILEBEFORESAVE is triggered after the user has entered the new filename in SaveAs dialog so NPPM_GETFULLPATHFROMBUFFERID and NPPM_GETFULLCURRENTPATH shall return the new filename (as the original file is not saved).
This patch is partial implementation of this thread:
https://sourceforge.net/p/notepad-plus/discussion/482781/thread/bdb6269d/#1835
Please do not merge this patch. It has issues with this one:
https://sourceforge.net/p/notepad-plus/patches/635/