*** From the Archives ***

This article is from April 28, 2010, and is no longer current.

BBEdit 9.5 Released

BBEdit 9.5 is a free update for all customers with BBEdit 9.0 through 9.3. BBEdit 9.5 requires Mac OS X 10.5 or later (10.5.8, 10.6.3 or later recommended). This version is a Universal application: it runs natively on both Intel-based and PowerPC-based Macs.
Additions
* The Quick Search window is gone, and has been replaced by an in-window Live Search bar. Choosing the “Live Search” menu command on the Search menu will open this bar.
As you type in the search field, matches for the string get highlighted in the window’s editing view. The search is always literal and case-sensitive. The “previous” and “next” arrows to the left of the field are useful for navigation; you can also type Return or Shift-Return in the search field to go forward or backward.
The Emacs key bindings ctl-S and ctl-R will open the live search bar if necessary; if the search bar is already open, ctl-S will search forward, ctl-R will search backward (assuming that something is entered in the search field; and also that the Emacs keybinding support is turned on in the preferences).
* BBEdit now offers enhanced script attachability. In addition to adding scripts to menu commands as has been possible for a long time, you can now attach scripts to certain application and document events.
The attachment points (corresponding to the function names in your attachment scripts) are listed below. Except as noted, all of them share the following characteristics:
– Every function takes a single argument, which is a reference to the object in question: the application for application entry points, or the document being opened/closed/saved/etc for document entry points.
– Any attachment point whose name contains should is expected to return a Boolean result: true or false. If it returns true, the operation will continue. If it returns false or throws an error (see below) then the operation will be cancelled. So, for example, applicationShouldQuit returning true will allow the application to quit; returning false will not.
– If an attachment script causes a scripting error and does not handle it within the script itself, BBEdit will report the error. In the case of functions which are used to allow a should action, this will prevent the action from occurring.

>