Indentation based on brackets

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Peter J.

Indentation based on brackets

Post by Peter J. »

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.
Ed

Re: Indentation based on brackets

Post by Ed »

There is some freeware that works very well from
http://perso.club-internet.fr/cbeaudet/
- naturally this integrates with TextPadto do what you want.
Read the notes that come with it, turn off everything you don't want
Post Reply