daddel80 / notepadpp-multireplace

MultiReplace is a plugin for Notepad++ enabling multi-string replacement, allowing list saving and loading. It provides CSV syntax highlighting and enabling precise column targeting. Additionally, it introduces conditional and computational operations within the replacement string.
GNU General Public License v2.0
20 stars 7 forks source link

Wrong dlgID in multiReplace() #9

Closed vinsworldcom closed 1 year ago

vinsworldcom commented 1 year ago

The member dlgID should:

        // the dlgDlg should be the index of funcItem where the current function pointer is
        // in this case is DOCKABLE_DEMO_INDEX

That is 0 from:

notepadpp-multireplace/src/PluginDefinition.cpp:

71:     setCommand(0, TEXT("&Multi Replace && Mark"), multiReplace, NULL, false);
72:     setCommand(1, TEXT("&About"), about, NULL, false);

however, it is set to 3.