MATLAB auto-indent broken - how to fix?
Submitted by Wednesday, 19 April, 2006 - 02:22
on
I've just tried the MATLAB mode for jEdit, and I can't get the auto-indent to work properly. I think it's because some of the XML is out of date and no longer supported: I don't think 'indentPrevLine' is a valid property any longer. I think that the correct property to use would be 'indentNextLines' for MATLAB, since there are no curly braces around code blocks, only an if, while, else, etc, followed by an 'end'.
My question is: how do I decrease the indent when an 'end' statement is encountered?
My question is: how do I decrease the indent when an 'end' statement is encountered?