Monday, November 08, 2010 at 12:00 AM.

system.verbs.apps.BBEdit.hardWrap

on hardWrap (limit = nil, selectionOnly = nil, paragraphFill = nil, width = nil, indentation = nil) { <<Hard-wraps the text (or the text of the current selection) to conform to the parameters.
	<<Revisions:
		<<08/21/95 ECT: made changes to correctly handle no width specification
	if (width != nil) {
		return (appleEvent (BBEdit.id, 'R*ch', 'Wrap', 'WLmt', limit, 'OSel', boolean (selectionOnly), 'PgFl', boolean (paragraphFill), 'Wdth', short (width), 'Indt', indentation))}
	else {
		return (appleEvent (BBEdit.id, 'R*ch', 'Wrap', 'WLmt', limit, 'OSel', boolean (selectionOnly), 'PgFl', boolean (paragraphFill), 'Indt', indentation))}}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.