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
5
votes
0 answers

Enabling R Markdown syntax highlighting in TextWrangler/BBEdit

I would like to enable syntax highlighting for R Markdown (.Rmd) highlighting in TextWrangler. I managed to get syntax highlighting for .R files using this R.plist file (direct link to file). R Markdown has similar highlighting, so I have that file…
blep
  • 726
  • 1
  • 11
  • 28
5
votes
1 answer

Strange character for empty line in TextWrangler and cat -v

I have a text file, which on my Mac I open with TextWrangler. I enable the invisible characters to see the line endings. I see that every empty line has a red, upside down question mark in it. Which character is this? When in the terminal I type cat…
physicalattraction
  • 6,485
  • 10
  • 63
  • 122
4
votes
7 answers

What is a 'shebang' line?

Currently I'm trying to start programming on my new Mac. I installed TextWrangler, and chose C++ as my language of choice; since I have some prior knowledge of it, from when I used Windows. So, I wrote the ever so common "Hello World" program.…
James Litewski
  • 451
  • 2
  • 6
  • 16
4
votes
2 answers

decoding data from plist file

I have lost some data from my text files written in Textwrangler on Macbook Air. I have found some of them in file which have extension .plist. File is written in xml and looks like this:
user3100193
  • 531
  • 4
  • 6
  • 16
4
votes
1 answer

How can I reference a C# class from a different file?

I'm new to programming, and am trying to learn C# using a Mono compiler for BBEdit's "TextWrangler" program (something like NotePad++, but for Mac). My question, however, is pretty straightforward: I am trying to code a very simple program in C#…
daOnlyBG
  • 595
  • 4
  • 20
  • 49
4
votes
1 answer

TextWrangler and Line Highlighting

I don't like the "highlight current line" feature in TextWrangler. Is there any way to disable this?
3
votes
1 answer

TextWrangler Color Formatting and File Extensions

Is there anyway to force TextWrangler to make alternate file extensions format like html? I use Twig and I like to name my templates homePage.twig, login.twig etc... But, sometimes (I don't know why) the code will not format strings, nodes and what…
Howard Zoopaloopa
  • 3,798
  • 14
  • 48
  • 87
3
votes
4 answers

Regular expression to find a lowercase letter followed by an uppercase

I have difficulty using Regular Expression (Grep) in TextWrangler to find occurrences of lowercase letter followed by uppercase. For example: This announcement meansStudents are welcome. In fact, I want to split the occurrence by adding a colon so…
Niamh Doyle
  • 1,909
  • 7
  • 30
  • 42
3
votes
1 answer

Regex to match part of string, when match does not contain a specific string - PCRE grep

I'm using TextWrangler grep to perform find/replace on multiple files and have run into a wall with the last find/replace I need to perform. I need to match any text between "> and the first instance of a
in a line but the match cannot…
lxbrg
  • 33
  • 1
  • 3
3
votes
3 answers

How to move cursor to front of line and end of line in textWrangler

Currently I'm using mac OX system and wants to move cursor to front and end of line freely with keyboard alone, is there any way of doing it? I tried shift + end, ctrl + end, not working. Thanks!
james
  • 191
  • 3
  • 9
3
votes
2 answers

Regex with positive lookahead across multiple lines

I've been trying to isolate blocks containing a certain string in TextWrangler. Here is the sample I'm working with. 8549672167 8936742582 Blah Blah…
3
votes
1 answer

How do I add additional syntax highlighting/coloring to my Text Editor

So I'm using TextWrangler4.5.3 and primarily Python for scripting. When I write Python, I often like to make comments that say something like: # BEGINS foo and then later # ENDS foo I do this so, later editing and understanding is quick and clear.…
PVNRT
  • 235
  • 1
  • 4
  • 14
3
votes
1 answer

Regular expression search over multiple lines

After considerable search on SO and Google, I resort to posting a new question. I am working with TextWrangler trying to compose a regular expression which will give me shortest matches of a multiple-line pattern. Basically, ہے\tVM is the string I…
3
votes
1 answer

In TextWrangler, can I set the number of spaces per tab on a per-file-extension basis?

I want to use 4 spaces per tab in my Python code (.py files) and 2 spaces per tab in my JavaScript (.js files), and it is cumbersome to keep going to the preferences menu every time I switch between files.
Josh Gibson
  • 21,808
  • 28
  • 67
  • 63
3
votes
1 answer

how to "translate" Grep find/replace commands working with TextWrangler by a command line

I have some Grep find/replace commands working well under TextWrangler like the following one: Find: (\"\d+.\d{3})+(\d{3}+[\s]+) Replace: \1s For example,this find/replace will replace: TXTXTXT"123.123456 TXTXTXT by TXTXTXT"123.123sTXTXTXT Now…
user763308
  • 435
  • 2
  • 5
  • 10
1
2
3
11 12