On Aug 10, 2013, at 1:34 PM, Joshua Wilson <[email protected]> wrote:
> So is there any way to either fix my preferences to do the softwrap for the
> project
I can think of a few things that might help:
1. Set BBEdit's default to soft-wrap
2. Set a hot key for your soft-wrap preference
But having a number after your log files' extension is problematic.
> create an applescript that will both soft wrap to the window width as well as
> search and replace >< with >\r< automatically or where I can at least bind it
> to a key?
The following applescript will do both, you can assign it a hot-key. There's
probably a way to replace in the frontmost project, but I'm not certain how to
do that.
tell application "BBEdit"
tell window 1 to set soft wrap text to true
replace "><" using ">\\n<" searching in text of front window options
{search mode:grep, starting at top:true, wrap around:false, backwards:false,
case sensitive:false, match words:false, extend selection:false}
end tell
--
This is the BBEdit Talk public discussion group. 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].
To post to this group, send email to [email protected].