Join GitHub today
Saving find/replace macro isn't possible #992
Saving even simple macro in Notepad++ ver. 6.8.3 is no longer possible. To prove it I've removed from my system all macros by removing the file C:\Users(...)\AppData\Roaming\Notepad++\shortcuts.xml and restarting Notepad++. Next I've created the following text file:
Next I started to record macro. From menu Find I've chosen Replace and put some commands to replace CRLF with LF (\r\n replace with \n, extended mode). Next I've ordered to stop recording of macro and save current macro (named "kilo"). Unfortunately the file C:\Users(...)\AppData\Roaming\Notepad++\shortcuts.xml wasn't updated. The macro name ("kilo") was visible in menu only as long as Notepad++ was running. When Notepad++ was closed and reopen, macro was no longer visible. My conclusion is that macro recording is no longer working as expected, so I've submitted a bug. There is already the bug #968 which is prety similar, but it seems that its author didn't notice that recording of macros doesn't work at all.