faqts : Computers : Programming : Languages : Tse : Macro

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 2 people (50%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

Computer: Editor: TSE: Line: Wrap: Delete: Empty: How to wrap and delete empty lines from 'cut here'

Feb 28th, 2004 13:44
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 28 February 2004 - 10:35 pm -------------------

Computer: Editor: TSE: Line: Wrap: Delete: Empty: How to wrap and 
delete empty lines from 'cut here'

---
---

In order to run the supplied examples,
which often contain wrapped lines because of the limited line length 
on this web sites:

To get the information on quickly and easily back 1 line without 
having to edit manually, and no empty line in between:

1. Make a note of your old word wrap value (e.g. 71)
   (menu->other->wordwrap)

2. put word wrap
   (menu->other->wordwrap)
   on large value (e.g. 1000).

3. highlight that block

4. do a wordwrap
   (press <ALT><B>)
   to put it on one line

5. If you also want to remove the empty lines, do a Find Do
    (menu->search->find and do),

   1. choose as 'Search for':

    ^$

   2. choose as 'Options':

    igxl

   3. then choose from the list:

   'Delete Line'

6. put your wordwrap back to its old value (e.g. 71)
   (menu->other->wordwrap)

----------------------------------------------------------------------