By auto-indent, i meant indenting an entire chunk of the code not indent after each return hit. thanks! In matlab medit, you can highlite the entire code block and use cntrl-I to indent the entire section.. In unix, cb is run to beautify c code. Michael W. Ryder wrote: > With Scite once you name the file name.rb or select Ruby from the > language tab it should automatically handle the indentations. > -- Posted via http://www.ruby-forum.com/.