On Monday, August 1, 2011, jimijon <[email protected]> wrote:

if (selection of w as text) is "" then
set target to w
else
set target to selection of w

For a long time we have recommended against targeting windows for text operations, and beginning with BBEdit 10, it is no longer supported. However, targeting a "text document", by name, or by number ("text document 1" is the active one) is both correct and future-proof.

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

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