legendbb
Member level 1
Dear expert,
What's the best and secure method to turn source code sections as following:
into:
I am looking for something like script, or macro search/replace and reformat text.
Really appreciated, if some quick small example can be shared.
What's the best and secure method to turn source code sections as following:
Code:
if (condition)
[INDENT]do_something{multiple lines}[/INDENT]
else
[INDENT]do_something_else{multiple_lines}[/INDENT]
into:
Code:
[INDENT]do_something{multiple_lines}[/INDENT]
I am looking for something like script, or macro search/replace and reformat text.
Really appreciated, if some quick small example can be shared.
Last edited: