On Apr 21, 2008, at 11:10 AM, [EMAIL PROTECTED] wrote:

We talked about this peripherally as I am using bbedit as my editor for slrn and I was trying to figure out how to post-process the file to wrap the text. This avenue dead-ended though as everything I tried either wrapped the headers as well, destroying the message, or re-wrapped the quoted material incorrectly, messing up the quoting.

for example, if I select the entire post's body
<<<QUOTE
> this
> is a sample of some quoted text that is spaced out over a few lines
> and is more than 72 characters

And here is my reply which is also over seventy-two characters in length, but just.

QUOTE;

and then I rewrap it within BBEdit

Which command are you using?

Hard Wrap will just hard wrap everything.

Rewrap Quoted Text is quote sensitive (and will work on unquoted blocks too.)

So, I cannot simply select the entire body of the post to rewrap. I only want the NEW content to be wrapped.

Another solution (which may not work since it will touch the original content if it is longer than the wrap limit) is to select all then choose "Add Line Breaks". This will put a hard line break at every softwrap point. (Or you could be more selective about which lines get this treatment by invoking a custom script.)

This is still a manual process unless you automate in some way beyond the bare `bbedit` tool.

Well, yes, that SOUNDS like the best solution, but as you can see, the issue of wrapping is not that cut-and-dried and this would take a rather smart script.

A simple implementation via script might be to just ignore lines that begin with >. (That still may have undesirable effects on your headers, so they might need another special case.)

Still, it seems rather a long way to go for something that, as far as I can tell, every CLI editor has and would take simply having some way to tell bbedit "use hard wrap instead of softwrap" since other than that, bbedit/BBEdit behave exactly like I want.

`bbedit` isn't a command line editor, just (extremely convenient) glue to the GUI app, which doesn't have the feature that will automatically hard-wrap new content as you type.

Jim

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to