Operating System Utils
Text & Binary Editors
Current Highlights
Follow us on Facebook

TextWrangler 4.5.9

Text Editing and Manipulating

  • Powerful single and multi-file search & replace

  • Flexible ‘grep’ style pattern-based search and replace based on PCRE (Perl-Compatible Regular Expression)

  • Sort Lines and Process Duplicate Lines commands offer grep pattern support for sorting, extracting, and handling text

  • Find Differences to compare two versions of a text file and merge the differences

  • Support for rectangular text selections

  • Built-in text transformations: Zap Gremlins, Change Case, Entab/Detab, and more

  • Open and save files in a variety of character sets, including Unicode (UTF-8 and UTF-16) files

  • Supports editing of multi-byte and Unicode text

  • Live Search for incremental, in-window searches

  • Open and save files in Mac, Unix, and Windows line-ending formats

  • Integrated support for Mac OS X’s spelling service

  • Hard or soft wrap text however you prefer

  • Quoted text rewrapper

  • Multiple Undo

  • Multiple Clipboards

  • Splittable editing windows

  • Auto-Indent


  • Syntax coloring and function navigation for ANSI C, C++, Fortran, Java, Object Pascal, Objective-C, Perl, Python, Rez, Ruby, Tcl, TeX, and Unix shell scripts

  • Automatic language guessing and User selectable per/document language setting for supported languages

  • Integration with Mac OS X developer help

  • Ability to function as an integrated external editor with Xcode

OS Platform Integration

  • Comprehensive AppleScript support: scriptable, recordable, and attachable

  • Ability to integrate TextWrangler with Unix tools and scripts, by means of the “edit” command-line tool

  • Authenticated saves: modify files not owned by your account (provided you are an administrative user)(Note: Not available when downloaded from the Mac App Store.)

  • Support for Quartz text smoothing

  • Support for Mac OS X Services

  • QuickTime translation support

  • Automatic backup of files when saving (optional)

  • Optional Emacs keybinding support

Other Useful Features

  • Extensive FTP/SFTP support open and save text files located on remote FTP servers

  • FTP tool supports Mac OS Keychain and use of alternate ports

  • FTP Browsers provide persistent view of remote site directories

  • Integrated support for FTP access through Interarchy and many other third-party FTP clients

  • FTP server discovery using Bonjour

  • Support for a wide variety of BBEdit language modules & the ability to develop your own modules

  • Configurable key assignments – set keys for commands

  • Disk browsers – view directory listings and open files

  • Floating window list

User's rating:

  • Currently 3.50/5
  • 1
  • 2
  • 3
  • 4
  • 5
Enlarge the screenshot of TextWrangler
[ Enlarge Image ]
Download 5.4MB TextWrangler

Download Direct

(5.4MB, Extension: DMG)

Download alternate to TextWrangler solution

Look at the free or trial alternatives and similar apps to TextWrangler software by the tags. It's possible also to find substitutes for the most popular titles in the Operating System Utils category.

| Textwrangler | Texteditor For Mac | Html And Text Editor | Barebones |

History updates (Complete changelogs since the listing on this site)

4.5.9 [07-21-14]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Fixes
    • Fixed crash which would occur occasionally (depending on the shape of memory) when trying to balance delimiters and the selection start was at the beginning of the document.
    • Worked around an elusive OS behavior in which the application would receive spurious change notifications for folders that it wasn't actually watching, which in turn triggered inappropriate refreshes of the Scripts, Text Filters, Stationery, and/or Clippings menus.
    • Fixed likely cause of an occasional crash at startup.

    Other versions : 4.5.8 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 3.1

    v4.5.8 [04-22-14]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Fixes
    • Fixed hang which would occur if Spotlight was blocked on indexing when bringing up a source picker (as in multi-file search or text factory execution).
    • The application no longer claims to be able to edit "Java Web Start" files, which should prevent the OS from inappropriately opening them after downloading.
    • Fixed bug in which the first right-arrow gesture in a text document would have no effect when the document had been opened with soft wrapping turned on and the insertion point was at the very beginning of the document.
    • Fixed a cluster of bugs which conspired to prevent image windows from opening up with correct size and placement; the image's dimensions are now listed in the Window menu as well.
    • Fixed bug in which keyboard equivalents including the Shift key couldn't be set properly in the "Menus & Shortcuts" preferences.
    • Fixed crash which would occur when using the "New..." button in an FTP browser window while the item list was empty.
    • Fixed bug in which horizontal scrollbar calibration would get out of whack after deleting (or shortening) the longest line in the file, and then inserting text elsewhere to create a line that was longer than the previous record holder.
    • Fixed bug in which the line number bar would show incorrect line numbers following the beginning of a folded range of text.
    • After a conversation with Gruber, changed the UTI conformance for net.daringfireball.markdown from public.text to public.plain-text. This will fix QuickLook's failure to display Markdown files (it would show a document icon instead).
    • Changed the name of the "Data File" pseudo-language to "Text File", and added ".txt" and ".text" as default mappings to that language (in addition to the existing ".data" and ".dat'").
    • Fixed bug in which files which should have triggered a privilege escalation when opening did not, and instead reported a 10004 error.
    • Fixed a bug in which changes to display configuration would cause windows to be incorrectly reshaped in some situations. (Typically when an external display was removed from a laptop, and the window was located on the external display and was larger in either dimension than could be displayed on the laptop screen.)

    v4.5.7 [03-06-14]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Fixes
    • Fixed bug in which progress dialogs would leak memory.
    • Fixed memory leak in the innards of the font system.
    • Made changes to significantly improve performance when generating syntax-coloring information for extremely large files (SQL dumps being a good example of same).
    • Fixed a performance bug when scrolling in text views with extremely long lines and the Line Numbers bar visible.
    • Fixed bug in which data structures backing the Scripts menu (and other similar folder-backed menus) were not properly released when the menu was refreshed, leading to creeping memory use.
    • Fixed a memory leak in SFTP process cleanup.
    • Made a change to work around a mystery crash at startup.
    • Various internal changes to improve stability.
    • Fixed bug in which one pane of a split-pane text view would get blanked out in certain circumstances. (Replace All in a split window was a good way to reproduce this.)
    • Made changes to improve the display of path names in menus when the path is ~ or /.
    • Fixed a bug in which FTP browsers reopened as part of startup state restoration would never reconnect to their previous locations and always drop a sheet asking for connection information.
    • When reopening files during state restoration at startup, the application will no longer attempt to mount volumes that are not available (e.g. remote file server volumes). This should resolve hangs that occur when the system goes off and tries to reconnect to a server that is no longer available (as tends to occur when taking a laptop home from the office). If for some reason you preferred the old behavior and want the application to attempt remounting of volumes containing reopened files, you can use this expert preference: defaults write com.barebones.textwrangler AllowVolumeMountDuringStateRestore -bool YES
    • When generating the Markers popup, leading whitespace from the marker name is now used to indent the menu item, so that type-to-select works correctly in the menu.
    • Fixed a bug in which files opened by external request when starting the application (e.g. double-clicking a document in the Finder) were opened before sleep state was restored, resulting in the desired documents ending up in their own buried window, rather than active.

    v4.5.6 [02-03-14]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Fixes
    • Fixed bug in which bz2-compressed files were not read correctly.
    • Fixed bug in the Fortran scanner in which it was confused by certain keywords appearing out of context.
    • Fixed crash when using "Find in Reference" with no document open.
    • Updated copyright year.
    • Fixed a bug in the Fortran function scanner in which subroutine/function ends weren't correctly detected when the qualifying identifier didn't end exactly at a line break.
    • Fixed bug in which the functions and folds could be out of sync if the document contents were reloaded from disk or reverted.
    • Restored the previous order of startup so that crash recovery takes place after sleep state restoration.
    • Fixed cosmetic glitch in which the pop-down arrow icon in the header of disk browsers would sometimes draw in the toolbar area.
    • We now preflight the use of xcrun and avoid it if we can determine that the developer command-line tools were not installed. The AskXcodeForCommandLineTools expert preference is now obsolete.
    • Fixed crash which would occur if an error occurred while trying to save an FTP/SFTP bookmark's password into the keychain. (The error is now logged to console, instead.)
    • Fixed bug in which heavy FTP logging activity would cause the application to run out of memory and crash.
    • Fixed bug in which the FTP log file was created with (usually incorrect) random permissions. It is now created u+rw as intended.
    • Fixed crash which would occur while typing in one of the file lists in a multi-file Find Differences results window.
    • Fixed lurking bug which would occur while processing identical files during a multi-file Find Differences operation.
    • Fixed bug in which Text Factory transformations applied to untitled documents would change the document's line endings to "Classic Mac (CR)".
    • Fixed a bug which had no visible effect, but which triggered a warning from the graphics system when toggling check boxes in the Multi-File Search window's source list.

    v4.5.5 [12-23-13]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Changes
    • Changed the Dash support to use the newer lookup syntax, and added expert-preferences support for specifying which docset keys to include in the query. This is done on a per-language basis, by specifying an array of keys in a defaults write command, thusly: defaults write com.barebones.bbedit DashQueryKeys_ -array For example, for Objective-C++: defaults write com.barebones.bbedit DashQueryKeys_Objective-C++
          -array cpp iphoneos macosx appledoc cocos2d cocos2dx cocos3d kobold2d sparrow c manpages The list of query keys recommended for various languages may be found here. Note that you must use TextWrangler's human-readable language name in the defaults write above, not Dash's.
    • TextWrangler now passes through the document filename extension to Dash when making queries (as long as the document is backed by a file on disk).

    v4.5.4 [12-10-13]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Changes
    • 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.
    • TextWrangler's "Register" dialog box (for non-App Store builds) has been rewritten.

    v4.5.3 [07-30-13]

  • This release consists entirely of fixes for reported issues, and contains no new features.
  • Changes
    • When starting the application from somewhere other than /Applications/ (or ~/Applications/), you're now offered the opportunity to relocate it to /Applications. This replaces the old alert about running from the install image, and provides a better first-run experience as well. (This all only applies to non-App Store builds.)
    • When starting the application, holding down the Command, Control, and Shift keys will now give you the opportunity to discard any existing auto-save state. You should do so with extreme caution; discarding the auto-save state means that you will lose any unsaved changes or untitled documents that were previously remembered as part of the crash recovery mechanics.
    • Made some cosmetic adjustments to the Line Numbers bar in editing views.
    • Made some cosmetic adjustments to the Cursor Position display in editing view status bars.

    v3.1 [02-17-10]

    -When scanning folders for various purposes (multi-file
    search, Find differences, and others), SCM administrative
    directories are specifically ignored, even if "Search Invisible
    Folders" is turned on: CVS, .svn, .git, .hg, .bzr. This avoids
    potential disasters that can result from indiscriminate search
    and replace in such directories. If, however, you choose to live
    dangerously, you can allow TextWrangler to see inside of these

    defaults write com.barebones.textwrangler Misc:SkipSCMAdminDirsWhenScanningFolders -bool NO

    Note that this behavior represents a change from previous
    versions, in which you could search inside of such directories
    by using "Search Invisible Folders".
    -The Enter key can optionally generate a CR (controlled in
    -When pasting into an editing view, TextWrangler will convert
    non-breaking spaces (Unicode 0x00A0) in the pasted text to ASCII
    spaces (Unicode 0x0020). To disable this conversion:

    defaults write com.barebones.textwrangler Clipboard:ConvertNonBreakingSpacesWhenPasting -bool NO
    -When running on Mac OS X 10.5 and later, there's a new item in the
    Open dialog: "Show hidden items". This controls whether the
    dialog box shows invisible files and folders. The setting you
    choose will persist across runs of the application.
    -FTP browsers get a "New..." button, which when clicked
    allows you to create a new file or folder in the location to
    which you're currently connected. Creating a new file will open
    it; creating a new folder will navigate into it.
    -You can now use the extended hex notation in literal
    searches: x{NNNN}, where N is any hexadecimal digit. You
    can use up to four hex digits; the following examples are

    -"Open Selection" and "Open File by Name" now use the front
    document's default save location if one is available and the
    document isn't saved to disk. This makes it useful in the case
    of a file that will be implicitly created when saving but which
    doesn't exist yet, as in edit /path/to/some/new/file.
    -Search results now contain an additional property in the
    "Result Entry" scripting object type:

    match_string (text) : for Grep search results, contains the text
    matched by the pattern
    -There is an interface to simplify the creation and editing of
    Attached Menu Scripts.
    -TextWrangler will now honor the "" extended
    file attribute, if present and appropriate. (The attribute will
    not override a BOM, explicit encoding specification, or Apple
    Event parameter, but is used if the file is not valid UTF-8, not
    pure ASCII, and no other hints are available.)
    -When saving a text document, TextWrangler will now write the
    document's text encoding into a ""
    extended file attribute, if the preferences allow it. (The
    factory default is to write extended attributes if the file
    system containing the file supports them, and not otherwise; see
    the Expert Preferences reference in TextWrangler Help for the
    -On Mac OS X 10.5 and later, the contextual menu will contain "Unlearn
    Spelling" when appropriate so that you can remove learned words
    from your user spelling dictionary as necessary.
    -There's a new built-in language, "Software Package Notes". This
    is a hook on which to hang internal mappings for the sorts of
    files that are typically included as additional documentation in
    Unix software package distributions. There is no syntax coloring
    or function navigation, but files mapped to this language are
    recognized as text and thus openable and searchable when text
    files are filtered for processing or display.
    -Language module for Make.
    -There's a new command-line tool, twfind. It provides a
    command-line interface for running multifile searches. Here is a
    quick summary of its usage and options:

    Usage: twfind

    -h, --help print this help and exit
    -v, --version print detailed version information and exit
    -V, --short-version print abbreviated version information and exit
    -n, --case-sensitive search case sensitive (default: case insensitive)
    -g, --grep interprets "" as a regular expression
    -w, --match-words only return matches that fall on word boundaries
    -R, --no-nested-folders suppress searching of nested folders
    -I, --search-invisible-folders search invisible folders
    --all-file-types search all file types (default: text files only)
    --name-pattern only search files whose names match the given pattern (may be used multiple times)
    --gui open a results window instead of returning results
    -c, --count only print number of matches found
    -Z, --null separate results lines with NUL instead of newline
    -S, --suppress-context only print file path and line number of match
    -E, --editor-commands print results in the form ofeditcommands
    -0 interpret input separated with NUL instead of newline

    You can combine single-character switches. Thus,

    twfind -ngw some-string ...

    is equivalent to

    twfind -n -g -w some-string ...

    You can also use "--" to end the parsing of switches, in cases
    where you need to specify a search string or file path that
    begins with two hyphens:

    twfind some-string -- --name-of-some-file

    It is possible to search more than one folder at a time
    by specifying multiple "path" arguments. Apart from the
    special case of using "--", the first non-hyphenated
    argument is interpreted as the search string (or
    pattern, if -g is specified) and all others are file
    paths. So, you could write:

    twfind error /var/log /Library/Logs/

    and this will cause twfind to search for the string "error" in
    two different folders.

    If no search paths are specified on the command line,
    twfind will attempt to read them from standard input. This
    makes it an attractive target for the output of other tools such
    as find. For example:

    find . -name "*.py" -print | twfind blah

    takes the paths printed by find and searches those files.

    The input is expected to be separated by Unix newlines (n).
    In cases where standard input is generated programmatically and
    the paths are separated with a NUL, you can pass a -0 on the
    command line. Again using find as an example input source:

    find . -name "*.py" -print0 | twfind blah -0

    A --name-pattern option is available for filtering
    files by name in the directory(ies) being searched. The
    wildcard syntax is the same as that used by the "Matches
    Wildcard" file filter term:

    '?' matches any single character;
    '#' matches any digit;
    '*' matches any run of characters;
    '' is used to escape the next character (for matching literal '?', '#', or '*')

    so, twfind foo . --name-pattern "*.py" will search for the
    string foo in the current working directory, in every file
    whose name ends in .py.

    Ordinarily, twfind returns results in this form:


    where "NN" is the line number containing the match, and ""
    is the text of the line where the match occurred. You can modify
    the output in a few different was: -S will suppress the line,
    which is a prerequisite if you want to use the output of
    twfind as input to another tool (like xargs).

    If you like, you can have twfind generate output in the form of
    edit commands, each of which can be executed to open the
    file and select the line. Use -E. (Note that that this implies
    -S and will suppress the context.)

    Whether or not you use -S, the -Z switch modifies the output
    by using a NUL (ASCII 0) character to separate the lines of
    output, rather than a newline (ASCII 10). This can be useful for
    programmatically parsing the output, or running it through
    xargs -0.

    Using -c will suppress all of the output, and simply return
    the total number of matches that were found.

    It's also possible to use twfind as a front end for the GUI
    multi-file search. Add --gui to the command line, and the
    search will start and present a Search Results window, rather
    than returning any text results to the tool. (This option causes
    the tool to exit as soon as the search is started.)

    Note also that using -h, -V, or -v will cause the tool to
    exit immediately without performing a search, even if there are
    valid search string and options provided.
    -The Find and Multi-File Search windows now show tooltips when
    you hover over various option switches and buttons. Each tooltip
    shows the keyboard equivalent for the item; as before you can
    adjust the equivalents using the Menus preferences.
    -Prefix/Suffix lines remembers recent choices. Prefix and Suffix
    keep separate histories, currently capped at 10 unique items.

    Average review rating :

    Useful independent reviews and opinions of the users

    Review TextWranglerWrite a review « Be the first to post a review for TextWrangler download!

    Predicted future versions and notices:

    The constantly monitors the update of all programs, including information from the TextWrangler 4.5.10 changelog file, however sometimes it can happen that data are not complete or are outdated.We assume that author continue's to develop 4.6.0 version with further advanced features, and soon you will be informed. Equally important 5.0.0 upgrades of the program we will continue to monitor. Full TextWrangler description has been compared with the overall software database and our algorithm has found the following applications (are showed below).