Hi all,
I hope someone can answer a question for me.
I've created some macros that perform multiple search and replace operations on a block of selected x86 assembly in order to transform it.
The start is:
InsertMode
ColumnModeOff
HexOff
PerlReOn
Find RegExp SelectText "^//([0-9A-F\?]+).*$"
Replace All "$1"
Find RegExp SelectText "\r\n"
Replace All ""
This works just fine for me on my machine (and has done so for a few years). However I've copied the macro across to another machine as I've upgraded my dev box, and it no longer works.
From what I can tell, the selection doesn't persist in the new UltraEdit installation - even after exporting/importing my settings.
i.e.
The second (and subsequent):
Find RegExp SelectText "\r\n"
Replace All ""
commands don't work because the text is no longer selected after the first Find/Replace operations.
Anyone have any idea why this would be? I'll have to hack around it by adding a bunch of SelectToBottom lines (and then make sure I'm only doing this at the end of a text file)... which I'd rather not have to do.
Thanks.
I hope someone can answer a question for me.
I've created some macros that perform multiple search and replace operations on a block of selected x86 assembly in order to transform it.
The start is:
InsertMode
ColumnModeOff
HexOff
PerlReOn
Find RegExp SelectText "^//([0-9A-F\?]+).*$"
Replace All "$1"
Find RegExp SelectText "\r\n"
Replace All ""
This works just fine for me on my machine (and has done so for a few years). However I've copied the macro across to another machine as I've upgraded my dev box, and it no longer works.
From what I can tell, the selection doesn't persist in the new UltraEdit installation - even after exporting/importing my settings.
i.e.
The second (and subsequent):
Find RegExp SelectText "\r\n"
Replace All ""
commands don't work because the text is no longer selected after the first Find/Replace operations.
Anyone have any idea why this would be? I'll have to hack around it by adding a bunch of SelectToBottom lines (and then make sure I'm only doing this at the end of a text file)... which I'd rather not have to do.
Thanks.