[TxMt] Re: How do I vary the C indentation?

Berk Geveci berk.geveci at kitware.com
Sat Oct 25 19:15:00 UTC 2008


OK. I gave up on automatically decreasing of the indentation level. I
really like TextMate so I am willing to live with manually doing that.
However, there is another issue. After a close curly, I hit enter and
then delete to decrease the indentation. But, when I end the line with
a semi-colon, the line is indented to align with the previous line
(because TextMate does not know the indentation changed). Is there any
way of turning of re-adjustment of indentation when a semi-colon is
typed? I am guessing this is part of the language grammar but I can't
figure it out...

-berk

On Sat, Oct 25, 2008 at 2:23 PM, Allan Odgaard <mailinglist at textmate.org> wrote:
> On 23 Oct 2008, at 03:21, Berk Geveci wrote:
>
>> [...]
>> Getting the first curly indent right was trivial but I can't figure
>> out how to reduce the indentation _after_ the closing curly. [...]
>
> I'm afraid the indent pattern system cannot express your desired
> convention.
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>



More information about the textmate mailing list