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)

158 questions
2
votes
1 answer

BBEdit "Find" dialog

I find myself using BBEdit on a mac a lot during development (and pure text editing as well). It's great and fulfills pretty much all of my needs. However one really annoying thing I find with it is that the Find dialog closes automatically after…
Aleks G
  • 56,435
  • 29
  • 168
  • 265
2
votes
3 answers

BBEdit AppleScript for reformatting multiple files

I'm looking to write an Applescript which will utilize BBEdit — loop through a ton of HTML files and autoformat them (so the indentation is easier to read). So far I have: tell application "BBEdit" activate open {file "Macintosh HD:TEST…
Bomski
  • 209
  • 1
  • 2
  • 9
2
votes
1 answer

Hide the tab arrow in BBEdit

So I'm trying to make the switch from Textmate to BBEdit and I've gotten past most differences except for one...the little arrows BBEdit puts in to show tab. For each time I hit tab a little arrow is displayed on the screen. Is it possible to turn…
Jason
  • 15,017
  • 23
  • 85
  • 116
2
votes
1 answer

How to manipulate text via command-line utilities: grep, cut, awk, sed or BBEdit (Grep Find Option)

I'm struggling with a srt file. I've got a very very long subtitle file and I'd like to automatically get caption text just on a single line instead of two (or worst) three different lines like in the original file. I tried many solution decide to…
PULASTER
  • 21
  • 2
2
votes
1 answer

bbedit - how to change multiple strings to title case?

In bbedit there is a feature where you select the text, choose text->change case->make title case from the menu and it will act accordingly. Is there a way to select multiple strings of text across files in your project then apply the same text…
user1689274
  • 373
  • 1
  • 4
  • 14
2
votes
2 answers

encoding errors running python from within bbedit

Here's a question that's puzzled me for a long time. I use bbedit to edit python code. Running the code from within the editor, as I understand it, spawns its own python process, runs the code, and writes the output to a log file. So bbedit doesn't…
jjon
  • 680
  • 1
  • 8
  • 23
2
votes
2 answers

How do I add text to a new BBEdit document at creation?

I open a lot of new documents in Textwrangler/BBedit and I would like them to always have the date printed at the top. I would like this to be automatic so that I don't have to remember to run a script each time. I'm new to BBEdit but I really like…
CGanote
  • 149
  • 1
  • 6
2
votes
1 answer

Visually show lists - indent after line break in bbEdit

I am using bbedit 12 in a markdown document. I have enabled Soft Wrap Text at Page Guide as it makes the document easier to read. As can be expected, itemised lists looks like this: * some reallllllly long text * and another loooooong …
Rainer
  • 8,347
  • 1
  • 23
  • 28
2
votes
1 answer

How to turn an AppleScript list into a string

Trying to learn how to use AppleScript records and lists to their upmost potential I've been trying to create a report of a BBEdit project but I'm finding very limited documentation. I asked a question yesterday trying to figure out why my find…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
2
votes
2 answers

In AppleScript and BBEdit how can you check links?

In BBEdit there is the command under Markup -> Check -> Document Links shortcut cmd+control+k that checks all links. When I look at the dictionary under BBEdit > HTML Scripting -> check links it shows: but when I try to script against a project…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
2
votes
1 answer

Convert white space to tab in BBEdit using grep

I am converting 4-white-space to single-tab in BBEdit using grep. I am converting white space in Python code to tabs. Following works fine: find:[^\S\r]{4} replace:\t However, why the following is removing carriage return. Should not it give the…
Supertech
  • 746
  • 1
  • 9
  • 25
2
votes
3 answers

Regular expression remove tag after a paragraph with a given class

Is there a way to select all
tags that follow a paragraph with a given class? i.e.

This is a paragraph


There may be other
in the HTML so I cannot use this: br {display:none;} and I cannot delete all
tags.…
Linda
  • 1,973
  • 4
  • 21
  • 24
2
votes
1 answer

How to match foreign wods in BBEdit

I've been researching for a way to do a find and replace for foreign words in BBEdit but I'm having an issue with it. After research I ran across Regex - What would be regex for matching foreign characters? which led me to Regular-Expressions.info…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
2
votes
1 answer

BBEdit "Find" dialog vs. CR and LF

In BBEdit (v11.6), when I search for the "\r" character in a txt file previoulsy saved as "Unix (LF)" from the "Save as..." dialog, the result is the end of each individual line of the file. Why? The BBEdit hex dump correctly shows that no CR (OD)…
Delphi8000
  • 21
  • 4
2
votes
1 answer

Return Unknown number of strings within a string using regex/GREP in bbedit

So, I basically have thousands of lines of a wp_post table in the form of sql update statements. I would like to extract all of the image tags from each line, while keeping them on the same line (1 step harder than just extracting), and while…
Tyler Collins
  • 127
  • 10
1 2
3
10 11