Indentation based on brackets
Posted: Mon Jan 20, 2003 10:41 pm
Hello everyone.
Is there some way (search & replace or otherwise) that I may indent lines of code based on the level of nested brackets? That is, I would like to find the inner most nested text and indent those lines according to their level within other brackets: top level - no indentation, next level - indented once, next level - indented again, etc.
I hope I've made sense here. FoxPro has a function that did just that. It is called 'Beautify' and works wonderfully.
Thanks for any input,
Peter.
Is there some way (search & replace or otherwise) that I may indent lines of code based on the level of nested brackets? That is, I would like to find the inner most nested text and indent those lines according to their level within other brackets: top level - no indentation, next level - indented once, next level - indented again, etc.
I hope I've made sense here. FoxPro has a function that did just that. It is called 'Beautify' and works wonderfully.
Thanks for any input,
Peter.