Way to replace line breaks with spaces?
Posted: 2010 Dec 03, 10:01
With Editor2, is there a way to automatically replace line breaks with spaces?
Such an option would be useful for reformatting text copied from Acrobat PDF files. Because there's an issue with how text is formatted in PDF files. To format paragraphs and text layout on a page, Acrobat resorts to inserting line breaks between sentences. Here's an example of a copied paragraph from a PDF magazine using Acrobat's text selection tool...
Like chocolate and peanut butter,
tower defense games and zombies
were made for each other. But it
took the twisted genius of casual gaming
impresario Popcap to build
the towers out of wacky plants.
There are also no spaces at the end of each line.
Such an option would be useful for reformatting text copied from Acrobat PDF files. Because there's an issue with how text is formatted in PDF files. To format paragraphs and text layout on a page, Acrobat resorts to inserting line breaks between sentences. Here's an example of a copied paragraph from a PDF magazine using Acrobat's text selection tool...
Like chocolate and peanut butter,
tower defense games and zombies
were made for each other. But it
took the twisted genius of casual gaming
impresario Popcap to build
the towers out of wacky plants.
There are also no spaces at the end of each line.