I suspect you accidently did a "select all" and hit option-command-A (edit each line in selection),  and then hit return. You can fix this pretty quickly with the regular expression Jerry described.


Kyle H. Ambert
Fellow, National Library of Medicine
Department of Medical Informatics & Clinical Epidemiology
Oregon Health & Science University

On Thu, May 26, 2011 at 9:39 PM, Marius Hofert <m_hofert@web.de> wrote:
Dear all,

I opened a file I recently worked on [.R] and realized that there is a blank/new line every other line. So instead of ...
a b c d e
f g h i j k
l m n o p
... I have ...
a b c d e

f g h i j k

l m n o p

I must have accidentally hit some key combination before I save the file. Is this possible? Is there any simple way to undo this? Going through by hand and even with find next + replace it's tedious.

Cheers,

Marius

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate