BBEdit 10.5.6 Release Notes
BBEdit 10.5.6 is a focused maintenance update which includes fixes for reported issues.
For details on all the new features and enhancements that were offered in BBEdit 10.5, please see its release notes.
For information on changes made in previous versions, please see the release notes archive.
For detailed information on using any of BBEdit's features, please refer to the user manual (choose "User Manual" from BBEdit's Help menu).
BBEdit 10 requires Mac OS X 10.6.8 or later (10.7.5, 10.8.5, 10.9 or later recommended).
PowerPC-based Macs are not supported.
The application no longer presents a first-run dialog box when started up with fresh preferences.
Items in the "Stationery" application support folder (and in packages, as well) no longer need to have their Finder "Stationery Pad" option turned on in order to appear on the "New with Stationery" menu or in the Stationery palette. Note that in order for stationery to function as such, you must choose it from the "New with Stationery" menu. Opening it using the Finder, "Open" command, or other mechanism will open the actual stationery file for editing.
Corrected word-o of
change in the Expert
Preferences help page.
Fixed Xcode workspace discovery for compatibility with Xcode 5.
If an Xcode project contains relative references to variables defined in Xcode's "Source Trees" preferences, BBEdit will now try to resolve those references, rather than giving up and reporting an error.
BBEdit will no longer attempt to locate command-line tools using
xcrun. On systems where Xcode is not installed, the
command-line developer tools have not been configured, or the
system just doesn't feel like cooperating,
xcrun will become
antisocial and put up alerts, log console entries, and engage in
other behaviors deemed unacceptable in polite society.
If for some reason you find it preferable for BBEdit to use
to locate tools, you can apply the following expert preference to
restore the previous behavior:
defaults write com.barebones.bbedit AskXcodeForCommandLineTools -bool YES
Fixed bug in which super-secret class-specific expert prefs for recent item limits didn't work. (But nobody ever tried to use them, so that's OK.)
Fixed bug in which we were using the system's I-beam cursor instead of our own (the latter working much better on dark backgrounds).
Made some changes to the math used for computing the line number bar font size, so that the font used for drawing the line numbers is no longer allowed to be inordinately small.
Fixed a performance hotspot in the subsystem which determines filename-extension-to-language mappings. This should especially help with Open File by Name precaching performance, but its benefits should be felt throughout the application.
Made performance improvements to directory enumeration, to the benefit of Open File by Name, Open Counterpart, and other internal functions.
Made performance improvements to search-while-typing in the Open File by Name window.
The Open File by Name cache for system includes and frameworks is now built asynchronously when the application starts up, to reduce or avoid delays when opening the "Open File by Name" window for the first time.
When doing a "Save As" in a project for a document inside of a twisted-open folder, instead of updating the list item to point to the document's location on disk, clear the item's reference to the document and leave it pointing at the previous location. This resolves confusion that was occurring otherwise.
Fixed bug in which the "Label" term in file filters was not correctly loaded when presenting the editing UI, nor correctly applied when filtering files.
When enumerating the contents of an Xcode project, inspect the contents of a group, even if the group itself cannot be resolved (usually because the group is a relative reference to something that no longer exists).
The "Xcode Projects" group in the Multi-File Search window now contains something useful: the ten most-recently-used Xcode projects, sorted alphabetically. (Discovery is done using Spotlight, so if you don't see the projects you expect to see, blame Spotlight.)
File icons in disk browsers are now colored appropriately when the file/folder has a label (according to the file system metadata). This also includes single-tag items when running on 10.9.
Fixed crash which would occur when trying to compute a default file name extension and the Languages preferences contained one (or more) custom extension mappings with no extension.
Fixed crash which would occur when trying to apply an Automator workflow as a text filter, caused by Automator returning something other than what it used to.
There's a new expert pref:
defaults write com.barebones.bbedit ShowFullPathsInSearchResults -bool YES
It's off by default, but turning it on will cause the application to display the full (home-relative) path for files listed in search results windows.
If Dash is installed, BBEdit will now use it for "Find in Reference", in preference to any predefined or custom reference lookup URLs. This can be controlled via an expert preference, on a per-language basis if desired:
defaults write com.barebones.bbedit UseDashForReferenceLookups -bool NO
# turn off Dash support entirely
defaults write com.barebones.bbedit UseDashForReferenceLookups_Ruby -bool NO
#turn off Dash support only for Ruby
You could, if you wanted, turn off Dash support by default and then enable it for specific languages, e.g.
defaults write com.barebones.bbedit UseDashForReferenceLookups -bool NO
# turn off Dash support entirely
defaults write com.barebones.bbedit UseDashForReferenceLookups_C++ -bool YES
#turn on Dash support only for C++
Added a table of contents and internal jump points to the Expert Preferences help.
Made some performance improvements to ctags file loading and interpretation. This should speed up first-time hits when opening a file for which tags are available, as well as other operations (such as ctags-based completion and navigation).
Made a change to prevent ctags discovery from delaying file opens.
Application startup performance has been significantly improved. Anyone who has complained that BBEdit is slow to launch is going to have to find something else to complain about.
We no longer use QuickTime to read image files, instead relying
NSImage for the heavy lifting. In the scripting dictionary,
QuickTime document and
QuickTime window classes have been
image document and
image window, but their
internal codes are unchanged to preserve script compatibility.
[NSCursor IBeamCursor] to resolve appearance problems on
dark backgrounds and Retina displays. For better or worse, it'll
now look the same as every other AppKit application.
Finder admin data files (
files are now ignored during multi-file search or Text Factory
If a file name has colons in it (which is a bad idea anyway), the command-line tool will no longer report that it's an unsupported URL scheme, and try to resolve it as a file reference instead (which may or may not work).
Fixed bug in which a failure to save project metadata (e.g. because the file was locked or permissions were wrong) would prevent the project from being closed and report a -4960 error.
Adjusted the default editing preferences so that Auto-Expand Tabs is on by default for YAML.
When using the contextual menu to insert an attribute which can have a value, BBEdit now lays down a placeholder for convenience. This resolves a bug in which the insertion point was left in the wrong place.
Fixed bug in which changes made to the list of bookmarks in the Setup window were not reflected in the Bookmarks popups in FTP Browsers and the "Save to FTP/SFTP Server" panel.
Search results in the "Open File by Name" window now include items that appear on the "Open Recent" menu.
Search results in the "Open File by Name" window now include open documents (including untitled ones). Thus, the Open File by Name window can be considered a means for switching between open documents by entering their names, whether or not they've been saved.
Fixed bug in which certain non-ASCII characters typed on non-US keyboard layouts couldn't be used as keyboard equivalents for menu commands.
Fixed bug in which custom sidebar widths saved by "Save Default Project Window" were not correctly applied when opening an instaproject or making a new project.
In a Markdown document, a list which is immediately
preceded by a horizontal rule
---- or a headline is now
recognized as such. The documentation says to put blank lines
before and after "block elements" (like lists and horizontal
rules), but the implementations all support this format.
Added an ellipsis to "Print Selection" on the File menu, since, well, you know.
Subversion commits now make a notification (Growl or Notification Center, as appropriate) when the commit has succeeded.
Limit metadata searches for tags file discovery to the user's home directory instead of allowing Spotlight to search the entire computer (including any mounted volumes with indexes).
Fixed bug in which an error would be reported when using "Delete Line" to delete a blank line at the end of the document.
Fixed hang which could occur when attempting to drag a selected range of soft wrapped text.
Fixed bug in which function ranges were not correctly generated for subroutines and the main program in Fortran 90 files, so that the current function display usually reported "(no symbol selected)".
Corrected generation of fold points for functions, subroutines, program, and modules in Fortran source files.
Fixed bug in which multiple whitespace characters between
and the function name weren't ignored in Fortran source files.
The Text Statistics status bar item gets a tooltip with more verbose content.
The "Add" command on the Subversion menu is now correctly enabled for files which aren't under Subversion control, but the parent directory is.
Fixed a related bug in which Add/Delete/Revert on the Subversion menu did not properly enable/disable after adding, deleting, or reverting a file.
Reduced the amount of computation required to ascertain Subversion status for files, notably when enabling/disabling menu commands on the Subversion menu.
Fixed bug in which the 'Always show full paths in "Open Recent" menu' preference manipulated the wrong setting, so it had no visible effect.
Made changes to reduce the energy overhead of text views and results list windows (e.g. search results).
Fixed bug in which "Open Selection" in an editing window with a selection range longer than 255 characters would fail.
There is now an expert preference which will cause the "Open File by Name" window to close after using the "Open" button:
defaults write com.barebones.bbedit CloseOFBNWindowAfterOpeningSelection -bool YES
Improved appearance of badges used in the completion popup and "Go => Named Symbol" panel when running on a retina display.
Corrected cosmetics of drag-and-drop highlighting in project lists, for improved visibility in general and particularly when running on retina displays.
Made changes to reduce drawing overhead in text views during routine operations such as typing or keyboard navigation.
Fixed bug in which changing an existing document's name in the process of saving it on an FTP/SFTP server, or using "Save As" to make a local copy of a file opened from an FTP/SFTP server, would fail to update the window's title accordingly.
The View -> Text Display menu gets a new option at the end: "Split/Unsplit Text View". If enabled, choosing this command operates like double-clicking on the split bar at the top of a text view's vertical scrollbar. Note that the command is also a convenient place to attach a keyboard equivalent for this purpose.
Straightened the code path between the color panel and text views, and eliminated unnecessary color space changes which could affect the outcome of dragging colors from the color panel to an text view.
Hex Dump just got made wicked fast. You're welcome.
There is a new expert preference:
PrecomposeUnicodeWhenPasting. This is useful in situations
where you frequently bring in text that contains combining
Unicode characters from external sources (such as PDFs generated
on other platforms), and need to crush two combining characters
into one composed character where possible. This is not a generalized
need, but if you run into it often enough, turning on the expert preference
will save you some work:
defaults write com.barebones.bbedit PrecomposeUnicodeWhenPasting -bool YES
(Despite the name, the precomposition is done when BBEdit imports the Clipboard from other applications, not when the paste is actually done.)
Note that this requires an additional copy of the Clipboard when the application imports the text, and for very large pastes, there may be a noticeable delay while the text gets precomposed. Thus, you should only turn on this setting when you are frequently working with text that contains combining Unicode characters.
Worked around a bug in the OS (
which files opened from remote file systems would, for some client/server
combinations, open empty even though the file was decidedly not empty.
This symptom appeared only when running on OS X 10.9.
When applying inline (vs. block-structured) markup to text ending with one or more contiguous line breaks, the closing tag is now placed before the first line break, rather than after the last one.
Corrected search metadata in the Preferences window so that searching for "font" no longer returns the Application preferences, where there's no font setting, and now returns results including the Appearance preferences, where there is a font setting.
Fixed a bug which caused the application to require more transient memory while opening a file than was strictly necessary. (There is a performance gain that goes with this, though it will be primarily noticeable on giant files.)
Made a change to reduce the transient memory requirements for a single-file "Find All" operation when searching the entire document.
Made a change to reduce the transient memory requirements of Process Lines Containing, Process Duplicate Lines, and Sort Lines.
Introduce a short delay before refreshing menus backed by folders in Application Support/BBEdit (e.g. Scripts) to allow for cases when items are written into those folders by non-user processes.
When closing a document opened from FTP/SFTP, the backing file is now deleted outright rather than moved to the trash.
We no longer depend on cooperative file system notifications to detect changes to folders which are used to generate menu content (e.g. clippings, scripts, text filters, and so on). This fixes problems in which certain manipulations in those folders weren't detected unless the application was restarted (or unless some other change occured which did trigger a cooperative notification).
Certain third-party applications don't follow best practices in their bundle construction, and when one such was running, the "Preview" commands on the Markup menu would inappropriately send preview requests to a running instance of that application, rather than to the intended web browser.
Fixed bug in which the "Export" command in the File menu was occasionally mistitled.
Fixed bug in which Option-double-click incorrectly triggered a "Find Next (occurrence of selection)".
Improved behavior in the Open File by Name window when only "~/" or "/" is entered into the search box.
When quitting with no untitled documents open of a given type, the untitled count for that document type is reset at the next application launch.
Integrated updated PHP completion data.
The built-in completion data for PHP is now compressed, saving a little over a megabyte in the application package.
If an Xcode project group contains a reference to something that doesn't exist in the project, it will now log the failed reference to the console, and no longer causes project enumeration to stop with an error.
Made changes to improve performance when reading gzip-compressed
files (for document loading and
display font AppleScript property now returns the family
name of the display font, rather than the
Added expert prefs help for