On 01/03/2013 21:06, Patrick Woolsey wrote:
At 12:45 -0700 03/01/2013, LuKreme wrote:
If BBEdit did not have a Hard Wrap function and you had to recreate it
via a text factory, would it be possible?
Not with a text filter, though one could do this with a suitable script.
No, Patrick, this can be done with a text filter. For example:
#!/usr/bin/perl
use strict;
use Text::Wrap;
$Text::Wrap::columns = 72;
my @text;
while (<>) { push @text, $_ }
print wrap('', '', @text);
JD
--
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.