At 08:31 p -0300 02/09/2014, Nestor E. Aguilera didst inscribe upon
an electronic papyrus:
>On 9 Feb 2014, at 05:07, Steve wrote:
>
> > This is not a function of TextWrangler. While it will indent a
>line to the same level as the previous line, it is not context-aware
>and able to indent or outdent blocks of code intelligently.
And something I had forgotten but remembered the other day upon being
unable to find any sort of "make this document auto-indent now"
doohickey, is that if you press Option+Return, it will do the
opposite of the auto-indent setting. E.g.:
auto-indent off:
Return does not auto-indent
Option+Return auto-indents
auto-indent on:
Return auto-indents
Option+Return does not auto-indent
>On the other hand, I guess it shouldn't be too difficult for the
>BareBones people to make TW to automatically indent python code when
>there is a colon at the end of the line and you hit return/enter.
I was almost going to suggest a script, but that would take longer to
run than just hitting Tab. :D
-boo