[TxMt] Working with/Deleting empty space in documents ?? Please help !

Mats Persson mats at imediatec.co.uk
Tue Nov 23 13:40:00 UTC 2004


On Nov 23, 2004, at 13:22, Allan Odgaard wrote:
> Record a macro where you do cmd-f, set the find (regex) string to: 
> “\A[ \t\n]+” and press return (to find it), press delete and stop 
> recording.
>
> The initial \A means “start of buffer” and ensures that the sequence 
> of spaces, tabs, and newlines are only matched if they are to the 
> immediate right of the caret.

THANK YOU !!  : )   You've saved me a lot of grief there and what will 
amount to quite a bit of time!.  That little Macro is so good, that it 
should (almost ?) be a standard Macro, or something like that.

Thank you yet again !

Kind regards,

Mats




More information about the textmate mailing list