Leading professional HTML and text editor for Mac

TextWrangler for Mac

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe
Download TextWrangler 5.0

  -  9.49 MB  -  Freeware

What's new in this version:

- The results windows for Find Differences are all new. Among other things, the old three-window presentation is gone, replaced by a single window which shows both old and new files at the same time, along with the diff list.
- There's a new feature: "Highlight instances of selected text". When you select something (that doesn't consist entirely of whitespace or punctuation), all of the occurrences of the selection are underlined; and the new pair of commands on the Search menu ("Next Occurrence of ", "Previous Occurrence of ") can be used to navigate the occurrences. (This navigation is independent of the text searching UI, although the string is added to the search history for convenience of future use.)
- "Zap Gremlins" has been extended to provide the option to use ASCII equivalents when replacing gremlins with the character code (thus replacing the old "Convert to ASCII" command), as well as an option to replace gremlins with HTML entities.
- Added two new commands to the Edit menu for text views: "Select Up" and "Select Down". These commands facilitate rectangular selection via the keyboard. (Their factory defaults are Control-Shift-uparrow and Control-Shift-downarrow but can be changed as usual in the Menus & Shortcuts prefs.) Given either a single-range selection (that does not cross a line boundary) or an existing rectangular selection, "Select Up" and "Select Down" will extend the selection range up (or down, respectively) in the same column, thus creating (or extending) a rectangular selection. These commands are disabled if soft wrapping is turned on in the view.
- It is now possible for #! text filter scripts to present a dialog box allowing the user to specify arguments to the filter (which the filter script may then use to modify its operation on the input). This is done by creating a Cocoa nib file in Xcode, and placing it in a specific location relative to the script being run.
- When a Differences window is active, the "Next Error" and "Previous Error" commands on the Go menu change to "Next Difference" and "Previous Difference", and can be used to navigate even when the differences list does not have focus.
- The "Text Colors" UI has been overhauled to allow for extended colors (and some new core color types have been added).
- The format of color schemes has changed. Existing color schemes will be converted; note, however, that the new color schemes have many more color settings. Any missing color settings will use factory defaults.
- The syntax coloring internals have been extensively reworked. Run kinds (used to determine colors) can now be extended by language modules, with each run having a default color and enough metadata to drive the prefs UI. Thus, language module developers are no longer limited by the set of built-in colors.
- Because PHP can appear in one of two contexts, recognition of PHP has been split between two languages: "PHP", which is used only for "raw" PHP source, and "PHP in HTML", which describes PHP embedded in HTML documents. This should clear up some of the confusion which occurred from having PHP-in-HTML documents sometimes following PHP rules, and sometimes following HTML rules (particularly where clippings are involved).
- @YES, @NO, @true, and @false are now colored as keywords in Objective-C documents (the latter two only in Objective-C++).
- Objective-C numeric literals (e.g. @12345) are now colored as numbers in Objective-C/Objective-C++ files.
- Added __objc_yes and __objc_no to the keyword list for Objective-C/C++
- Added @import to the keyword list for Objective-C/C++
- Added nullptr to the keyword list for C++ and Objective-C++.
- 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.
- The UI for "Save Scheme" in the Text Colors preferences has been enhanced: there's now a pop-up menu so that you can choose the name of an existing color scheme if you want to overwrite it. (You'll be warned before overwriting an existing color scheme, though.)
- Added color settings for verbatim sections and math strings in TeX documents.
- There are now several built-in factory supplied color schemes. These may be used as-is, according to your preference, or you can select one, customize it, and use "Save Scheme" to create your own modifications (which are stored in the Application Support/Color Schemes/ folder, as usual).
- Font ligatures can now be controlled with an expert preference. This allows enhanced text rendering behavior in certain fonts. For example, the work-in-progress Hasklig font which uses ligatures to enhance the display of compound-character Haskell operators.
- In the sidebar of a multi-file Differences window, you can now click on a file or folder icon to ask the OS to open it. Hold down the Option key to reveal it in the Finder instead; or hold down the Command key to open the item in TextWrangler (even if the OS would open it in some other application).
- There is a new control in the status bar at the bottom of text views; it displays the current magnification of the view and allows you to change it. The control can be hidden (or shown) using the "Text Magnification" option in the Appearance preferences.
- There is now a keyboard equivalent for opening the Magnification menu; this can be changed in the "Menus & Shortcuts" preferences, under "Status Bar".
- The popup-menu buttons at the bottom of the window side bar are now accessible via keyboard commands. There are none set by default; you can configure your own in the "Menus & Shortcuts" preferences; see the "Side Bar Items" section.
- There is a third option in the Keyboard preferences to control Home and End key behavior: "Progressive (BRIEF compatible)".
- There are some new commands on the View menu: Collapse All Folds and Collapse Folds Below Level.
- Clicking on the document icon in a window's toolbar will now open a spring-loaded info panel which displays basic information about the file, and gives you the ability (for local files only) to rename it, "touch" its creation/modification dates, and change its permissions. Dismiss the panel by clicking outside of it, switching to another window or application, or pressing the Escape key.
- Added a "Swap" button to the Find Differences dialog box.
- The info panel (raised by clicking on the document icon in the toolbar) now gets a "Text" tab displaying character, word, and line counts for the document (and if applicable the selection).
- Clicking on the Text Statistics status bar item will now open a the document information panel with the Text tab pre-selected.
- A "Get Info" command is now available on the View menu, as well as in the action and contextual menus for file sidebars (for items on disk) and disk browsers. This will display the same info panel that is available by clicking on the file's icon in the toolbar. When applied via action or contextual menu to sidebar items, it is only available for files or folders, and will not show text statistics.
- There is a new command on the Search menu: "Replace All in Selection". This is enabled when there is a selection in the front document's text view (or in the document immediately behind the Find window). Choosing it will apply a Replace All only to the selected range of text.
- CSS coloring has been enhanced: numeric values are now colored, as are color specifications (both built-in names and 3/6-digit hex color specifications).
- SCSS is now supported as a built-in language. This is a superset of the support for CSS, with additional coloring for variables, // comments, as well as completion for the SCSS built-in functions.
- There are two new commands on the Edit menu: "New Line Before Paragraph" and "New Line After Paragraph". These commands will insert a new line at the beginning of the paragraph(*) containing the start of the selection, or after the end of the paragraph containing the end of the selection, respectively.
- Added check box to the Edit -> Insert -> File Contents file panel: "Include separators". This will include a separator between each inserted file's contents, which includes a dashed line and the file's name.
- There is now a simple way to add language keywords to installed languages without fiddling your fingers in the application package or other off-limits places.
- TextWrangler now supports the EditorConfig settings file convention. You can learn more about this at the EditorConfig web site.
- There's a new (dynamic) command on the File menu: "Save All in Window". The factory default keyboard equivalent is Command-Option-Shift-S. This is enabled if any (or the only) document in the front window has unsaved changes; choosing it will save all documents in the front window.
- The CSS/SCSS language module is all new. Folding, keyword coloring, function navigation, and completion have all been improved. Various bugs are fixed.
- Added a new command to the first section of the Search menu: "Search in Document’s Folder" (its title when disabled). When a text document is active in the front window, this command is enabled and will activate the Multi-File Search window with the document's enclosing folder selected as the search location. (The name and path to the folder are displayed in the menu.)
- The "Arrange" item on the Window menu now presents a submenu with all of the available arrangements. Choosing one will apply it; for any that you use frequently, you can assign a keyboard shorcut in the application's "Menus & Shortcuts" preferences.
- A new language module for EditorConfig files is now built in, with syntax coloring and section navigation (via the function navigation menu).
- The INI language module has been rewritten, and provides improved navigation as well as folding.

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe