Questions tagged [textwrangler]

TextWrangler is the “little brother” to BBEdit, a professional HTML and text editor for the Macintosh.

TextWrangler

TextWrangler is the “little brother” to BBEdit, a professional HTML and text editor for the Macintosh.

TextWrangler vs. BBEdit

TextWrangler is a very capable text editor. What sets BBEdit apart is its extensive professional feature set including Web authoring capabilities and software development tools.

How do I get TextWrangler?

Download TextWrangler here.

TextWrangler is a…

  • General Purpose Text Editor
  • Programmer’s Text Editor
  • Unix And Server Administrator’s Tool
  • Powerful Text Transformer And Manipulator
  • Good Mac OS Citizen
  • Powerfully Useful Tool
  • product developed in the best traditions of Bare Bones Software, with high performance, ease of use, a rich feature set, and the ability to read its own release notes.

TextWrangler 4.0 System Requirements

  • Mac OS X 10.6 or later (10.6.8, 10.7.3 or later recommended)
  • Intel Macs only

What about BBEdit Lite?

BBEdit Lite was discontinued a number of years ago, and the world has moved on. TextWrangler and BBEdit have capabilities that were never supported (or possible) in BBEdit Lite:

  • Run natively and at full speed on Macs with Intel processors;
  • Open files from (and save them to) remote FTP and SFTP servers;
  • Pattern matching (BBEdit's grep mode uses a PCRE version from 2003, so recent PCRE features are missing);
  • Support for editing Unicode text files, and converting between text encodings;
  • Find Differences to compare files or folders;
  • Integration with the Unix command-line environment;
  • Advanced and extensible programming language support, with code folding, syntax coloring, and extensibility;

…and much much more.

177 questions
0
votes
1 answer

regex substitute several special characters with other special characters in Textwrangler

The character ̈ (unicode 0x308) cannot be represented in the “Western (ISO Latin 9)” encoding. I need to replace several (3) of this special characters in many txt-files. Ideal would be one single regex command for the TEXTWRANGLER editor…
mfuerli
  • 44
  • 7
0
votes
1 answer

Text Wrangler and terminal command?

I was wondering how can I open a index.html file from terminal. For example, I know with sublime works like this: sublime index.html but for textWrangler? And in general, how can I find these commands like "sublime" for whatever program I chose.…
tonhwk
  • 1
  • 4
0
votes
2 answers

How to replace strings of spaces with just one space

I am in TextWrangler, trying to grep for all sets of more than one consecutive space. I want to replace all these instances of multiple spaces with a single space. E.g., Find "Cognitive Impenetrability of          Visual Perception" Replace with…
Nick Byrd
  • 163
  • 1
  • 14
0
votes
3 answers

need to find and replace using regular expressions in textwrangler - grep, for a csv file

I have this csv file, plain text here: http://pastie.org/1425970 What it looks like in excel: http://cl.ly/3qXk An example of what I would like it to look like (just using the first row as example): http://cl.ly/3qYT Plain text of first row:…
Brad
  • 12,054
  • 44
  • 118
  • 187
0
votes
1 answer

Applescript: cut character and paste within span tags

I've been automating a process that we do for work that involves converting word documents to html files in TextWrangler. I've got everything sorted except for one final step, which involves moving the first character of the article inside of span…
Shay
  • 35
  • 4
0
votes
1 answer

TextWrangler FInd/Replace with

I have long lists of location data, which is in XML format. LondonZoo... Unfortunately the XML is corrupt and I have to replace/fix a lot of invalid close XML tag occurances. Example, here…
Vincent
  • 4,342
  • 1
  • 38
  • 37
0
votes
0 answers

osx - Why can't my text editor (Text Wrangler) find lxml but I can use it when running Python from Terminal?

I'm trying to import lxml into my code that I'm working with in text editor, using: from lxml import etree But when I run my code, I get an import error that says No module named 'lxml' If I run python from the terminal, however, I can use the…
0
votes
1 answer

How to delete words based on characters count in TextWrangler

I'm deleting words that contains more than X characters using TextWrangler and i wonder if there's a way to select them with some kind of filter or something?
i6x86
  • 1,557
  • 6
  • 23
  • 42
0
votes
1 answer

Find and Replace script for textWrangler

I'm trying to make a script that will find and replace some xml structure. I've made it all flat, no spaces, no return. So far I've made : tell application "TextWrangler" replace text "amenitydrinking_water" using…
petaire
  • 495
  • 1
  • 10
  • 23
0
votes
2 answers

Find and swap part of text in multiple files with Textwrangler

I'm trying to solve this problem with textwrangler but haven't figured the solution yet. Any help will be much appreciated. Suppose I have many emails like this one: Goodbye Welcome to the jungle and so on...with much more text... Hello How would…
Mariano
  • 1
  • 2
0
votes
1 answer

ghci in terminal only shows version and can't load program into ghc

The first problem is when I write ghci in the terminal (I use an Apple Mac), it only shows the version, it seems it's not loading anything. In my case, like following: $ ghci GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help And…
0
votes
1 answer

Seemingly perfect code written on TextWrangler gives SyntaxError when run on Python 3

This is my code: def trip(nights): return 140 * nights def plane_cost(ride): if ride == "London": return 220 elif ride == "Rome": return 200 elif ride == "Glascow": return 185 def car_rental(days): cost…
L. John
  • 39
  • 6
0
votes
1 answer

Moving snippets of text to end of document

I'm converting a a book in XML-format to EPUB. It has 67 chapters and more than a thousand footnotes. I've found that a good way to create footnotes in Epub is by moving the contents of the notes to a list at the end and linking back and forth…
0
votes
1 answer

Open codeigniter projects with TextWrangler

I have seen some people opening codeigniter as project while I am still opening separate files which is really slow...does anybody know how can I do that with TextWrangler?
rabidmachine9
  • 7,775
  • 11
  • 46
  • 59
0
votes
1 answer

Change colour scheme in TextWrangler using applescript?

I have a custom colour scheme in TextWrangler that makes code comments the same colour as the background, essentially "hiding" the comments. It can be useful if you just want to focus on your code. I would like to use an applescript to change…