SUPPORT : BBEdit : Archived Release Notes : BBEdit 8.0.1 Release Notes
BBEdit 8.0.1 Release Notes
This page documents all feature enhancements and bug fixes included in the BBEdit 8.0.1 maintenance update.
For information on changes made in previous versions of BBEdit, please see the release notes archive.
Requirements
BBEdit 8 requires Mac OS X 10.3.5 or later. This is necessary because 10.3.5 contains fixes for bugs which adversely affected the operation of BBEdit.
The folder previously known as "BBEdit Support" is now named "BBEdit" in the file system. To be clear:
~/Library/Application Support/BBEdit
/Library/Application Support/BBEditIf ~/Library/Application Support/BBEdit doesn't exist when the application starts up one will be created for you and filled with the factory default examples.
NOTE: We specifically recommend that you do NOT simply rename "BBEdit Support" to "BBEdit", but that you instead copy over any additions that you have made to the factory "BBEdit Support" folder.
Additions
There are two new preferences in "Editing: General" which allow the user to control the threshold at which proportional and fixed-width fonts are anti-aliased.
-
BBEdit will now optionally warn you if you close a window with more than one document in it. (Turn this off in the Documents prefs panel if you care to.)
The warning does not occur if:
- BBEdit is quitting, or,
- any of the documents is dirty, since you are otherwise warned with the confirm close dialog.
-
"Convert to ASCII" is now available on the Text menu, as well as a Text Factory action.
Convert to ASCII will convert certain eight-bit (character values greater than 128, less than 255) Mac Roman characters to 7-bit (printable ASCII range) equivalents. Converted characters include umlauted and accented vowels, ligatures, typographer's quotes, and various specialized punctuation forms. (Sorry, the interrobang is not represented in this character range and so is not affected.) This conversion may entail expansion to multiple characters; for example, in the case of ligatures.
Dragging items out of the document drawer to the trash behaves the same as if one had dragged the proxy icon for the document there.
Exposed UI for verifying documents at document resume.
-
The window menu now lists the individual documents contained in a multi-document window on a hierarchical sub-menu from the main window's entry.
N.B. This only works for the Window menu in the menubar - the window list in the Dock menu is controlled by the OS.
Changes
The documents drawer now displays the full path to a file in the tooltip by default. (Previously you had to hold down the Command key to see the full path in the verbose tooltip.)
The algorithm for aging saved document state has been modified such that you won't be likely to notice it happening. (To keep storage requirements and performance at reasonable levels, aging still occurs, but is unlikely to be noticeable except in pathological circumstances.)
Double-clicking on an item (or selected range of items) in the Find dialog's sources drawer or the sources sheet for a text factory will now toggle the checked state of the selected item(s).
Small visual enhancement made to the Windows palette to help differentiate multi-document windows from single document windows.
The Open New Documents setting in the First Run dialog now defaults to "Open Documents in Front Window" rather than requiring choice of an option before proceeding.
Fixes
Here's that Welsh auto-indent fix.
When Show Invisibles is turned on, any character that has absolutely zero width at the ATSUI glyph layout level (and doesn't have another substitute glyph, like Return) will be shown as a red '¿' to make it visible.
Fixed a bug where the "Allow Text Smoothing" preference checkbox was incorrectly disabled on some configurations.
F1-F4 once again map to edit menu functions (if they have not already been mapped to other menu commands or glossary items).
Fixed a bug in the HTML syntax checker where the duplicate name/id checker was too aggressive and flagged some duplicates as errors that should have in fact been allowed.
Fixed a bug which would cause BBEdit to disappear without a trace if you tried to use Tidy to reflow a document with the "Indent Block-Level Tags" option enabled.
When performing a P4 Delete operation on a document in a multi-doc window, we now only close the document, instead of the entire window.
Fixed a bug where the HTML syntax checker was using the wrong content model for address elements in XHTML documents.
The setuid bit of the bbdiff tool is no longer set when the tool is being installed.
Fixed a typo in the plural form of source_control_form_window in the AppleScript dictionary.
Fixed a bug where BBEdit would crash in certain situations when changing the status bar visibility in multi-document windows.
When doing a multi-file search, BBEdit no longer examines the contents of files to determine whether they might be text files. Apart from increasing performance, this also resolves situations in which BBEdit might undesirably find (and replace) inside of files you didn't expect it to.
Files whose names end in ".txt" or ".text" are now implicitly mapped as text files when "Map the File Name" is turned on (Preferences -> Text Files: Opening) and no explicit suffix mapping exists.
Fixed bug in which doing a single-file "Find All" on an open document wouldn't search the document if the file on disk wasn't determined to be a text file.
When "Search Invisible Folders" is turned off for multi-file searching, folders whose names begin with a period (.) are now skipped.
Fixed a bug that could cause live-balancing to fail in the presence of embedded (*...*) and {...} comments and possibly even strings.
If an Open by Name search is cancelled, and we were looking for all matches, discard the (partial) cache.
Fixed bug in which the replacement character entered into the Zap Gremlins sheet wasn't honored.
Fixed a bug where clicks were allowed in disabled checkboxes in the multi-file find source list.
The Zap Gremlins sheet no longer lets you confirm it if none of the options (Non-ASCII Characters, Control Characters, Null Characters) are selected or if you have elected to replace with a character but entered zero or multiple characters.
Fixed a bug which could cause the text status bar to draw disabled even though it wasn't.
Fixed crash which would occur in obscure circumstances when reporting Replace All results for certain strings.
Fixed Windows Editing key emulation.
Fixed bug in which the "Delete Duplicates" option had no effect when used for the interactive "Process Duplicate Lines".
Fixed bug in which a couple of the settings in the Process Duplicates sheet weren't saved and restored properly.
Clarified summary text for "Process Lines Containing" text factory action.
Fixed a bug in which soft wrapping was sometimes nonfunctional until you corrected the wrap limit setting.
When displaying single-file Replace All results, BBEdit now escapes any control characters in the search and replace strings for more usable display.
Fixed a crash which would occur if a web site (configured in Preferences -> HTML Web Sites) was selected as a source for a Text Factory document, and then the "Choose" button got clicked again.
Fixed a couple of bugs that conspired to keep web sites (configured in Preferences -> HTML Web Sites) from being re-selected when reopening the Find Dialog drawer or Text Factory sources sheet.
Fixed a bug where the last three Unicode code points in the ASCII Table (also known as the "MacRoman chars at their Unicode code points Table") were truncated.
Removed the duplicate entry for Educate Quotes in the Set Menu Keys list.
Fixed bug in which FTP bookmarks weren't copied over from the legacy Preferences folder. (Note that BBEdit 8 will only look in ~/Library/Preferences/ for legacy prefs.).
Fixed bug in which saved Grep patterns weren't copied over from the legacy Preferences folder. (Note that BBEdit 8 will only look in ~/Library/Preferences/ for legacy prefs.)
Fixed bug in which modified documents which weren't the active document in a multi-document window weren't reported to IDE interface (Xcode, CodeWarrior, LightspeedC) as modified.
Fixed crash which would occur if you had previously chosen an open text document as a source for a Text Factory, then closed the document and subsequently tried to save the factory or click the "Choose" button in its window.
P4->Show Opened works when an alternate Depot is specified.
Fixed crash which would occur when the application was asked to load the scripting terminology (either implicitly, as when saving, or explicitly by a script editor) after it had been started up with the Shift key held down (which disables loading of plug-ins and other services).
Fixed a bug where "Stop Recording..." sometimes didn't write out the script file correctly.
The MFSTask results window opens behind (the just-about-to-disappear) progress window. This way, if you've brought something else to the foreground while a search was in progress, it isn't covered when the next results window opens.
The document drawer size is now remembered.
Fixed bug in which Return didn't proceed to the next logical entry field in FTP browsers (or start the connection, if the focus was on the password).
Fixed a bug where dragging the proxy icon or status bar icon of a document to the trash closed the window even if there were other documents open in it.
Fixed a regression where the HTML Optimize command was disabled unless there was a selection.
Fixed a bug where Update Document was erroneously enabled when the documents drawer had focus.
Fixed bug in which tags files were not correctly located sometimes.
Fixed bug in which the Find dialog sources drawer listed all kinds of results windows under the "Results Browsers" heading, but would report an error if you selected one that wasn't a Search Results window. (You can now search other kinds of results browsers without an error.)
Fixed a bug where moving a locked document from one window to another resulted in the text view being initially modifiable.
Fixed bug which caused file group windows to reject URLs dragged into them.
When dragging a document opened via FTP/SFTP from the Documents Drawer, BBEdit now (correctly) puts a URL in the drag, thus providing behavior consistent with dragging the window proxy icon. (Among other things this fixes the reported problem when dragging such a file from the Documents Drawer into a file group.)
Fixed a bug where when switching between two documents in a multi-document window that had different display fonts, the text view didn't synchronize with the font panel.
Fixed a bug in the codeless syntax coloring scanner that would cause it to hang while typing strings if you haven't defined any escapes for strings.
Fixed bug in which URL resolution didn't work correctly for Open Selection in HTML documents (or documents whose content looked enough like HTML that they were treated as such) -and- prevented other search strategies from being used.
Fixed a crash canceling a P4 opened command.
The drag well for CVS roots now accepts folders and rejects files, as it should always have been.
Both CVS and P4 configuration now require a name before they can be saved. The rest of the information is optional, as far as the prefs system is concerned.
Fixed bug in which the "Sort Lines" and "Process Duplicate Lines" dialogs didn't fill in the Grep pattern fields with previously used patterns if the "Sort Using Pattern"/"Match Using Pattern" option was turned off.
Fixed bug in which removing (via Prefix/Suffix Lines) a suffix string containing character escapes (such as "\t" for tabs) would delete too many characters from the end of the line.
Fixed bug in which removing a suffix caused the contents to grow an extra line break, either at the end of the selection range or at the end of the document (if there was no selection range).
Fixed an ancient bug: case-insensitive, non-grep searching never worked for non-ASCII chars - ever. Go figure...
Fixed a bug where if you ran a unix script/filter and the source was open in a multi-document window, but wasn't the active document, the wrong thing was executed.
Fixed bug in which BBEdit would search twice any files in a file group that were also contained in folders listed in the file group (when doing a multi-file search).
Fixed a bug where "Open Scripts Folder" in the scripts menu didn't auto-create the scripts folder if it was missing.
Fixed a bug in the CSS parser where @media blocks were ignored if they were at offset 0 in the file.
Restored performance of a P4->Opened command when running over a slow link and having lots of opened files.
Fixed a bug where the P4->Opened command would not tear down the progress if there were no open files.
Fixed a fistful of small memory leaks.
Fixed a bug in the HTML updater where if you ran a site/folder update and one of those files happened to be open, it wasn't correctly processed.
Fixed bug in which suffix matching for language mappings was case sensitive.
Fixed a bug where the autoconfigure keystroke sequence for Hide BBEdit, Rotate Windows, or Show Font panel could cause Command-W to get detached from the File Menu.
Fixed a regression where certain HTML scripting commands (format, for example) would sometimes fail if the application was in the background.
Fixed a regression where Entab, Detab, Zap Gremlins, and Change case didn't work correctly on rectangular selections.
All the "new/changed for 8" text transforms are now rectangular-selection savvy.
Fixed bug in which checked documents under the "Open Documents" item in the Find dialog's source list weren't remembered across invocations of the dialog.
Fixed bug in which using the Return key to open a connection in an FTP/SFTP browser (see File -> New -> FTP/SFTP Browser) left the keyboard focus on the server name, rather than on the file list.
-
In "modern" Fortran dialects (Fortran90, Fortran95, Fortran2000), the function scanner now recognizes qualified subroutine and function endings:
END SUBROUTINE MUMBLE
This corrects the Show Current Function display in such files. (Check the Suffix Mappings in the Languages prefs to make sure that your Fortran suffix mappings are correct for your desired use.)
-
Some of the system frameworks have subdirectories in their Headers directories, so you'd use an include statement like this:
#include <IOKit/usb/USB.h>
If you select the stuff between the angle brackets and choose Open Selection, BBEdit now finds the indicated file.
-
The JavaScript/ActionScript function scanner now correctly handles functions with a declared return type:
function myFunction() : mumble { /*...*/ } When performing a Process Duplicate Lines on an open document, you can select "Duplicates to Clipboard" or "Unique Lines to Clipboard", but not both. The UI now enforces this.
Fixed a bug where the list item command closed items in definition lists incorrectly.
The First Run dialog should only be presented when there is something (new and) important for the user to deal with. (Thus, if you've been using 8.0 and update to 8.0.1, you won't see it.)
We no longer ask the Resource Manager to get BBEdit state information on the main thread. It's infinitely more efficient to just read it ourselves.
Fixed bug in which Tidy Reflow and Tidy Cleanup would rewrite the document's charset as "utf-16be", without affecting the document's actual encoding on disk. Much wacky boing did ensue.
Allowed for \x0, \x00, \x{0}, etc. to be recognized and applied in grep replace strings.
BBEdit will provide non-Unicode service data if possible so that it interoperates with services that don't consume Unicode natively.
-
Fixed bug in which "count" events targeted to an editing window would return zero for any element other than "document" or "text document":
count lines of window 1 -- "lazy" targeting, subject to failure
Note that the construction above is not strictly correct, and you should not depend on it working forever. The correct and future-proof technique is to target the text of the window, rather than the window itself:
count lines of text of window 1 -- correctly targets text
You should review your scripts and ensure that nothing targets the window on the assumption that the event will be delegated to the text, because this will not always be the case.
Fixed bug in which web sites converted from legacy preferences wouldn't show up in the Web Sites sources (Find dialog drawer, and text factory sources list) until you had opened them in the HTML: Web Site preferences and hit OK.
Fixed a bug in the CSS parser which could cause a crash if you had show current function turned on and were in the middle of typing an @import rule in the middle of a stylesheet (where they aren't legal).
The bbedit tool is better able to self-repair its permissions now in certain pathological cases where the permissions got stomped.
Doing a p4 submit now prompts for all open dirty documents under p4 control. (Previously documents in multi-document windows that weren't the active document were skipped.)
Fixed a performance problem activating a window with a large number of documents open if CodeWarrior integration was turned on.
Fixed a performance problem activating a window with a large number of documents if some/all of those documents lived on high latency network drives.
Fixed crash which would occur when trying to interpret certain malformed Emacs variable blocks.
Fixed a regression where changing the font/size with the font panel didn't cause the text to be reflowed if you were wrapping to the window width.
Worked around bug in the OS in which print dialog settings could not be passed across the Apple Event interface, so any variance from the default settings (such as saving to a PDF) wasn't honored.
Corrected long-file-name cosmetics in the Document Unlock confirmation dialog.
Fixed a bug where the Python, TeX, and Setext language modules were missing the leading period in their default suffix mappings.
Fixed a bug where a #bbpragma doctype in a partial HTML document wasn't taken as a cue as to whether to use HTML or XHTML markup rules.
Fixed a bug where if a document's disk file name was changed, BBEdit would notice (at verify time) and update most of the UI, but the old name would persist in the documents drawer.
When a document's locked state change the proxy icon and icon in the document drawer now update correctly.
Fixed a bug where documents whose names begin with a hyphen appeared as a separator in the navigation menu.
Fixed a bug where files opened from FTP sometimes got a generic icon in places instead of the prescribed icon.
Tightened up the suffix matching so that it only tries to match suffixes on files that actually have file name suffixes.
The "Replace All" action in Text Factories now behaves consistently with the rest of the searching UI with respect to its handling of backslash-escapes for special characters in literal searches.
Fixed bug in which "New -> Shell Worksheet" would be disabled if the HTML tools had been turned off in the preferences.
Fixed a regression where index site/folder didn't generate any output.
Fixed a bug in the HTML Markup Preferences where if the preference for close current tag was set to "After Insertion Point" the wrong radio button was selected next time the prefs window was opened.
Removed the Selection Grabber from the Process Lines sheet.
When a new filter is created from the FInd Options sheet, it is now correctly applied to the search options.
When a new filter is created via the Text Factory options sheet, is it correctly made the active filter.
Fixed a bug where saved file filters deleted by pressing the delete key were not actually deleted.
Corrected line breaks in default support folder Unix scripts.
Fixed a problem where file filters created in the differences dialog were not applied immediately.
If you create a new filter via the search options dialog, we make sure the "Use Filter" checkbox is turned on.
Fixed a bug in the Hex Dump dialog in which changing the "Resource Fork" or "Data Fork" setting didn't take effect for the current invocation of the dialog, but did for the next one.
Fixed a bug which prevented the creation of a Perforce configuration which contained no password.
Tightened the rules for whitespace handling in the Remove Line Numbers transform.
Fixed a bug in preferences migration which would cause a bad value to be stored for the default encoding preference when saving (Text Files: Saving) which would in turn cause saves of new files to fail with a -10000 error.
Adjusted control metrics so the font description text won't be clipped.