I find that the main problems are with the "auto-correction" of indentation, you can disable this as follows:<div><br></div><div>+ Add a settings item to the bundle in question (make sure that the scope for the setting item is set correctly).</div>
<div>+ Add this dict to the settings: { disableIndentCorrections = '1'; }</div><div><br></div><div>David.<br><br><div class="gmail_quote">On Tue, Jan 31, 2012 at 5:14 PM, Carsten Hoever <span dir="ltr"><<a href="mailto:hoever@gmx.de">hoever@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Same here with MATLAB as language.<br>
<div class="HOEnZb"><div class="h5"><br>
On 31 Jan 2012, at 16:39, Emmanuel Blot wrote:<br>
<br>
> Hi All,<br>
><br>
> I'm editing C files with TM2, and the auto indentation is often wrong,<br>
> and forces the cursor to move to an unexpected position when I start<br>
> writing a new line.<br>
><br>
> I'm looking for information/guide to:<br>
> * disable the whole auto-indentation feature<br>
> * configure the auto-indentation feature, if it's feasible<br>
> * cancel the last auto-indentation action: Cmd-Z removes both the<br>
> indentation and the typed character. In many others editors, Cmd-Z<br>
> cancels the automatic action, then a second hit remove the last typed<br>
> char. Is there an equivalent in TM2?<br>
><br>
> Thanks,<br>
> Emmanuel.<br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br></div>