TextWrangler 5.5.2 Release Notes

TextWrangler 5.5.2 is a focused maintenance update which includes fixes for reported issues.

For details on all the new features and enhancements available in TextWrangler 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 TextWrangler's features, please refer to the user manual (choose "User Manual" from TextWrangler's Help menu).

Requirements

TextWrangler 5.5.2 requires Mac OS X 10.9.5 or later, up to macOS 10.12.6 "Sierra". TextWrangler is not however compatible with macOS 10.13 "High Sierra" or 10.4 "Mojave", and will not run under macOS 10.15 "Catalina".

Additions

  • On the "Text Display" submenu of the View menu, there are three new commands: "Zoom In", "Zoom Out", and "Actual Size". Use these to change the magnification of the text in editing views. For convenience you can assign keyboard equivalents to these commands in the "Menus & Shortcuts" preferences.

Changes

  • The "List Display Font" setting in the Appearance preferences has been replaced with a slider to set the font size. Lists in the application all use the system font. Most will use the specified size, except in specific cases where circumstance requires the use of a fixed font size.

  • Added Command-K and Command-R as keyboard equivalents for "Check Syntax" and "Run", respectively.

  • Differences that have been applied are now crossed out in the Differences window list, in order to avoid janky font italicizing effects on some OS versions.

  • When using "Check Syntax" or "Run" on an unsaved or untitled document, the application will now write out a temporary copy of the document. In the case of untitled documents, the temporary copy will be in the system-designated temporary items location, which is arbitrary but generally not anywhere near $HOME.

Fixes

  • Fixed a case in which changes made by a documentDidSave attachment script would trigger a subsequent warning about the document having unsaved changes.

  • Fixed a pair of bugs that conspired to prevent scratchpad documents (the Scratchpad and Unix Worksheet) from correctly remembering and restoring their state across open/close cycles.

  • Fixed a crash which would occur when changing a language-specific color scheme setting to "Application Defaults".

  • The "BBEdit Light" and "BBEdit Classic" color schemes no longer include explicit highlight colors, thus allowing the system highlight color selection to apply.

  • Fixed bug in which the color used for highlighting selected items in lists wouldn't always track changes to the highlight color setting in the General system preferences.

  • Fixed a crash which would occur on OS X 10.12 when opening the Preferences window more than once during a run of the application. (This addresses Radar 27293621.)

  • Fixed bug in which using up-arrow and down-arrow while in the Open File by Name window's search box would change the selection in the results list, without bringing it into view.

  • Worked around OS behavior on 10.11 in which the search box in the Open File by Name window would lose keyboard focus and not get it back when it should have.

  • Fixed bug in which changing the "Document navigation" setting in the Appearance preferences didn't take effect until you created a new window or restarted the application.

  • Fixed bug in which the file info panel for remote documents (opened via built-in FTP/SFTP or a third-party file transfer client) would show file information for the backing cache file, rather than hiding the Info and Permissions tabs as was intended.

  • The "Copy Path" commands on the Edit menu now behave reasonably for documents opened from remote sources via the built-in FTP/SFTP support as well as by external file-transfer clients.

  • Fixed a bug in which a -37 error would be reported when trying to save a new document with a name containing certain characters.

  • Fixed bug in which keywords matched by the "Keyword Pattern" in a codeless language module were colored as comments rather than as keywords.

  • Fixed bug in which "Open Counterpart" and the Counterparts menu didn't find eligible files in the absence of data from the Open File by Name cache.

  • Fixed bug in which filenames whose extensions ended with a decimal digit would not match a custom language mapping for that extension.

  • Made a change to resolve an SSL connection failure when attempting "Check for Updates" on macOS Sierra.

  • Fixed a layout goof in the Keyboard preferences on pre-10.11 OS versions.

  • Fixed a bug in progress reporting in which the progress dialog would occasionally be blank, except for the progress bar and Cancel button.

  • Added additional diagnostic logging to help diagnose cases in which Unix tool execution fails unexpectedly.

  • TeX comments no longer interfere with Balance operations.

  • When using the "Check Syntax" or "Run" commands for a supported language, the command path in the #! line is now honored in preference to the language module's built-in command. Any specific arguments for debugging (e.g. -d for Perl) may be added as needed, and if so will be added after any arguments specified on the #! line.

  • Updated the list of Perl keywords, and split Perl predefined functions into a separate list so that they're colored as predefined names, and not as language keywords.

  • When using the "Check Syntax" or "Run" commands for a supported language, the command path in the #! line is now honored in preference to the language module's built-in command. Any specific arguments for debugging (e.g. -d for Perl) may be added as needed, and if so will be added after any arguments specified on the #! line.

  • Fixed cosmetic bug in which items in the recently used search strings popup (in the Find and Multi-File Search windows) had backslashes escaped.

  • Fixed bug in which the general-purpose "Unix Script Output" log would be nested one folder deeper in ~/Library/Logs/BBEdit/ than it should have been.

  • Fixed a crash which would occur when using a property specifier as the source for a scripted multi-file search/replace operation.

  • Text output from Unix scripts and filters is now normalized, so that any carriage return (ASCII 13) characters are converted to the internal representation, rather than appearing as gremlins.

  • Fixed drawing glitch which would occur when showing or hiding the Navigation Bar.

  • Script execution from the "Run" command now displays progress in situations where it didn't before.

  • When looking for installed Unix tools, the application will now enforce the restriction that any binary executables actually contain code that is runnable on the current CPU architecture. This fixes problems on systems that have obsolete PowerPC code installed in paths used by the application to find executables.

  • Removed vestigial entry from the results alert for the "Install Command-Line Tools" operation.

  • Fixed bug in which Markdown syntax coloring would become inconsistent during certain edits in text that was not part of a list or quoted block.

  • Fixed incorrect coloring of Markdown inline code while typing an unterminated code run at the end of a document.

  • Fixed drawing glitch which would occur in the list header of disk browser windows when resizing the sidebar required a text layout change.

  • Added support for the "squished heredoc" syntax introduced in Ruby 2.3.

  • Removed the factory default keyboard equivalent for "Print All", because it's a little too close to the factory default equivalent for "Previous Document".

  • Made a change to improve behavior when receiving text dragged from applications which only provide byte-swapped UTF-16 (I'm looking at you, Messages.app).

  • Fixed drawing glitches which would occur when resizing the sidebar in Differences windows.

  • Fixed bug in which the size of the differences list in Differences windows was not maintained correctly when reshaping the window (and sometimes it would disappear altogether).

  • When creating a new document from stationery, and the stationery file has a name extension that maps to a known language, the new document's language will be set to that language. For example, a new document created from a stationery file named "foo.tex" will have a language of TeX, and a document created from a stationery file named "bar.mm" will have a language of Objective-C++.

  • Fixed bug in which the application would crash while opening the Multi-File Search window in cases where a previously selected text document had had its backing file deleted.

  • "Remove Line Breaks" no longer causes a visible "jump" to the beginning of the document in the view being processed.

  • Fixed bug in which using the Text Options popover would destabilize the application.

  • The Terminal command file generated by "Run in Terminal" now contains logic to delete itself as well as the temporary copy created when running an unsaved document (if applicable) after execution is complete.

  • Fixed bug in which literal string matching ("is", "is not") in file filters was case sensitive.

  • Made changes to improve usability with SFTP servers that implement obsolete versions of the protocol (in particular, CoreFTP on Windows).

  • Fixed a crash which would occur when spawning shell subtasks on macOS 10.12.

  • If a Differences window has exactly one unsaved document displayed and focus is in the differences list, the "Save" and "Revert" commands will now operate on that document, rather than doing nothing.

  • Fixed various memory leaks.

  • When running on OS X 10.10 or later and "Increase contrast" is turned on in the system Accessibility preferences, text for UI elements in editing windows is now drawn darker, as are dividing lines between some UI elements.

  • Fixed bug in which emacs mode lines which specified unrecognized modes would set a document's language to "None", even when the document's filename extension correctly indicated the language.

  • Made a change to Open File by Name searching so that exact matches for the entered file name are found, even in very large search spaces, rather than being lost due to restrictions on the maximum number of search results.

  • When a document opens in a disk browser or results list window as a result of clicking on an item in the sidebar (or results list, as appropriate), the text view no longer draws as though it has keyboard focus, since it doesn't.

  • When running on macOS 10.12, our additions to the spelling panel are suppressed in order to work around a bug in which the OS lays out the panel incorrectly. (Radar 28263496.)

  • Fixed crashes and other misbehavior which would occur when switching between a color scheme and customized settings.

  • Worked around a bug in macOS 10.12 which would cause strange behavior when switching color schemes or changing individual color settings in the "Text Colors" preferences.

fin