Bare Bones Software, Inc.

Skip Navigation


This page documents all feature enhancements and bug fixes included in the BBEdit 5.0.2 maintenance update.


Enhancements

General Enhancements

The "Save" command is now enabled for new untitled documents (including documents created from stationery).

Added "Honor Option Settings" to the State preferences; if turned on, BBEdit will load document option settings (including printing settings and the printing font) from the document's saved BBEdit state, if any. If turned off, then BBEdit will use the preferences to determine the document settings.

Multiple selection is now possible in certain browser windows (specifically, error browsers, Search Results, and Replace Results). This makes it possible to do batch opens and deletes of items in such browsers.

HTML Tools Enhancements

The Comment tool now maps < to [[, > to ]] and -- to ~~ when doing transformations while commenting and un-commenting. This preserves the capability of maintaining well formed comments and avoiding comment parsing bugs in browsers while eliminating the use of 8 bit characters.

The List Tool now offers an option to generate closing tags for list items as it marks up text or generates new lists.

When presenting lists of errors, BBEdit will now only beep if the results contain errors (as opposed to just warnings and/or notes).

The "no errors" alert presented by the HTML checker no longer beeps.

Persistent includes are now fully nestable. Note that as a result of this improvement, the "#insert#" directive is no longer necessary and has been deprecated. (The "Insert" command has been removed from the "Includes" submenu.) It will continue to be supported for some time, but you should get out of the habit of using it.

When encountering a closing </P> with no corresponding opener, BBEdit will now provide a more useful error message.

The site updater will now guard against unclosed persistent include directives, and will report an error rather than replacing the document's content up to the next persistent include directive.

FTP Tools Enhancements

The FTP tool is now integrated into the BBEdit application proper; the "FTP" plug-in is no longer needed and should be discarded. This reduces aggregate package size, increases reliability of the FTP tool, and facilitates future development.

The "New Folder" button in the "Open from FTP" and "Save to FTP" dialogs has been reworked; on systems with the Appearance Manager installed (Mac OS 8.0 or later, generally), the button will appear as it does in the standard "Save As" dialog. Otherwise, the button reads "New Folder", and system services are used to draw the button, so that looks normal.

AppleScript Interface Enhancements

Added "Show Function Position" property to the scripting dictionary; this property reflects the state of the "Show Function Position" setting for a window, and changing it will show and hide the function display.

The "inside tag" scripting command can now be used for close tags.

Fixes

General Fixes

Fixed bug which would sometimes cause random memory to be stomped when bringing BBEdit to the front and rescanning the BBEdit Glossary or BBEdit Scripts folders was necessary.

Fixed bug in which files which have never been saved (i.e. new documents) would not be searched when performing a multi-file search with "Open Windows" selected.

When a file is reloaded as the result of verifying, the selection range should stay fixed on the screen (if it was visible before verification).

Fixed crash that would sometimes occur when clicking on the horizontal scrollbar in a Find Differences window.

Fixed a cosmetic bug that would result from clearing items in an error/search results window.

When clicking the pencil in the status bar of a file checked out for modification from a Projector database, BBEdit would change the pencil to the dashed-slash pencil (which indicates an MRO file), without actually changing the file's Projector state. This no longer happens; the pencil's appearance will no longer change in these circumstances.

Fixed a bug in which the beach ball would remain after updating the front document.

In a drag that contains both file and text flavors, BBEdit prefers the file flavor. This fixes a bug when dragging in images from Cumulus or other programs that supply both kinds of data.

Fixed bug in which the "Honor Saved State" switch was not being honored in the case of document options and other state settings.

HTML Tools Fixes

If you are within an open <OPTION> tag, and the close tag is implied, selecting edit tag (or using the <OPTION> command) will edit the tag you are in rather than insert a new one within it.

fixed bug in which clicking on the same-numbered item in an error browser window would sometimes result in nothing happening.

when presenting an error browser which contains only a single error, a beep is now sounded. (Previously, two errors were required to trigger the beep.)

Fixed a bug in Tag Maker where it would allow you to insert markup in the middle of a comment.

Fixed problem where the center and right values for the align attribute were being transposed by the table tag editor.

If you are within an open paragraph tag, and the close tag is implied, selecting edit tag (or using the paragraph command) will edit the tag you are in rather than insert a new one within it.

Corrected the 21987 error that occured when you clicked on the preview popup quickly.

The Preview button is now consistent in enable state with the submenu and popup - a window with contents is required.

fixed bug in which the syntax checker would fail to flag un-encoded entities as errors.

fixed bug in which the URL encoder was unnecessarily encoding the exclamation point ("!").

fixed bug in which the SGML parser didn't correctly handle attributes quoted with single quotes.

Click and Release on systems >8.0 results in a sticky menu. If you clicked and released on the preview menu, it rebuilt the browser menu, but if the desktop databases were not in cache, by the time it had done so the mouse was no longer down, and the menu would flash on the screen and disappear. The menu is now rebuilt on a much more conservative basis and this problem is avoided.

When generating FRAMESET markup, the insertion point is left between the FRAMESET open and closer instead of after the closer which was annoying.

fixed a small memory leak which would occur when doing an "Edit Tag".

Fixed a false positive in the syntax checker where it would erroneously report an error if an entity name contained numbers.

fixed a bug in which the "Don't Update 1x1 Images" setting wasn't being honored.

fixed an excessive recursion in Balance Tags which could cause a crash.

fixed a bug in which an un-encoded "<" followed by an alphabetic character would cause the SGML parser to get confused.

Fixed a bug in the text preview which was causing certain body content to be generated all uppercase that shouldn't have been.

Fixed a bug in the text preview wrapping algorithm where it would eat the first character of some paragraphs.

When specifying the end portion of a persistent include, the parser would allow you to close an "#include" or "#bbinclude" directive with either "end include" or "end bbinclude". This caused problems when the syntax was mixed within a single document, and include pairs were misparsed. You MUST end an #include with an "end include" and a #bbinclude with an "end bbinclude" now. (An error will be reported otherwise.)

Fixed a bug where the site/folder updater would think it hadn't updated a file (specifically if a file had includes but none of those includes had any placeholders) and thus wouldn't write it out.

The "#dont_update#" placeholder works now.

The text area of the error browser window is now correctly cleared when the window is reused.

FTP Tool Fixes

Fixed bug in which saving a local file to an FTP server using the built-in tool was causing a crash on pre-8.5 machines.

Fixed bug in the FTP tool in which the list wasn't updated correctly after deleting an item.

BBEdit no longer puts a proxy icon in windows opened via FTP.

AppleScript Interface Fixes

Fixed broken-ness in the getting and setting of certain window display properties.