Please test this tiny macro on several files (including empty ones) without any text selected.
The macro DOES NOT CHANGE THE FILE.
If no text is selected, the GetString should never be executed.
But it sometimes does and I cannot figure out why/when.
I'm using UltraEdit Text/Hex Editor (x64) Version 26.20.0.6.
The macro DOES NOT CHANGE THE FILE.
If no text is selected, the GetString should never be executed.
But it sometimes does and I cannot figure out why/when.
Code: Select all
PerlReOn
Find RegExp SelectText "xsftq"
Replace All "`"
IfFound
GetString "ERROR"
EndIf