Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daddel80 committed Jun 25, 2024
1 parent 3b30658 commit 15db836
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ MultiReplace is a Notepad++ plugin that allows users to create, store, and manag
- [Option 'Use Variables'](#option-use-variables)
- [Variables Overview](#variables-overview)
- [Command Overview](#command-overview)
- [DEBUG option](#debug-option)
- [User Interaction and List Management](#user-interaction-and-list-management)
- [Context Menu and Keyboard Shortcuts](#context-menu-and-keyboard-shortcuts)
- [List Columns](#list-columns)
Expand Down Expand Up @@ -133,7 +134,7 @@ Custom variables maintain their values throughout a single Replace-All or within
| `(\d+)` | `init({COL2=0,COL4=0}); cond(LCNT==4, COL2+COL4); if COL==2 then COL2=CAP1 end; if COL==4 then COL4=CAP1 end;` | `1,20,text,2,0`<br>`2,30,text,3,0`<br>`3,40,text,4,0` | `1,20,text,2,22.0`<br>`2,30,text,3,33.0`<br>`3,40,text,4,44.0` |
| `\d{2}-[A-Z]{3}`| `init({MATCH_PREV=''}); cond(LCNT==1,'Moved', MATCH_PREV); MATCH_PREV=MATCH;` | `12-POV,00-PLC`<br>`65-SUB,00-PLC`<br>`43-VOL,00-PLC` | `Moved,12-POV`<br>`Moved,65-SUB`<br>`Moved,43-VOL` |

#### **Using the DEBUG option**
### DEBUG option

The `DEBUG` option lets you inspect global variables during replacements. When enabled, it opens a message box displaying the current values of all global variables for each replacement hit, requiring confirmation to proceed to the next match. Initialize the `DEBUG` option in your replacement string to enable it.

Expand Down

0 comments on commit 15db836

Please sign in to comment.