On Apr 20, 2008, at 1:11 PM, [EMAIL PROTECTED] wrote:

On 19-Apr-2008, at 10:58, Jim Correia wrote:
On Apr 19, 2008, at 12:26 PM, [EMAIL PROTECTED] wrote:

Is there a way to specify the wrap margin when launching bbedit from the cli? Is there a way to specify it as a HARD wrap? Is there anyway to tell BBEdit to hard wrap a new document? All the instances of 'wrap' in the manual are about soft wrap.

What specifically are you doing?

Editing files form the CLI that need to be wrapped at 72 characters.


I can do this with nano and vi (eg vim +'set tw=72'), but not in bbedit.


That is still somewhat vague.

Are you doing the equivalent of

user types `emacs file`
user edits file
user saves file and exist to terminal

Or are you trying to use the bbedit tool as your EDITOR for some other terminal based software?

If this is the later, I'm having deja vu. Didn't we just have a long thread about this?

There is on specific feature in BBEdit that will automatically enforce hard wrapping to a certain width. You are, of course, free to hard wrap the text before you save and close the document.

It sounds like you want to automate this. If you are using the bbedit tool as your editor, I'd suggest wrapping it in a script so you can post-process the results.

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