Hi Adam, yes, that is strange, but, I don't care! Your solution worked!
Thanks!!
Anthony
PS: ...Hopefully, this list lapse is an isolated case.
On Dec 7, 2012, at 1:21 AM, Adam Sharp adsharp@me.com wrote:
On 07/12/2012, at 4:27 AM, Anthony V. Pulido anthony.pulido@gmail.com wrote:
Would anyone know how to fix this so that 1 leading space -> 1 tab?
Strange, I responded to this, but it isn't showing up in the archives and you clearly never saw it. Quoted below.
–Adam
Begin forwarded message:
From: Adam Sharp adsharp@me.com Subject: Re: [TxMt] Replace spaces with tabs at beginning of line Date: 3 December 2012 1:16:38 PM AEDT To: TextMate users textmate@lists.macromates.com
On 03/12/2012, at 12:32 PM, Anthony V. Pulido anthony.pulido@gmail.com wrote:
I just tried that and it is replacing spaces with tabs now, but it replaces all leading spaces with one tab. I tried it on a line with 19 leading spaces, all of which were replaced with one tab. I have set the tab size to 1, 2, 3, etc., without any change in the outcome.
Ah, of course. Tested it myself this time, and what you need to do is steps 1 and 2 (so you have a document with all leading spaces selected). Then, perform a new find and replace *in the current selection* which replaces a single space with a single tab.
–Adam
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate