SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: crazydvmonkey on May 26, 2010, 06:54:04 pm

Title: Aliases Help
Post by: crazydvmonkey on May 26, 2010, 06:54:04 pm
Hi everyone,

I have searched high and low for an answer in past threads, but with no luck, well, as far as I can see.

In a HTML sheet, I need a surround with code that surrounds (ends) every line selected with
At present it is only surrounding the last line of the script.

I am running version along with Windows 7.

Thanks in advance.
Title: Re: Aliases Help
Post by: Lee on May 26, 2010, 07:16:32 pm
If it is unconditional, then you could you use Search and Replace to append
 at the end of lines in a selection.

Search for: $
Replace with:

Look in: <Current Selection>
Use: Regular Expression (Perl or Unix)

You could record that as a macro and recall it anytime, or bind the recorded macro to a key.