Page 1 of 1

Automatic Reverse Indent

Posted: Mon Nov 13, 2000 8:59 pm
by Y Chen
I've searched through this forum and this site to no avail, so I hope I am not repeating a question someone else has already asked. My quandary is as such:

I have a line of text that wraps onto the next line, say something longer than 78 characters or so. I would like some sort of macro (or feature?! :) ) that will enable me to reverse indent this line automatically. To be more specific:

[normal wordwrap, wrapped to X-chars wide]
This is a sample paragraph that is traditionally wordwrapped
to be flush with the left side of the first line.

[reverse indented, wrapped to X-chars wide, indented 5 spaces]
This is another sample paragraph of how I would like Textpad
to wrap my lines, so that every subsequent line, but not
the first is indented a specified number of spaces.

I realise that I could simply place a hard carriage return and indent the next line with 'Maintain Indent' enabled. But when you're faced with 100+ lines of text to reverse indent, it is not as easy or quick!

I would think that something like this could be done with a Macro... can anyone help? Even more, it would be awfully nice if TextPad had it built in as a feature!

RE: Automatic Reverse Indent Addendum

Posted: Mon Nov 13, 2000 9:04 pm
by Y Chen
Alright, so the posting parsers/HTML killed my formatting. :P The above post looks a bit daft as it is. My examples should be more like:

[normal wordwrap, wrapped to X-chars wide]
This is a sample paragraph that is traditionally wordwrapped
to be flush with the left side of the first line.

[reverse indented, wrapped to X-chars wide, indented 5 spaces]
This is another sample paragraph of how I would like Textpad
.....to wrap my lines, so that every subsequent line, but not
.....the first is indented a specified number of spaces.

The ..... are meant to be five spaces. Pretend Visible Spaces is on, I suppose.

RE: Automatic Reverse Indent Addendum

Posted: Tue Nov 14, 2000 10:01 am
by Alan Bellows
It sounds like what you need is a "hanging indent," which in unsupported by TextPad so far as I know. The only way a macro could do it would by by placing a line break X characters into a line, then indenting the rest... a bit of a sloppy fix. Perhaps you could suggest the feature as an enhancement to Textpad via the Feedback link at the top of this page.

Alan Bellows
Software Developer, Epixtech inc