On 9/12/2011, stevedennie said:

I've been through all of the pref menus, but can't find a solution.

Am I missing something, or was this functionality removed?

I tend to write entire paragraphs on one "line" in the HTML document, so I find the current behavior less than ideal.

It was easy enough to work around, it, though. Try the following search-and-replace grep pattern:

Find: ^(.+)(\r?)(?:\r?)
Replace: <p>\1</p>\2

Make sure "[x] Grep" and "[x] Select text only" are both checked. Select the paragraphs you want to tag, and run that search-and-replace.

I have it as a saved pattern, so it's not like I'm typing it every time.

Could always put this in a script or a Text Factory, too, so that it could have a command-key assigned to it.

Of course it would be idea if there were some way to tell the HTML tools that you want this tag applied to each line of the current selection, instead of the whole selection at once. That would work wonderfully for <li>, <p>, <div>, and lots of other cases.

Seth

--
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>

Reply via email to