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

How can control the paste of a string with AppleScript?

In BBEdit and AppleScript I can loop through a string and set the string to the clipboard with: set the clipboard to jsonString I can then make a new text document and save it with: set jsonParseFile to (name of project window 1) as text save text…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
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
2 answers

Setting a BBEdit insertion point with JXA

I am trying to translate a few Applescript (AS) into Javascript (JXA) for BBedit. It's been a fun little thing to knock some rust off, but I'm stumped. With AS I can set an insertion point into a BBEdit document thusly; tell application "BBEdit" …
0
votes
1 answer

How can you break a repeat when a separate condition is met?

Wanting to increase my AppleScript abilities and the usage of my repeat I was curious to know how I could step through a text file to manipulate the contents but I'm stuck on what to pass to break the loop when I run across another name. Given then…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
0
votes
1 answer

How to save local and SFTP copies at the same time in BBedit?

In BBedit I typically Open from SFTP Server..., edit the file, then hit CMD-S to save it to the server. Then I can test my changes. I liked how DreamWeaver gave the option to automatically save the local copy before putting to the SFTP server. …
Andrew
  • 8,363
  • 8
  • 43
  • 71
0
votes
0 answers

How to add code sections in BBedit or Fortran 90 code

I am trying to separate a long Fortran 90 program file written in BBedit with a defining break (currently a commented line of dashes). Preferably, I would run only the section between certain breaks, similar to what Matlab does with the code…
Rob A.
  • 21
  • 4
0
votes
1 answer

BBEdit: Text Filter cannot handle Umlauts (ä,ü,ö)

The target is: format text as columns. I created the following text filter in BBEdit 11.6.4 (latest version): #!/bin/sh sed 's/ */ ¶/g' | column -s '¶' -t I applied it to the following text (UTF-8 document): zot foo bär pak lorem sit ipsum …
ibu
  • 35
  • 8
0
votes
1 answer

BBedit, deleting different text between two letter

hi to all i ve a lot of line (like 6000) with this format: and i need to delete from all line the text between Componentinfo to / the the…
0
votes
2 answers

File-based, not Folder-based, Projects in Atom?

I'm trying to switch to Atom as my programming editor so that I can gain handy features like linting for Perl, JavaScript, etc. However, over the last two decades, I've used a string of editors (UltraEdit, jEdit, BBEdit) that allowed me to add…
Timothy R. Butler
  • 1,097
  • 7
  • 20
0
votes
2 answers

Removing set of tags from within another set, using regular expressions

I've got a big XML file I'm editing with BBEdit. Within the XML file, which is a digital recreation of an old diary, is text that is enclosed in note tags. Example of a note. Some note tags, however, have quotations enclosed in quote…
Carlos
  • 1
0
votes
1 answer

Using grep in BBEdit

I'd like BBEdit to search some HTML and match every paragraph tag that contains a text string like "myText". This sort of works but often matches beyond the closing ">" of the tag. ]*> As I understand it, this should match the…
user3238181
  • 115
  • 1
  • 10
0
votes
4 answers

Only grep img tags that contain a keyword, but not img tags that don't?

Using grep/regex, I am trying to pull img tags out of a file. I only want img tags that contain 'photobucket' in the source, and I do not want img tags that do not contain photobucket. Want: Do Not Want:
Tyler Collins
  • 127
  • 10
0
votes
2 answers

AppleScript repeat loop can't be re-executed without closing script

Playing with AppleScript I have found when you build a repeat to increment through a block if you cancel it you have to close the script to be able to start over: property foobar : 0 tell application "BBEdit" activate select insertion point…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
0
votes
3 answers

Grep with BBEdit

I do have one large text file with lot of the following patterns; because of,this or that,has or,not Of course I want to change the following because of, this or that, has or, not To make myself clear: i would like to insert a space after each…
Louis
  • 101
  • 3
0
votes
1 answer

How to do multiple serach and replaces in Text Wrangler grep

I need to search for multiple strings in a text file, and replace with another string. I need to do this with one large search/replace rather than running search and replace many times. Here is an example of what I need to do: search for "apple"…
bgodfreyx
  • 1
  • 1