<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><pre style="white-space: pre-wrap;">Thanks Rob that was it.</pre><pre style="white-space: pre-wrap;">I changed disableIndentCorrections from ‘1’ to ‘emptyLines’ in the Python bundle and it has reverted to the old behaviour.</pre><pre style="white-space: pre-wrap;">{ disableIndentCorrections = 'emptyLines';
indentOnPaste = 'simple';
}</pre><pre style="white-space: pre-wrap;">Pretty sure I have was using default settings before.</pre><pre style="white-space: pre-wrap;">—</pre><pre style="white-space: pre-wrap;">Iain</pre><pre style="white-space: pre-wrap;"><br></pre><pre style="white-space: pre-wrap;">><i> On alpha.9517 the auto indentation seems to have changed that if you
</i>><i> leave a blank line after a function TextMate will keep indenting
</i>><i> subsequent lines.
</i>><i>
</i>><i> def boo():
</i>><i> """docstring for boo"""
</i>><i> pass
</i>><i>
</i>><i> print <— this line is automatically indented unless you use ⌘[
</i>><i>
</i>><i> I had a look in the Python bundle and the language grammar is
</i>><i> unchanged. Am I missing a setting somewhere to revert to the old
</i>><i> behaviour?
</i>
From the release notes…
><i> It is now possible to set the `disableIndentCorrections` to
</i>><i> `emptyLines`. This will disable the indent corrections only when
</i>><i> typing on empty lines, which has been made default for HTML.
</i>
I’m sure it has something to do with that, though it doesn’t sound
like anything should change (outside of HTML) if you were still using
default settings. Then again, if you were using default settings, the
behavior you’ve noticed would not be new. (I disabled it a long time
ago.)
I’m using “emptyLines” now just to see if there’s a benefit.
Before, I was using “:true”. I haven’t figured out the difference
yet.
--
Rob McBroom
<a href="http://www.skurfer.com/">http://www.skurfer.com/</a>
-------------- next part --------------</pre><div><br></div></body></html>