From 15db836310b41f9d71d732b0dad4478508b1603f Mon Sep 17 00:00:00 2001
From: Thomas Knoefel <53190206+daddel80@users.noreply.github.com>
Date: Tue, 25 Jun 2024 10:09:45 +0200
Subject: [PATCH] Update README.md
---
README.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index c99e3fa..6d83f61 100644
--- a/README.md
+++ b/README.md
@@ -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)
@@ -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`
`2,30,text,3,0`
`3,40,text,4,0` | `1,20,text,2,22.0`
`2,30,text,3,33.0`
`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`
`65-SUB,00-PLC`
`43-VOL,00-PLC` | `Moved,12-POV`
`Moved,65-SUB`
`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.