Author Topic: Aliases Help  (Read 2577 times)

crazydvmonkey

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Aliases Help
« 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 14.0.0.7 along with Windows 7.


Thanks in advance.
« Last Edit: May 26, 2010, 06:56:31 pm by crazydvmonkey »

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Aliases Help
« Reply #1 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.