TextWrangler 4.5.1 Release Notes

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

For details on all the new features and enhancements that were offered in TextWrangler 4.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).


TextWrangler 4.5 requires Mac OS X 10.6.8 or later.

PowerPC-based Macs are not supported.


  • This release consists entirely of fixes for reported issues, and contains no new features, nor changes to existing features.


  • Quoted some parts of PCRE error messages to make them a little easier to read.

  • Fixed autorelease memory leaks while doing Process Lines Containing and some related text transforms.

  • Added preference search metadata for the "Open documents into the front window when possible" setting.

  • Fixed bug in which the Text Encoding popup in the save panel did not reflect the document's current encoding setting.

  • Added UTI declaration for Textile: com.barebones.textile-source conforming to public.text.

  • Updated various pieces of artwork to correct appearance on retina displays.

  • Corrected drawing layout of the inline "collapsed fold" indicator.

  • Made a change so that the file name extension is always displayed in the save panel when appropriate, even if "Show all filename extensions" is turned off in the Finder's preferences.

  • Removed is from the JavaScript/ActionScript keyword list.

  • Fixed a bug in the TeX syntax coloring which (under certain circumstances, such as whenever it was asked to run...) caused it to stop scanning as soon as it started.

  • Fixed bug in which counterpart matches from the Open File by Name cache were not correctly screened by language when they should have been.

  • Added public.html to the list of file types that will get the application's "Text Document" icon.

  • Fixed a bug in which excessive memory was used for some internal data structures, which would lead to a crash when opening very large and complicated files (usually XML).

  • Mac App Store builds are now identified by a line item in the about box.

  • The display glyph for invisible spaces (when "Show Invisible" and "Show Spaces" are both turned on) is now U+00B7 (MIDDLE DOT). If spaces don't display when those settings are turned on, then your display font is missing that glyph, and you should report it to your font's developer as a bug. (I would have used U+1427 (CANADIAN SYLLABICS FINAL MIDDLE DOT) for the humour value alone, but not enough fonts supported that glyph. Sorry.)

  • Fixed bug in which using Hex Dump to dump a single character would make life miserable for all concerned.

  • When pasting text into an empty untitled document, the application will now try to guess its encoding (from any metadata that may be in the text itself). This fixes a case in which you'd get an encoding mismatch warning when pasting (for example) XML with a character set of utf-16 into an empty document, which defaults to UTF-8.

  • When evaluating a line comment for removal, whitespace at the end of the comment delimiter is now disregarded.

  • Fixed bug in the Fortran (yes, Fortran) function scanner in which functions were missed unless there was at least one blank line after the end of the previous function (or the function was at the beginning of the file).

  • Fixed bug in which paths sent to the Terminal window for execution were incorrectly encoded in situations where an item in the path contained non-ASCII characters.

  • Fixed bug in which selecting an item from the Search History or Grep Patterns popups in the Find window would not correctly update its button enabling.

  • Fixed bug in which "Show hidden items" in the Open panel was checked, but the setting was not honored when opening the panel.

  • The "Enable:" popup in the Open panel now remembers its setting in between invocations of the panel (and across launches of the application).

  • Made changes so that the Save panel pre-selects the base file name of the file being saved, and enforces the correct filename extension for certain document types.

  • The application will no longer write HFS type and creator when saving a document in situations where it doesn't recognize the filename extension being saved; instead, it will write the type and creator only if the document has no filename extension.

  • The font/size displays in the Preferences window now display fractional point sizes.

  • Symlinks are now always enabled in the Open dialog, so that you can follow the ones that point to folders.

  • Fixed bug in which the "Enable" popup in TextWrangler read "All BBEdit Documents" instead of "All TextWrangler Documents".

  • Fixed bug in which the "x" widget highlighting in lists would get stuck when rapidly moving the mouse off the widget into another section of the window.

  • Fixed bug in which Unicode hex displayed in the Character Inspector was always displayed little-endian, even when it should have been displayed big-endian.

  • Fixed bug in which the "Escapes" line in the Character Inspector would not display character escapes correctly in some files.

  • Corrected display of the application icon in the about box on Retina displays.

  • Made comparison of item names in FTP/SFTP listings case-insensitive.

  • Fixed case in which PHP line comments inside of single-line directives (e.g. <?php ... // hello world foo bar ?>, you can't make this stuff up...) would cause the PI closer to be missed and subsequently mess up color scanning.

  • Fixed a case in which PHP variable uses followed immediately by a question mark would confuse the syntax coloring thereafter.

  • Fixed bug in which the application-modal Save panel for documents would not save the document when invoked (but the operation was cancelled, so using other means to save the document would work).

  • Non-App Store builds now prevent /Library/QuickTime/Sonix SN9C201 WebCam from loading and crashing us. If you are using an App Store build of BBEdit, remove /Library/QuickTime/Sonix SN9C201 WebCam.component manually.

  • Fixed bug in which certain interactions which could occur after a window-modal "Save As" (most notably, reporting of unmappable characters) would instead fail and report an error.

  • Fixed bug in which the Verilog function scanner would hang on any file.

  • Fixed a bug in the Markdown parser, where in some cases it would miss a closing tag in HTML sections. This affected both syntax coloring and document structure (folding and function popup).

  • Made a change to reduce the amount of time spent displaying startup progress (at the expense of not displaying the name of every single file being reopened).

  • Corrected handling of "//" comments in the Object Pascal function scanner.

  • Updated the I-beam cursor for improved appearance on retina displays.