Questions tagged [bbedit]

BBEdit is a proprietary text editor made by Bare Bones Software available for Mac OS X. It is marketed under the trademark slogan, "It doesn't suck."

BBEdit is a proprietary text editor made by Bare Bones Software. It was originally developed for Macintosh System Software 6 and is now available for Mac OS X.

BBEdit is marketed under the trademark slogan, "It doesn't suck."

BBEdit is designed for use by software developers and web designers. It has native support for many programming languages and custom modules can be created by users to support any language. BBEdit is not a word processor, meaning it does not have text formatting or page layout features.

The application contains powerful multi-file text searching capabilities including strong support for Perl-compatible regular expressions. BBEdit allows easy previewing and built-in debugging of HTML and provides built-in prototypes for most HTML constructs. It also includes FTP and SFTP tools and integrates with code management systems. BBEdit shows differences between file versions and allows for the merging of changes. Support for version control, including CVS, Perforce, and Subversion is built in.

(Copy from Wikipedia entry)

145 questions
171
votes
5 answers

Show SOME invisible/whitespace characters in Eclipse

A long while back I transitioned to doing all my web application development in Eclipse from BBEdit. But I miss one little feature from BBEdit. I used to be able to show invisible characters like tabs but not show other invisibles like spaces. I…
bryan kennedy
  • 6,127
  • 5
  • 38
  • 61
67
votes
7 answers

Auto-convert tab to 4 spaces in TextWrangler?

Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab in the vimrc, but I don't know how to set it in TW besides clicking "Detab" when I'm done editing the document. Thanks, Kevin
Kevin Burke
  • 49,451
  • 66
  • 163
  • 280
28
votes
3 answers

Text editor function to indent multiple lines at once

I want to make my code more organized. So, whenever I copy a function from my functions.php file and paste it in a class, I need to indent each line of the function one or more times so that it's easier to read and looks nice. Some of my functions…
Lance
  • 4,488
  • 16
  • 49
  • 85
8
votes
6 answers

How to indent JSON data inside of TextMate, Emacs, BBEdit, or Sublime Text 2?

[Update: 8 hours after this question was posted, the author of JSON bundle was notified of the issue and he fixed it.] I have the following JSON data in a file application.json, shown at the end of this post, and I have used TextMate with the JSON…
nonopolarity
  • 130,775
  • 117
  • 415
  • 675
8
votes
6 answers

BBEdit-compatible regex for remove blank lines

i've tried other regexes that are supposed to be able to remove blank lines from a document, but none of them seem to work within BBEdit's find-and-replace. What is a regex for stripping blank lines from a document that will work in bbedit?
6
votes
3 answers

A quickie: python, terminal "print command not found"

Been using terminal to run python scripts written in textwrangler for about 18 months. Decided to look at possibility of moving to an IDE so downloaded a couple of trial versions. Just downloaded BBEedit and suddenly having problems executing…
Paul Patterson
  • 6,507
  • 3
  • 38
  • 54
6
votes
7 answers

Is there a truly universal wildcard in Grep?

Really basic question here. So I'm told that a dot . matches any character EXCEPT a line break. I'm looking for something that matches any character, including line breaks. All I want to do is to capture all the text in a website page between two…
Tom B
  • 63
  • 1
  • 4
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
  • 656
  • 1
  • 9
  • 27
4
votes
2 answers

How to ensure BBEdit runs rvm Ruby

I've looked in the BBEdit forums, the RVM documentation and on Stack Overflow - with no joy, so hopefully someone can answer what I hope is a fairly simple question. Last night I left behind my system Ruby (1.9.2) and installed RVM (I'm on Mac OSX…
haircode
  • 291
  • 1
  • 4
  • 13
4
votes
1 answer

Why is the system beeping when I use AppleScript to set text in BBEdit from TextExpander?

I've written an AppleScript that is designed to fire when TextExpander notices a keystroke. It works fine when run from the AppleScript Editor but under certain conditions it also beeps when run from TextExpander. Here's the script: tell front…
Matthew Frederick
  • 22,017
  • 10
  • 68
  • 96
4
votes
4 answers

Can I find out if an AppleScript object has a certain property?

I'm attempting to script BBEdit to make me feel more at home in coming from TextMate. One thing I need to be able to do is see if an object I have a reference to has a particular property. For instance: tell application "BBEdit" tell front…
Matthew Schinckel
  • 32,344
  • 6
  • 71
  • 109
4
votes
3 answers

Remove HTML tag associated with a class

I am forcing myself to learn how to script solely in AppleScript but I am currently facing an issue with trying to remove a particular tag with a class. I've tried to find solid documentation and examples but at this time it seems to be very…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 4,253
  • 12
  • 46
  • 84
4
votes
6 answers

Escape double quotes of HTML attributes output by PHP

Often when writing PHP I'll have it output some HTML like this - echo "".$link_text.""; Obviously this won't parse as I need to escape the double quotes in the attributes of the element. Is there a regex…
Phil
  • 351
  • 1
  • 4
  • 13
3
votes
2 answers

Why is my search in BBEdit causing a "stack overflow" error?

I'm stumped about a "stack overflow" error--"out of stack space (application error code: 12246)--that I'm getting in BBEdit when I do a "replace all", searching for (@article(((?!eprint|@article|@book).)*\r)*)pmid =…
orome
  • 35,904
  • 38
  • 156
  • 345
3
votes
1 answer

Is there a way to mark specific lines in BBEdit and then iterate through them?

I often find myself jumping between several parts of a lengthy document, and I've found no streamlined way of handling this. I've previously used TextPad for PC, and it had a great feature called Bookmarks: Press a keystroke, and the current line…
Alan Bellows
  • 1,683
  • 1
  • 14
  • 21
1
2 3
9 10