Blame | Last modification | View Log | Download
simpjoin.txt-------------A simply macro to join block of lines separated by End-Of-Line characters into a single line (a paragraph). The characters !? and . are recognised as End-Of-Paragraph characters.A useful preparation before importing texts retrieved from various sources (e-mail, WWW, CD-ROM, scans) into a word processor.Created and contributed by Gerrit Kiers (gkiers@dds.nl)------------------------------------------File name: simpjoin.tpmDisplay name: Simple Paragraph &JoinerAuthor: Gerrit Kiers, January 12 1999Description: A simple but strong paragraph joiner for texts (e-mail, WWW, CD-ROM, scans)Play once.Recorded keystrokes:Ctrl-EndEnterEnterF8: Replace All '\([!.?]\)+[ \t]*\n\([ \t]*.\)' with '\1\n\n\2' [Conditions: Text; RegularE] [Scope: ActiveD]F8: Replace All '\(.\)[ \t]*\n[ \t]*\(.\)' with '\1 \2' [Conditions: Text; RegularE] [Scope: ActiveD]F8: Replace All '\n\n$' with '' [Conditions: Text; RegularE] [Scope: ActiveD]Ctrl-Home