SUPPORT : BBEdit : Archived Release Notes : BBEdit 5.1.1 Release Notes
This page documents all feature enhancements and bug fixes included in the BBEdit 5.1.1 maintenance update.
Enhancements
General Enhancements
-
When using the Preferences dialog to change the suffix mappings for languages, BBEdit will now update any open editing windows which are affected by the change.
-
BBEdit now supports the "re-open application" event that is sent by Mac OS 8.0 and later when you double-click on the application icon in the Finder and BBEdit is already running. If you do this, -and- BBEdit has no document windows open, BBEdit will perform the action specified in the Startup preferences. (Note that this will generally only work if you double-click on BBEdit's icon in the finder; if you do this from a third-party application launcher, it will probably not send the appropriate event to BBEdit.)
-
When doing a close all from the UI, clean windows are closed first from back to front, then dirty windows from front to back. This results in a much faster Close All operation.
-
The "Exchange Command and Option" switch in the Editor section of the Preferences has been split in two; you can now swap the semantics of Command and Option separately for horizontal cursor movement (including the Backspace and Forward Delete keys) and for vertical cursor movement.
-
Go To Next Error and Go To Previous Error now work on the ToolServer Worksheet.
-
You can now use the "Send Command" ToolServer menu command to send commands to ToolServer from an edit window that isn't the ToolServer Worksheet. Output will be appended to the end of the ToolServer Worksheet window.
-
There is a new undo state "ToolServer Output" which is used in the ToolServer Worksheet window.
-
User-defined menu key bindings (as specified using the "Set Menu Keys..." command) are now carried forward from previous versions of BBEdit. It is no longer necessary to reset the factory equivalents to see new menu commands.
Scripting Enhancements
-
BBEdit is now capable of performing scripted multi-file replaces; use the same additional parameters to the "replace" scripting command: "multi-file", "starting at", and so forth. If "show results" is present and TRUE, BBEdit will open up a Replace Results window; otherwise the replace results will be returned as a list of records: { file, occurrences replaced }.
HTML Tools Enhancements
-
When encountering an unknown or invalid doctype, the HTML syntax checker will now report that it is "unknown or invalid" rather than just "invalid".
Fixes
General Fixes
-
fixed bug in which some floating windows would not have title bars when BBEdit was run on versions of the Mac OS prior to 7.5.
-
fixed crash which would occur after doing a Replace All with Wrap Around and without Grep.
-
fixed bug which would sometimes cause junk to be written out in files saved with DOS line breaks.
-
fixed cosmetic in the Editor preferences.
-
If an error occurred during a Check In Folder operation, files that had been successfully checked in wouldn't be removed from the list.
-
fixed bug which would cause the system menu bar's font and size on older systems to be changed when popping up a custom color palette menu.
-
when inserting a file via the "Insert File" command, BBEdit will now read the file's contents off disk, even if it's open (and/or changed) in an editing window. This ensures consistent behavior, and solves problems which occur when you try to use "Insert File" to insert a file into itself.
-
fixed crash in the spell checker which would occur when doing a Replace All and the replacement word was longer then the corrected word.
-
fixed bug in the spell checker in which heavy use of "Skip All" on multiple files would cause an out-of-memory error to be reported, then an unresponsive spelling dialog would be left on the screen.
-
if a file's name ends in " [Perl]" (including the space and the square brackets", BBEdit will treat it as Perl source. This increases usefulness when dealing with MacPerl runtimes.
-
fixed crash which could occur when closing all windows with a Differences window.
-
BBEdit now flows text correctly when soft-wrapping text limited by the Philip bar and Show Line Numbers is turned on.
-
worked around bug in Mac OS 8.5 and later which would cause really wierd things to happen after stacking/tiling windows.
-
worked around compiler bug that would cause a crash when closing the Differences window on 68K machines.
-
Compare Revisions will now show the most recent revision of the file, in the case when the local copy of the file has been MROed.
-
fixed 5.1 bug which caused unmodified F1, F2, F3, F4 keys to work inconsistently.
-
effected some changes to yield a minor reduction in application code footprint.
-
Fixed a bug in which "Find Definition" menu command was dispatched twice.
-
Fixed a bug which would cause a crash if you had more than one error browser up and you closed them in the reverse order of which they were opened.
-
Fixed a bug in Find Definition where the offsets were incorrectly generated in the error browser such that it always selected the beginning of the document.
-
Fixed a bug where the options button in the perl filters palette would become disabled the first time the palette was disabled and would never be re-enabled.
-
fixed bug in which a junk character would be appended to text when doing a Shift Left or Shift Right with the end of the document selected and the last character was not a carriage return.
-
ToolServer output behavior more closely follows that of the MPW shell when executing commands and selections.
-
Multiple undo now works in the toolserver window.
-
files opened via Anarchie's "Edit in BBEdit" interface will no longer appear on the Open Recent submenu; this resolves errors that would occur when choosing the file from the Open Recent submenu at some indeterminate point after having closed the file.
-
files opened via the "Edit in BBEdit" interface no longer get a proxy icon; this resolves errors that would occur when trying to use the proxy icon.
-
made F2, F3, F4 work in the Find dialog as alternatives for Cut, Copy, and Paste (respectively).
-
if the Text Encoding Converter was improperly installed, it would cause BBEdit to die during startup with a debugger break (if Macsbug was installed) or with an error 12 (if not). The cause of the debugger break has been corrected, and the underlying broken-ness of the TEC is now handled more gracefully.
Scripting Fixes
-
When doing a multi-file search or search and replace if the "starting at" parameter cannot be resolved to a directory then an error will be reported. Previously, BBEdit tried to search the front window in this case.
-
fixed OSA terminology bug in which the property code for the "file" property (used in various places) conflicted with the system's property code. Compiled scripts will need to be recompiled, but should work fine after doing so.
HTML Tools Fixes
-
fixed bug in which the file's name would be erroneously inserted when substiting a #root# placeholder.
-
Fixed an attribute case generation problem in the image updater.
-
URL attribute dialogs will no longer change the URL when editing a tag that pointed to the site root.
-
fixed a bug in which Normalize Tag Case would sometimes fail with an "out of memory" error.
-
DOCTYPE related errors are now reported in character offsets rather than line offsets by the syntax checker. This facilitates tracking in soft-wrapped documents and scripted syntax checks.
-
Edit Tag now works correctly for <BR>.
-
The utilities sub-palette had gotten out of sync due to the addition of Normalize Tag Case. Fixed.
-
Fixed a bug in the syntax checker were certain implicitly closed tags weren't flagged with the warning if appropriate.
-
The various checkers, when invoked via apple events, now return offset based errors if they have them.
-
Fixed a bug where a scripted syntax check of a single file would ignore the "show results" parameter.
-
When dropping HTML or image files from the finder onto an HTML document, BBEdit will now only process the first file in the drag and ignore the rest.
-
The include processor can now better detect malformed variables and report them instead of looping until all available memory has been consumed and then reporting an out-of-memory error.