Record search and replace actions into macros
Notepad++ project is moving to GitHub:
Brought to you by:
donho
This functionality used to be available (though buggy) in versions of Nepad++ prior to 5.5.
The attached patch file makes it available in a more reliable way, based on SVN rev 636.
Two testers have found the thus modified code suitable, and all reported bugs were fixed.
Hi Chris
Your recorded steps are too much lengthy. Cannot it be single lined
<Macro name="qwe" Ctrl="no" Alt="no" Shift="no" Key="0">
<Action type="3" message="1668" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="var" />
<Action type="3" message="1603" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1604" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="devared" />
<Action type="3" message="1669" wParam="0" lParam="1635" sParam="" />
</Macro>
So that shortcuts.xml does increase its size too much, if i record 30-40 macros each consisting of 5-8 replaces.
I have to go to menu item for each macro to run. Can't there be a pane like windows pane listing all macros in one column.
It sure can, with the adverse effect that deciding what a macro does won't be obvious from reading shortcuts.xml. If you think that isn't an issu, I can make it way more compact.
As for having a permanently displayed list of macros, that is to be requested on IdeaTorrent. Note that you can assign shortcuts, and a macro can pack many S/R operations.
* Coalesced boolean options recording, so that shortcuts.xml grows less in size;
* Fixed a problem in FindInFiles where some strings were still improperly fetched.
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Hi Chris,
I desperately need this this SnR functionality, can you tell me how to apply this patch?
The number of <Action ... /> records has been reduced in the V3, which the attached patch enables.
To apply the patch, you need
* Notepad++ sources
* The Visual Studio 2005 or 2008 C++ compiler (the free edition is fine)
* A tool to apply patched, like WinMerge. Note that, in the patch file, lines starting in '-' are removed and those starting with '+' are added, so it is possile, though tedious, to apply the patch by hand.
Now, to enable
* apply the patch to Notepad++'s sources
* Back up your current notepad++.exe
* Compile the modified sources. The original SciLexer.dll is good to go.
* Enjoy
Hi Chris,
The patch cannot be applied by svn. Could you do a patch with svn with the latest revision instead of git please?
Don