On Friday, December 20, 2013, unsynchronized
<
jonathan....@gmail.com> wrote:
>On Wednesday, June 27, 2012 9:27:25 AM UTC+12, Andrew H. Min wrote:
>>
>>I just switched to TextWrangler, and love it. The one thing
>>that forces me back to my old editor, DrJava
>><
http://drjava.sourceforge.net/>, is a really handy
>>auto-indent feature. If you had the following code:
>>
>>if(!$false)
>>{
>>if (!$true)
>>{
>>}
>>}
>>
>>
>>and selected it and hit the tab key, DrJava will automatically
>>fix the indents:
>>
>>if(!$false)
>>{
>>if (!$true)
>>{
>>}
>>}
>>
>>
>>It seems like it would be pretty easy to implement this in
>>TextWrangler. Has it been, and I've just been missing it?
You may want to take a look at hooking up Artistic Style
<
http://astyle.sourceforge.net/> to a Unix filter. Seems like it
would be pretty easy to implement this. :-)
R.
--
Rich Siegel Bare Bones Software, Inc.
<
sie...@barebones.com> <
http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.