Find out more about the “Show Off Your Avatar Campaign
RocketTheme  |  General  |  The Water Cooler  |  Topic: Any Notepad ++ pros around « previous next »
Pages: [1] Go Down Print
Author Topic: Any Notepad ++ pros around  (Read 1099 times)
A CORNFORTH
Jr. Rocketeer
**
Offline Offline

Posts: 37

Any Notepad ++ pros around
« on: June 11, 2008, 11:35:25 AM »

What i want to get done is fill opening tags and closing tags for content i have to do for a site

Its tons of products from manufacturers websites that i need to style, what i am doing is is using notepad ++ to fill down and insert the <li> tag for the content but for the life of me i cannot find a way to insert the closing tag at the end of each line</li>

for a better example my content looks like this ( of course its actual text in my case)

features

<li>111111111111111111111111111111111111
<li>111111111111111111111111111111111111
<li>111111111111111111111111111111111111
<li>111111111111111111111111111111111111
<li>111111111111111111111111111111111111
<li>111111111111111111111111111111111111
<li>111111111111111111111111111111111111

with notepad ++ i can run a  command to fill down and insert <li> so that is pretty easy, but now i want to fill down and insert at the end as well with </li>
this will save me coping and pasting for hours

I really hope someone knows how i can go about it as i have a few hundred products to do.
Logged
Mack
Hero Rocketteer
*****
Offline Offline

Posts: 520

Re: Any Notepad ++ pros around
« Reply #1 on: June 11, 2008, 01:41:09 PM »

Couple ways. You can try the column editor (Alt+c)
or
record a macro - hit end type the text - arrow down to the next eol
then run macro multiple times (example, for number of lines you have)

Make sure you test on a copy, not the original.

You could look at this one: http://crimsoneditor.com/

Although it's very old, it still works well. The "Column Mode" on it works much better than Notepad++. With it, your edit would take about a minute.

Another tool you might want to look at, http://www.asap-utilities.com/ You can add text begin/end or anything, when finished, export as a text file.
« Last Edit: June 11, 2008, 01:42:49 PM by Mack » Logged
Pages: [1] Go Up Print 
RocketTheme  |  General  |  The Water Cooler  |  Topic: Any Notepad ++ pros around « previous next »
Jump to: