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
0
votes
1 answer

BBEdit 13: Extract function within Text Factory

New to Text Factories here in BBEdit 13. I know how to press the EXTRACT button in the Find and Replace window but can't figure out how to include an Extract as one of the steps within a Text Factory. Is it possible?
0
votes
1 answer

BBedit Option "Run" or "Run in terminal"

I'm a newbie to BBedit. I use this to write my f90 file. Anybody know why all the options "Run" in my bbedit window are greyed out? I always saved my file as .f90
0
votes
1 answer

Weird behaviour when uncommenting an indented block of code

I've been using BBEdit (and Textwrangler before) for quite some time, but one thing bugs me - the uncommenting block option seems to eat one space each time you use it. This makes it useless since it breaks the indentation. Also I don't get the…
daro
  • 39
  • 6
0
votes
2 answers

R-type blockquotes in BBEdit

How can I quickly add R-type quotes (#) to multiple lines in BBEdit, and how can I quickly remove them again?
user12635841
0
votes
0 answers

Having trouble trying to get my html to run the for loop Properly

function displayCaloriesBurned() { var calburned = 0 var calpermin = 4.2; for (var i=10; i<30; i+=5){ calburned= i * calpermin; alert(calburned) return calburned; } } displayCaloriesBurned(); Currently this only portrays the number 42…
Pwnd16
  • 25
  • 4
0
votes
1 answer

What do those sideways "L" in BBEdit's gutter area mean?

Please see image below. Thanks!
0
votes
2 answers

How do I use Grep to find a phrase that ends with a regex expression?

I have a large text file that I am trying to separate into a CSV. Right now there are no line breaks, but each line that I want to separate will end with the regular expression url is \S+. I am using bbedit to find and hopefully extract the lines. I…
0
votes
1 answer

Replacing numbers in a string with Applescript and BBEdit

I am a total beginner and have written a few little scripts that feed use Applescript to feed BBEdit a list of find and replace fields, primarily for formatting. I.e. convert to tag1, tag2, etc. I'm trying to use the same method to replace some…
Tom Sutherland
  • 53
  • 1
  • 2
  • 6
0
votes
2 answers

Compressed XML files display fine in BBEdit, but not in Sublime Text

I've done some googling on this, and searched this site, but still can't seem to figure out how to resolve this specific issue, or understand why it is occurring. My preferred text/code editor is Sublime text. But when opening various XML-formatted…
Max Well
  • 257
  • 2
  • 9
0
votes
1 answer

TextWrangler and BBEdit Multi-File Search not able to filter based on filename

I wanted to use the Multi-File Search in TextWrangler and use Filter for filename. But When I try to enter Filter like Filename is file.txt, the OK button is disabled and is never enabled. Documentation says TextWrangler is not compatible with macOS…
datastax
  • 144
  • 1
  • 2
  • 13
0
votes
2 answers

Replace spaces in all URLs with %20 using Regex

I have a large block of HTML that contains multiples URLs with spaces in them. How do I used Regex to replace any space that occurs in a URL, with a '%20'. The good thing is that all of the URLs end with '.pdf'. Looking for something I could run in…
Doug
  • 49
  • 6
0
votes
1 answer

Replacing part of LaTeX command using BBedit grep

How can I use the BBedit grep option to replace LaTeX commands like \textcolor{blue}{Some text} by the contents of the second set of braces, so Some text ?
user1362373
  • 155
  • 1
  • 7
0
votes
1 answer

How do I grep for all lines without a "@" character in the line

I have a text file open in BBEdit/InDesign with email addresses on some lines (about a third of the lines) and name and date stuff on the other lines. I just want to keep the lines that have emails and remove all the others. A simple pattern I can…
wide_eyed_pupil
  • 3,153
  • 7
  • 24
  • 35
0
votes
1 answer

Grep (BBedit) - remove file path and leave only the file name and preceding data

Newbie here, but I'm stumped on this grep that I create in BBedit on macOS. I have some lines in multiple files that have added a file path in error that I'd like to remove. Here is an example: BuildFile…
0
votes
1 answer

Need regex help to modify an XML file

I'm trying to modify an XML file which contains elements holding opening times for branches of a business. The XML file is inconsistent because for some branches it has just an opening time and a closing time, others have an opening time, a closing…
conorgriffin
  • 4,282
  • 7
  • 51
  • 88