Thanks Bruce. I did notice after if I had something like:
<ul>
<li>This is my "Book 1"</li>
<li>Book 2</li>
<li>Book 3</li>
</ul>
and the cursor was in "Book 1" that Balance will grab inside the quotes
where the Balance Tags gets everything in the tags of course. I guess I was
just seeing similar behavior because I was not in another enclosing pair of
(), {} or whatever.
On Thursday, November 14, 2019 at 11:22:22 PM UTC-5, Bruce Van Allen wrote:
>
> A difference is that "Balance" checks things other than html
> tags - like parentheses & bracket pairing in text and code files.
>
> Another aspect of "Balance" can give you different behavior:
>
> From Expert Preferences:
> By default, the "Balance" command (or double-clicking on a
> delimiter to balance) does not include the delimiters in the
> resulting selection. If you would like for it to do so:
> defaults write com.barebones.bbedit BalanceIncludesDelimiters
> -bool YES
>
> HTH
>
> On 11/14/19 at 5:16 PM, [email protected] <javascript:> (Simdude)
> wrote:
>
> >I'm having trouble seeing the difference between Balance and
> >Balance tags. For example, with this code snippet:
> >
> ><ul>
> ><li>Book 1</li>
> ><li>Book 2</li>
> ><li>Book 3</li>
> ></ul>
> >
> >If my cursor is on "Book 1" and I use either Balance or Balance
> >tags, the result is the same. All of Book 1 is selected. If I
> >hit either again, everything between the ul tags is selected.
> >So, when do these two operations act differently?
> >
> >Mark
> >
> --
>
> - Bruce
>
> _bruce__van_allen__santa_cruz__ca_
>
>
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://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 view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/5ea86dbe-8218-4060-8dc2-306e519e732d%40googlegroups.com.