[TxMt] obj-C snippet "method", do you see same behavior?
throw-away-2 at macromates.com
Sun Dec 23 02:26:29 UTC 2007
On 20 Dec 2007, at 22:07, Artie Ziff wrote:
> I notice the objective-C snippet called "method" (invoked with
> control-shift-m) is producing 3 spaces as indent before the "return
> nil;" statement. I check the snippet in the bundle editor and see it
> is indeed a tab in the code. What might be causing the output of the
> snippet to become three spaces in the objective c file? My soft tabs
> are set for 4 spaces. Thank you for any advice.
This is a present limitation of the snippet system, for snippet mirror
transformations, it might not always convert tabs to the right amount
of spaces, when the user has enabled soft tabs.
For now the workaround is to just replace the tab with four spaces.
More information about the textmate