BBEdit 16.1.1 Release Notes

BBEdit 16.1 is a feature update, which includes significant new features; visible changes to existing features; and fixes for reported issues. You can read more about the changes in this update in the 16.1 release notes.

Because BBEdit 16.1 builds on features that were added as part of the BBEdit 16.0 release (as well as previous versions), please take a few moments to browse the release notes archive and review the release notes for any versions that you may not have seen.

To get a high-level overview of what’s new in BBEdit 16, with screen shots, see the What’s New in BBEdit 16 page.

For detailed information on using any of BBEdit’s features, please refer to the user manual (choose “User Manual” from BBEdit’s Help menu).

Requirements

BBEdit 16 requires macOS 14.0 or later.

For whichever version of macOS you are using, please make sure that you have updated to the latest available OS version. This will resolve any functional issues caused by bugs and regressions in out-of-date versions of the OS.

Upgrading

If you have been using any previous version of BBEdit in Free Mode, starting BBEdit 16.0 will reset your 30-day evaluation period, so that you can have a full trial of the new features.

If you have previously purchased a license from us for BBEdit 15 or older, you will have a full 30-day evaluation period in which to try out BBEdit 16’s new features. License upgrades are available at a discount for existing customers, and some customers may be eligible for a free upgrade (based on date of purchase). Please see the BBEdit upgrades page for information and instructions.

Additions & Changes

  • The BBEdit 16.1.1 update contains only changes to address reported issues. There are no feature additions or changes in this update.

Fixes

  • Made changes so that the application doesn’t apply the “create a new document” startup option when activated or started specifically by a command-line tool invocation.

  • Fixed a couple of layout glitches in the Appearance preferences panel.

  • Fixed a JavaScript syntax coloring bug in which a regular expression inside a template literal’s ${...} expression (such as /\//g) could cause everything after the template literal to be colored as part of it. This also affected TypeScript and ActionScript, which use the same language module.

  • Fixed bugs in JavaScript syntax coloring in which a regular expression containing a “/” inside a character class (such as /[^/]+$/) was colored as ending at that “/”, and in which a regular expression inside a template literal’s ${...} expression that follows =>, || or return (such as ${names.filter(n => /'/.test(n)).length}) could cause everything after the template literal to be colored as part of it. This also affects TypeScript and ActionScript, which use the same language module.

  • Fixed a bug in which a conda environment variable marked “<not set>” was passed to shell commands, scripts and the SFTP service as a non-string value instead of being left unset.

  • Fixed a bug in which bbedit --project reported a failure only as an error number, without BBEdit’s explanation.

  • bbedit --wait (and -w) now reports an item that BBEdit could not open, and exits with a non-zero status after the remaining items have been edited; it used to exit 0 without a word. The error message names the local file (it used to be blank), and no longer repeats a password given as part of an sftp:// URL.

  • Fixed a crash which could occur when a txmt: or x-bbedit: link’s url parameter contained a malformed percent escape.

  • When a link that uses the txmt: or x-bbedit: URL scheme (x-bbedit://open?url=...) asks BBEdit to open an FTP, FTPS, or SFTP URL, BBEdit now asks for confirmation first, naming the server and, if the link names one, the user, with Cancel as the default button. This keeps a web page from opening a server browser (or fetching a file) from a host and user of its own choosing without your say-so. A link whose host isn’t a plain host name or address, or whose port number isn’t one a connection could use, is ignored.

  • Fixed a bug in which, when connecting through a ProxyJump host that asked for a password, the stored password for the destination server was sent to the jump host’s prompt. Prompts from a jump host are now left to the user.

  • Saved application state no longer includes a password that was part of an SFTP or FTP browser window’s URL.

  • Fixed a bug in which, after an SFTP browser window’s automatic connection failed (for example when restoring windows at launch with the server unreachable), the window came back blank and the Connect sheet was empty; and in which such a window was saved without its address, so it was blank at the next launch too. The sheet is now prefilled with the intended address, and the address is saved.

  • A password typed into BBEdit’s prompt during an SFTP connection is now saved to the keychain once the login succeeds, the same way a password typed into the connection sheet is, so you aren’t asked for it on every open and every launch. This applies to browser windows only; it is kept only from a login that asked exactly once, for the account password, from the ssh BBEdit started (not a ProxyJump hop).

  • An SFTP browser window opened for a URL that names a user (from the command line, Open Recent, a script, or restored at launch) now connects right away, using ssh’s own configuration and keys, instead of showing the connection sheet unless a legacy key file or a stored password was found.

  • Fixed crash which would occur when a chat API service returned a response in which the message content (or an error message) was not a string, which some locally hosted model servers do when a reply has no text (for example, “content”: null).

  • When importing Grep patterns, a file that isn’t a valid pattern export is now reported as not being in the correct format (and nothing is imported), and a file that can’t be read reports the actual reason.

  • Fixed bug in which importing Grep patterns that had been exported (in the Grep Patterns section of the Setup window) set each imported pattern’s Replace pattern to the literal text “ReplacePattern”, rather than to the replacement that was exported.

  • Fixed bug in which files and folders that a .gitignore file re-includes with a negated (“!”) pattern were treated as ignored, so they didn’t appear in project and disk browsers, weren’t searched by Multi-File Search (or processed by Text Factories, compared, or deployed) when Git-ignored items were excluded, and a re-included folder was skipped along with everything in it.

  • Worked around a behavior regression in macOS 27 (FB25432144) which suppressed the display of menu item icons explicitly requested by the application in the Functions menu and other locations.

  • Fixed bugs in the Rust language module’s coloring of numbers next to periods: in a range such as 0..10, the .10 was colored as if it were a fraction (and the 0 was not colored); a floating-point number followed by .. (as in 1.0..2.0) was not colored at all; and a number followed by a method call (as in 1.max(2)) was not colored.

  • Printing from a Preview window now always uses the same margins as Safari, which also removes the extra space at the top of the first page.

  • Fixed bug in which printing from a Preview window used inconsistent page margins: the first print from a given Preview window had large default margins (an inch or more), and every later print from that window had none.

  • Fixed bug in which using Hard Wrap without its dialog (or the Emacs “fill-paragraph” command) with the insertion point on the empty last line of a document (after its final line break) would rewrap the entire document.

  • Fixed bug in which refreshing a Multi-File Search results window, after editing the displayed document so that the search no longer matched, would close the window and discard the unsaved changes without asking. BBEdit now asks whether to save the changes first (and Cancel keeps the window open).

  • The Perl function scanner now requires sub to be the lowercase keyword at the start of a word, so that names such as $sub, &sub, Foo::sub, or mysub no longer produce spurious function menu entries or swallow the fold of an enclosing block.

  • Fixed bug in which Perl subroutines declared with an attribute that takes arguments, followed by a signature or prototype (e.g. sub foo :prototype($$) ($x, $y) { ... }), did not appear in the function menu. Attribute names containing underscores are now recognized as well.

  • In BBEdit’s scripting dictionary, the class used for file filters is now named file_filter, matching the parameter; filter is still accepted when compiling. As a result, file_filter can no longer be used as a variable name inside a tell application "BBEdit" block (|file_filter| still works).

  • Fixed a bug in which a compiled AppleScript that passed a file_filter to the find, replace, extract, or apply text factory command displayed it as filter, and then failed to compile again with “Expected end of line, but found class name.”

  • Fixed a bug in which setting returning results to false in the search options of a scripted extract, find, or replace command also kept the results from being shown (for example, the window containing extracted text). As the scripting dictionary says, showing results is true unless specified, so returning results: false now behaves the same as leaving it out.

  • Fixed a bug in which an HTML or XML attribute name containing two consecutive hyphens (such as data--foo) was mistaken for the start of a comment, causing Markup -> Format (and other markup commands) to fail.

  • Fixed a bug in which a custom Markdown renderer command whose path contained a space (such as the copy of cmark inside BBEdit’s application bundle), or which had stray whitespace at either end, was ignored, and the preview silently used the default renderer (with “smart” punctuation) instead.

  • Fixed a bug in which pasting (or dropping) text that began with “[” and ended with “]”, such as a list of bracketed placeholders, into an empty untitled document changed the document’s language to JSON even though the text wasn’t JSON. Guessing a document’s language as JSON now requires that the text actually parse as JSON.

  • Fixed a bug in which Show Blame displayed mostly Chinese (CJK) characters for a file in a UTF-16 encoding, such as a .strings file, and did nothing at all for a file in a UTF-32 encoding.

  • Raised the output limit (max_tokens) that BBEdit’s built-in Claude model asks for, from 4096 to 64000 tokens, so that long answers in AI worksheets, such as a rewritten function, are no longer cut off. 64000 is the largest limit that every Claude model currently offered accepts.

  • Fixed bugs in which an untitled document whose name contained “/” showed only the part of its name after the last “/” in the document info panel (and in the sidebar, when two documents had the same name), and in which closing the info panel for an untitled document whose name contained “:” or “/” reported that “URL type x-bbedit-document isn’t supported”.

  • Reworded the alert that appears when BBEdit starts up with the Shift key held down, so that it asks whether to reopen the windows and documents from the last session, with “Reopen Documents” and “Don’t Reopen Documents” buttons. Also, holding Shift as part of a shortcut that includes Control or Command (but not both), such as a Spaces or screenshot shortcut, no longer counts as asking to skip reopening.

  • Fixed a crash when saving a file opened from inside a Zip archive (for example, from a disk browser showing a .zip file). Saving into a damaged Zip archive also crashed; BBEdit now reports the error instead.

  • When BBEdit is in the background and offers a software update (or finishes downloading one), its Dock icon now bounces once and shows a badge until you switch to BBEdit, rather than bouncing continuously.

  • Fixed a bug in which, with “Key binding emulation” set to “Emacs” in the Keyboard settings, Control-key shortcuts that an input method uses while converting inline input (such as Control-N and Control-P to choose Japanese conversion candidates) were treated as Emacs commands, and moved the insertion point out of the text being converted.

  • Fixed bug in which a full path used for a custom Python interpreter would disable the Run commands on the #! menu.

  • Fixed a bug in which editing a Markdown document could leave stale syntax coloring below a fenced code block, until the document was rescanned, after an edit that changed where the block ends (for example, adding or removing a backtick on its opening fence).

  • Fixed a bug in the Kotlin language module in which a less-than operator inside parentheses or brackets in a string template, such as "${if (a < b) 1 else 2}", caused the rest of the document to be colored as a string. The same bug also caused functions to be missing from the function menu (or listed with the wrong extent or indentation) after code such as if (a < b) or for (i in 0..<n).

  • Fixed a bug in the Kotlin language module in which a declaration without a body (such as an interface member, an abstract function, a data class with no members, or a companion object on a line of its own) caused the declarations after it to be missing from the function menu, or listed with the wrong extent or indentation. A declaration without a body at the end of a document is now also listed.

  • Fixed a bug in the Kotlin language module in which a less-than operator in a function’s expression body, such as fun isSmall(x: Int) = x < limit, caused the declarations after it to be missing from the function menu.

  • Fixed regression in which the App Store version would report an error when attempting to use the “Title Case” change case operation.

  • Made changes to improve the performance of delimiter balancing, particularly in very large files and when automatically triggered by the global delimiter highlighting.

  • Fixed a bug in which a JSON or JSONC object key containing a parenthesis, bracket or brace, or a curly quote or apostrophe (such as “smile :-)” or “don’t”), could keep Balance, the matched-delimiter highlight, the balance flash and vi’s “%” from finding the right delimiter anywhere in the enclosing object.

  • Fixed a regression in which an accessibility correctness fix prevented Grammarly (and similar tools which depend on modifiable text access) from working as intended in BBEdit.

  • Fixed a crash which could occur when switching documents, or closing the last open document, while the Minimap palette was open.

  • Fixed a bug in which a custom paper size’s margins had no effect when printing from a Preview window. Preview printing now uses the larger of Safari’s margins and the paper’s own unprintable area on each edge, so a paper size defined with (for example) an inch of unprintable area at the top and bottom gets that inch, as it does in Safari. Printing on ordinary paper sizes is unchanged.

  • Fixed a crash which would occur when opening a YAML file containing a mapping key that was itself a sequence or a mapping (such as “[a, b]: c”, or an explicit “? ” key).

  • Fixed a regression in which Live Preview would show the saved contents of a stylesheet, script, or other file referenced by the page, instead of its unsaved changes, when the page reached that file through a different spelling of its path (for example, through a folder that is a symbolic link).

  • When a preview declines to load a file because it’s outside the folder of the document being previewed, the error shown in the Web Inspector now says so, and names the setting which allows it (the project’s Local site root), instead of reporting that you don’t have permission to view the file.

  • Fixed a crash which could sporadically occur a moment after starting a multi-file search whose results are shown in a search results window, whether the search was started from the Find window or from a script.

  • Worked around a Writing Tools misbehavior in which Proofread made only the first few of its corrections to a long document.

  • Fixed bugs in which Undo after an inline Writing Tools change could restore the wrong text.

  • Fixed bug in which the Strings language guesser was too aggressive (or not aggressive enough, depending) and would return an incorrect answer in some cases.

  • Fixed assorted layout goofs in the project settings view.

  • Fixed crash which would occur when dragging sidebar items between two different running instances of the application.

  • Fixed bug in which color settings for custom run kinds from DLMs didn’t appear in the “Text Colors” settings.

  • Fixed crash which would occur when changing the “Increase Contrast” system accessibility setting after having previously closed a window with a list in it (usually a sidebar or results window).

  • Fixed a regression in which a quoted regular expression containing a space (e.g. [[ $x =~ "foo bar" ]]) would confuse Unix shell script syntax coloring and function scanning: the rest of the file would be colored as though strings were code (and vice versa), and functions after that point would be missing from the function menu.

  • Fixed bug in Unix shell script coloring in which a literal $( inside single quotes (e.g. echo '$('), or after an escaped $ (e.g. echo "\$("), was treated as the start of a command substitution, causing the rest of the file to be colored as part of the string.

back to top