Re: Search and replace dilemma

2023-04-21 Thread Tom Robinson
Select the search pattern in the Find dialog, head up to the Edit menu and select Copy as Styled Text \d{3,5} Voila :] > On 2023-04-22, at 07:16, Kevin Shay wrote: > > Oops, sorry. No syntax highlighting in Gmail :) > > On Fri, Apr 21, 2023 at 3:03 PM Kaveh Bazargan

Re: Keyboard-shortcuts for the navigation within the Currently Open Documents

2023-04-05 Thread Tom Robinson
If they’re separate windows, there’s the OS-wide command-backtick ⌘` and shift-command-backtick ⇧⌘` Cheers > On 2023-04-05, at 18:45, Vlad Ghitulescu wrote: > > Hey, > > > are there any keyboard-shortcuts for the navigation within the Currently Open > Documents? > > Thanks! > > >

Re: Script to Transform One CSV File Into Another

2023-02-18 Thread Tom Robinson
Assuming a basic CSV — no commas or line breaks inside quoted fields, this will pick up the 4 fields, duplicate one of them, and insert constants: Find: ^([^,]+),([^,]+),([^,]+),([^,]+)$ ^ anchor to start of line ( start a capture buffer, the first capture buffer is referenced with \1, etc. [

Re: Split a text file with tabs based on character position in a line?

2022-11-10 Thread Tom Robinson
Not sure what your intent was with that regular expression? This inserts tabs between columns, based on their width. You’ll need a second pass to remove trailing spaces: Find: ^(.{25})(.{16})(.{29})(.{21})(.+)$ ^ Anchors to start of line ( Start a capture buffer ( \1 ) . Any single character

Re: extracting a similar but changing pattern

2022-07-27 Thread Tom Robinson
Similar to before, you just need 2 capture buffers: ^(.*)c=([0-9.]+)$ Replace with: \2 \1 You could also just copy the IP to the start: ^.*c=([0-9.]+)$ Replace with capture buffer followed by entire match: \1 & Cheers > On 2022-07-28, at 08:28, DiBello Design wrote: > > I didn't

Re: extracting a similar but changing pattern

2022-07-26 Thread Tom Robinson
Do a search for: ^.*(c=[0-9.]+)$ ^ anchor pattern to beginning of line .* any number of any character () capture buffer — copy anything inside the brackets to ‘\1' [0-9.] look for any of these characters + 1 or more times $ end of line and replace the entire match (i.e. line) with the capture

Re: Need Grep help to get first digit (or letter) in each row

2022-01-16 Thread Tom Robinson
^[^a-z0-9]*(.).*$ ^ at beginning of line [^a-z0-9] look for anything which isn’t a-z 0-9 * 0 or more times (.) any single character (i.e. a-z 0-9), and ‘capture’ it for replacement pattern ★ any characters $ end of line Replace with \1 Cheers > On 2022-01-17, at 12:16, Howard wrote: > >

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Tom Robinson
I’ve always used option-click for that. Bare Bones removed the restriction of needing unwrapped text a version or 2 ago :] Cheers > On 2021-12-31, at 11:08, Luis Speciale wrote: > > Change the wrap text option to none. > Now you can select vertically (right click). -- This is the BBEdit

Re: Custom sequencing

2021-12-07 Thread Tom Robinson
o numbers less than 100 of the generated > line numbers, no? Or is there a buried preference for asserting the number of > leading zeros? > Numbers.app allows this with the Cells/Data Format/Numeral System Base and > Places > > > On Monday, December 6, 2021 at 5:11:

Re: Grep searching - how to ignore the first word of the sentence

2021-12-07 Thread Tom Robinson
You could probably do it with a lookbehind assertion, but would searching for Potato work? > On 2021-12-08, at 12:50, Pavel wrote: > > I searched the whole chapter 8 of the BBEdit manual but no result. > > Would anyone please know what must contain grep so that the first words of > the

Re: Custom sequencing

2021-12-06 Thread Tom Robinson
No need for a spreadsheet, BBEdit has a line numbering command :] 1. create document with 250 blank lines 2. Text > Add/Remove Line Numbers. Don’t add spaces or justify — we just want a plain number 3. Do a Grep search for an entire line: ^.*$ Replace with the example HTML below verbatim,

Re: Need easy way to make first letter of each line upper case

2021-10-28 Thread Tom Robinson
> On 2021-10-29, at 14:15, Satomi Yoneki wrote: > >> Does anyone know a command/script/grep to make sure the first letter of >> every line is capitalized? > > Have you tried Text > Change Case > Capitalize Lines ? That also converts any remaining uppercase in the line to lowercase. --

Re: Find followed by many lines of arbitrary HTML through next but exclude the second

2021-09-14 Thread Tom Robinson
ords in my example that string selects Exciting Chapter > Title Here, but nothing else. > > On Tuesday, September 14, 2021 at 4:03:49 PM UTC-7 Tom Robinson wrote: > Try this, using positive lookahead and lookbehind assertions: > > (?<=).+(?=) > > Cheers > >

Re: Find followed by many lines of arbitrary HTML through next but exclude the second

2021-09-14 Thread Tom Robinson
Try this, using positive lookahead and lookbehind assertions: (?<=).+(?=) Cheers > On 2021-09-15, at 09:57, Sonic Purity wrote: > > My fiction writing workflow initially produces one HTML document with the > entire novel’s content. Each chapter starts with Exciting Chapter Title > Here

Re: BBEdit 14.0.1 – Scroll Text Up Past Bottom of Window

2021-08-02 Thread Tom Robinson
I think you missed the annotated screenshot Rich attached :] > On 2021-08-02, at 20:04, Christopher Stone wrote: > > Hey Rich, > > Well, where? > > It's not listed in the expert settings for BBEdit 14.x. > > https://www.barebones.com/support/bbedit/ExpertPreferences.html >

Re: Extract number within parentheses using GREP

2021-06-01 Thread Tom Robinson
On 2021-06-02, at 11:59, Howard wrote: > > Thanks everyone for the responses. > > To help me to understand better the Grep part of Neil's solution, can someone > provide me with the search pattern and the replace pattern to just find those > lines with numbers in parentheses and extract them

Re: Trying to remove all empty lines with this grep isn't working

2021-04-26 Thread Tom Robinson
If you’re wanting to remove empty lines, any reason you’re not searching for \r\r and replacing with \r ? > On 2021-04-27, at 11:37, David J wrote: > > > I'm trying to take out any empty lines from a document and can't figure out > why it's not working. > I'm adding the text, then

Re: find first x of a ',' delimited set of numeric strings?

2021-04-26 Thread Tom Robinson
This breaks the items into groups of 3 — look for anything which isn’t a comma, followed by a comma, repeat 3 times. Find: ([^,]*,){3} Replace: &\r This drops everything after the first 3 items (needs a tweak to remove trailing comma) — as above but also capture rest of line, and replace

Re: Can't launch BBEdit

2021-04-10 Thread Tom Robinson
It won’t be doing the same search when you relaunch, it’s probably just reopening the huge document. How long have you given it? > On 2021-04-11, at 11:11, @lbutlr wrote: > > So, I was working on trying to write a regex for some data and using the umm… > search playground? Whatever it is

Re: Open a path in a text file

2021-03-14 Thread Tom Robinson
If I’m following you: 1. in any macOS Open dialog, you can type a / and a special input field will appear where you can type/paste a path (to a directory, not a file) 2. in BBEdit there’s an Open File by Name command, where you can type/paste in a path to a file. Cheers > On 2021-03-14, at

Re: Need to remove blank lines

2021-01-13 Thread Tom Robinson
Cool, but it still fails when trying to remove completely empty lines in a test document. > On 2021-01-14, at 12:56, Christopher Stone wrote: > > On 01/13/2021, at 17:15, Tom Robinson <mailto:barefootg...@gmail.com>> wrote: >> Huh, I was going to say use Process Line

Re: Need to remove blank lines

2021-01-13 Thread Tom Robinson
Huh, I was going to say use Process Lines Containing, but search for ^$ and select Grep and Delete matched lines — saves the copying & pasting step. But BBEdit isn’t finding the blank lines. ^$ does work in the normal Find dialog. Cheers > On 2021-01-14, at 12:04, Neil Faiman wrote: > >

Re: LF vs CR vs CRLF option disappeared from status bar

2020-11-26 Thread Tom Robinson
To answer the other part of your question, it was turned off in 3.5: > • To reduce clutter in the status bar, the Text Encoding and Line Break Type > status bar items are off by default. As always you can adjust the visible > items in the Appearance preferences. Cheers > On 2020-11-27, at

Re: Counting occurrences of names

2020-10-06 Thread Tom Robinson
But that pattern already finds lines ending with a question mark… > On 2020-10-07, at 15:26, Howard wrote: > > How can I revise the pattern below so that I can also find all the lines that > end with a question mark? > > Pattern: ^.*From (.*?) :.*$ > Replace: \1 If you mean only a question

Re: How to open two files and see them at same time in Mac

2020-05-17 Thread Tom Robinson
You can arrange the 2 windows yourself side-by-side, or open the 2 documents and use the Window > Arrange > Tile Across feature. Then turn on Window > Synchro Scrolling. BBEdit will now scroll both documents at the same time. Cheers > On 2020-05-18, at 08:40, Liheng Wang wrote: > > I have

Re: [ANN] BBEdit 13.1 (414021) pre-release

2020-04-22 Thread Tom Robinson
Always interesting & educational reading these notes. But what does NFR stand for — not in bug database? Cheers > On 2020-04-23, at 10:19, Rich Siegel wrote: > > Good afternoon folks, > > We're currently working on a feature update to BBEdit 13, which includes a > number of new features,

Re: Capture group question

2020-03-01 Thread Tom Robinson
It lets you use parenthesis without creating a capture group. If you’re looking for ‘def’ in this line: abc def Then you could use: (abc) (def) But your ‘def’ would end up in capture group 2. If you instead use: (?:abc) (def) Then ‘def’ will be in capture group 1.

Re: Can I _find_ "gremlins" instead of "zap"ping them?

2020-02-23 Thread Tom Robinson
For anyone else wondering about that: The square brackets are a character class. ^ negates the following characters space is the first printable ASCII character (0x20) - hyphen for a range ~ is the last printable ASCII character (0x7E) So find anything not in the range 0x20 to

Re: Pattern alternation on entire line

2020-02-10 Thread Tom Robinson
Ah, thanks Sam! (and Jean-Christophe) > On 2020-02-11, at 11:12, Sam Hathaway wrote: > > ^ and $ bind more tightly than |. > > you want > > ^(s|(e?h?))$ -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email

Pattern alternation on entire line

2020-02-10 Thread Tom Robinson
What have I missed here guys? I want to match entire lines which are empty, contain a single ’s’, or contain ‘e’ and/or ‘h’ (in that order): e h eh s ehs he x The first 5 lines should match (including the empty line), last 3 shouldn’t. But despite the caret anchor, my pattern is catching the

Re: BBEdit 13: Please, improvements instead of gimmicks

2019-10-10 Thread Tom Robinson
See the ungimmicky footer of every message to this group: > If you have a > feature request or need technical support, please email > "supp...@barebones.com" rather than posting to the group. > On 2019-10-11, at 14:20, 'Tom' via BBEdit Talk > wrote: > > Hey guys, > > as much as I like the

Re: Append Text to File Name Copied from the Content of said File of Safari .webarchive Format

2019-09-08 Thread Tom Robinson
Yeah webarchive files include everything needed to display a webpage, including images. Source is just the HTML. I either save just the HTML or use a (partial) site downloader, for just this reason. There’s some tools and methods listed here: https://en.wikipedia.org/wiki/Webarchive > On

Re: multiple instances of Bbedit

2019-08-01 Thread Tom Robinson
Do you have multiple copies of BBEdit on your hard drive(s)? Maybe an install disk image with BBEdit on is still mounted? Otherwise best contact technical support, see the footer in these group e-mails. Cheers > On 2019-08-02, at 08:18, Peter White wrote: > > Bbedit keeps opening new

Re: strip trailing spaces

2019-07-31 Thread Tom Robinson
Did you see EditorConfig can be anywhere in the parent directory tree? > When opening a file, EditorConfig plugins look for a file named .editorconfig > in the directory of the opened file and in every parent directory. A search > for .editorconfig files will stop if the root filepath is

Re: Cycle Through Windows not working

2019-06-24 Thread Tom Robinson
You do have more than one BBEdit window open?! It’s working for me with the same app & OS version. Cheers > On 2019-06-24, at 22:21, Jaren Angerbauer wrote: > > Hi. Posting this here (to make sure I'm not missing anything) before > submitting a support / bug. > > I just installed a fresh

Re: grep search - insert character before search result

2019-04-28 Thread Tom Robinson
In addition to bruce’s answer: You can replace with \t& The ampersand represents the entire found string, so you’re replacing the 4 digits with a tab followed by the original 4 digits. Cheers > On 2019-04-29, at 09:53, gebseng wrote: > > In bbedit 12, I am using grep in the Find window to

Re: Edit link without commercial browser name?

2019-02-26 Thread Tom Robinson
For privacy, I recommend https://duckduckgo.com Their search links are much the same, e.g. https://duckduckgo.com/?q=barebones+bbedit Cheers > On 2019-02-27, at 03:42, Gauvins wrote: > > you can certainly (and probably should) truncate the URL right before the > first ampersand, so it'll

Re: How to get rid of "Dark Mode"

2019-02-26 Thread Tom Robinson
Looks like it’s controlled by an advanced pref: When running on macOS Mojave (10.14) and later, BBEdit will override the “Match application appearance to selected editor color scheme” option when you have selected the “Dark” appearance in the General system preferences. This is done so that

Re: Trying to use columns

2019-01-06 Thread Tom Robinson
It works for me with tabs in a .txt file: a b c d e f And I can cut a column. Can you provide an example? Or you could contact support :] Cheers > On 2019-01-06, at 08:56, Francisco Hirsch wrote: > > Trying to use Columns. Most of the time I get: > BBEdit couldn’t

Re: BBEdit creates a new duplicate file on each save!

2018-11-01 Thread Tom Robinson
On the off chance you’re using Emacs variables: > Controlling Backups with Emacs Variables > > You may also use an Emacs variable to control whether or not a given file is > backed up. There are two ways to do this: > > Absolute: If the variable line/block contains a “make-backup-files”

Re: Easy way to open .html files in BBEdit vs. browser?

2018-10-22 Thread Tom Robinson
That key combination is the standard Finder shortcut for opening a file and closing the current window :] (Same as option double-click) > On 2018-10-23, at 10:52, David Brostoff wrote: > > Thank you for the tip -- I appreciate your help. > > In Keyboard > Shortcuts > Services > Open File in

Re: Encoding question

2018-09-16 Thread Tom Robinson
Hi Marek, the encoding at the bottom of the window changes the document after it’s already been read into memory (using the wrong encoding). You want to click Options in the open dialog, or use File > Reopen Using Encoding. Cheers > On 2018-09-17, at 01:51, Marek Stepanek wrote: > > >

Re: Where is the auto-correct?!

2018-07-19 Thread Tom Robinson
If a word is too far from the correct spelling the system can’t guess it :] Although that misspelling works for me… have you checked the languages in System Prefs > Languages & Regions? BBEdit also has a setting under Edit > Spelling > Show Spelling Panel. Cheers > On 2018-07-20, at 02:45,

Re: Lost Line Breaks

2018-07-11 Thread Tom Robinson
AFAIK I that only affects the saving of text files, and has nothing to do with copy & paste. If OP is still stuck I suggest e-mailing support. Cheers > On 2018-07-12, at 06:07, Barbara Snyder wrote: > > That should have said Text Settings > Line breaks option. -- This is the BBEdit Talk

Re: Finding string in multiple open documents (not multi-file search)

2018-07-01 Thread Tom Robinson
Yep, bifurcated back in V9 :] > On 2018-07-02, at 08:11, @lbutlr wrote: > > Didn’t multi-file search used to be part of the find window, or am I slowly > losing my mind? -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem,

Re: Log Clearing in BBEdit

2018-06-25 Thread Tom Robinson
You could use a Folder Action for that without 3rd-party software? Or the (‘highly discouraged’!) launchd WatchPaths. > On 2018-06-26, at 03:54, BeeRich wrote: > > In any case, the filewatcher gem (https://rubygems.org/gems/filewatcher) > launches a script that I wrote to do just this.

Re: How to use code folding in .txt files?

2018-06-24 Thread Tom Robinson
In addition to Brian’s answer, you can also save the file with a .md extension (and possibly others)… which is the best approach if you are turning them into Markdown. FYI the spec is http://commonmark.org/help/ > On 2018-06-25, at 11:44, CharType wrote: > > Thanks. How do I set the file's

Re: plist files ?

2018-06-17 Thread Tom Robinson
On 2018-06-17, at 01:45, Jean-Christophe Helary wrote: > > When you open com.apple.Dock.plist for ex. BBEdit gives you a standard xml > file. TextEdit or any other standard text editor (emacs, nano, etc.) give you > a binary blob. >From the friendly manual: > BBEdit transparently opens and

Re: Key to Switch Focus of TextFactory Fields in Replace All Component

2018-06-14 Thread Tom Robinson
On 2018-06-13, at 01:12, Scott in Pollock wrote: > In the Replace All component of the TextFactory editor, there doesn't seem to > be a way to navigate to the fields and checkboxes via keyboard, like many of > the other components allow. Is this a bug, omission, or am I missing > something?

Re: Batch Find and replace within []

2018-04-05 Thread Tom Robinson
You’re trying to bulk delete lines in a single document? Just use Process Lines Containing as Rich said, and tell it to delete matched lines. Cheers > On 2018-04-06, at 08:45, regis leon wrote: > > Thx a lot this is exactly what I need . > > But to you know how to

Re: Grep replace in a column

2018-03-25 Thread Tom Robinson
This regular expression finds the times (hh:mm) in every column, and puts them into ‘capture buffers’ 1-6 for each column: ^(\d\d:\d\d)\t(\d\d:\d\d)\t(\d\d:\d\d)\t(\d\d:\d\d)\t(\d\d:\d\d)\t(\d\d:\d\d)$ ^ starts at the beginning of a line () represents a capture buffer; the first set is buffer

Re: Regex to Escape Regex Characters in Any String

2018-03-08 Thread Tom Robinson
I suspect you’re opening a can of worms. Can you not just turn of Grep search? See https://stackoverflow.com/questions/399078/what-special-characters-must-be-escaped-in-regular-expressions Escaping everything might be safe but hard to read —

Re: Tidy

2018-02-13 Thread Tom Robinson
rmat do what you need? > > --Kerri > > On Mon, Feb 12, 2018 at 3:09 PM, Tom Robinson <barefootg...@gmail.com> wrote: > I use it for making XML documents readable when coding/debugging. > > > > On 2018-02-13, at 03:45, Kerri Hicks <kerri.hi...@gmail.com> wrote:

Re: Tidy

2018-02-12 Thread Tom Robinson
I use it for making XML documents readable when coding/debugging. > On 2018-02-13, at 03:45, Kerri Hicks wrote: > > Which features of Tidy did you find the most helpful? There are quite a few > native features in BBEdit that replicate some of the functionality of Tidy.

Re: Wildcard on search/replace

2018-01-30 Thread Tom Robinson
Yep :] Though you’re not doing anything with the text inside the tags, so it’s redundant to capture it (with the brackets): .*? > On 2018-01-31, at 09:12, Jaime Guitart Vilches > wrote: > > What I really would like to do is to erase anything between those tags >

Re: Edit Markup giving me an error

2018-01-22 Thread Tom Robinson
You should contact support — see the footer :] > On 2018-01-22, at 07:24, Gerald Davenport wrote: > > Hi all. I have procrastinated enough, I am ready to move away from BBEdit > 8.7.2 and upgrade, but I have some issue with the trial version. > > 12.0.2. running on an

Re: F2 & Command-X

2018-01-07 Thread Tom Robinson
You need to e-mail BB directly for feature requests (and bug reports) — see the mailing list footer. Can you leave XCV as is, then create 3 scripts which do cut/copy/paste and set the keyboard shortcuts of them to F2/3/4? Cheers > On 2018-01-05, at 11:16, Greg Dougherty

Re: How to sort a text regarding a specific column

2017-12-12 Thread Tom Robinson
Looks like it’s already sorted by song title, so assuming you mean artist: Text > Sort Lines Turn on Sort using pattern Enter search pattern of ‘ - (.+)$’ (without the quotes). This ‘captures’ the artist name which comes after a hyphen. Sort by ‘All sub-patterns’ — the text you’ve just captured

Re: BBEdit iCloud LaTeX - How to compile the file?

2017-12-05 Thread Tom Robinson
If you’ve turned on iCloud Desktop & Documents, and stored your files in ~/Documents, your path will look like /Users/tom/Documents/ping.sh, not the tilde filled version you have. (At least with Sierra and High Sierra) >From a quick look, the link I supplied had workarounds for the pdfLaTex

Re: BBEdit iCloud LaTeX - How to compile the file?

2017-12-03 Thread Tom Robinson
It looks like pdfLaTex is mistreating the tilde in the pathname, see e.g. https://tex.stackexchange.com/questions/183568/using-8-3-path-names-with-pdflatex A workaround is to turn on iCloud Drive for Desktop & Documents folders, and store your file there, and you’ll have a standard path :] >

Re: Best way to edit hosted website

2017-11-21 Thread Tom Robinson
Thanks Rich and Sam, I’ll go the best practice route and download the site. I did send off the crash reporter logs :] Cheers > On 2017-11-22, at 10:46, Rich Siegel wrote: > > The recommended approach is to write to support about the crash, including > the crash log as

Best way to edit hosted website

2017-11-21 Thread Tom Robinson
I’m wanting to make changes to around 30 pages on an ISP hosted website; over FTP. I’d prefer to leave the site in the cloud. I created a project and added the remote HTML files to it, but 1. that was tedious, and 2. BBEdit crashes when I do a multi-file search across all the pages. What’s

Re: System Wide F5 Doesn't wo

2017-11-07 Thread Tom Robinson
Oh right. Looks like you need to use BBEdit’s version. I don’t use either much, but they seem to work similarly. E-mail support for a definitive answer / feature request, but they might ask what problem you’re trying to solve / what you prefer about the system version :] > On 2017-11-08, at

Re: System Wide F5 Doesn't wo

2017-11-07 Thread Tom Robinson
F5 brings up completion for me (BBEdit 12.0.1). Check Preferences > Completion, and see if you have F5 next to Complete in the Edit menu. Failing that, e-mail support, they’re very helpful :] > On 2017-11-08, at 09:59, Scott in Pollock wrote: > > Hmmm... > > No

Re: Losing Preferences

2017-11-04 Thread Tom Robinson
Great to know, thanks guys. > On 2017-11-04, at 09:56, Rich Siegel wrote: > >> I am curious if the 10.13.1 release of High Sierra fixed the >> preferences ‘reset' issue? > > It has not. Apple is still investigating, and it *may* be fixed in the > current 10.13.2

Re: BBEdit for Writers

2017-10-18 Thread Tom Robinson
As an aside, if you’re looking for a reference, CommonMark is gaining traction including in BBEdit 12 via cmark: http://commonmark.org/ Cheers > On 2017-10-19, at 09:28, @lbutlr wrote: > > -- This is the BBEdit Talk

Re: BBEdit 12 columns

2017-10-15 Thread Tom Robinson
The proposed spec, and in my experience, says the quotes are optional: > 5. Each field may or may not be enclosed in double quotes (however >some programs, such as Microsoft Excel, do not use double quotes >at all). If fields are not enclosed with double quotes, then >

Re: A pref to not include a carriage return of a line?

2017-08-20 Thread Tom Robinson
You could script the copy or paste command to remove a trailing line break? > On 2017-08-20, at 04:52, Tim Murray wrote: > > If I start at the left margin, press Command+right arrow, I see the blue > selection all the way to the right edge of the window. If I do a Copy,

Re: [] or | ?

2017-05-09 Thread Tom Robinson
This is what I found when I was wondering that: http://stackoverflow.com/questions/4724588/using-alternation-or-character-class-for-single-character-matching Also: http://stackoverflow.com/questions/22132450/why-is-a-character-class-faster-than-alternation Basically character classes are

Re: BBEdit Find and replace using grep help

2017-03-28 Thread Tom Robinson
That’s an easy one :] Search for this: ^.+$ ^ says look for '’ at beginning of line . look for any character + …one or more times $ says look for '’ at end of line Cheers > On 2017-03-29, at 08:55, Nikao wrote: > > I am very new to Grep and was wondering if some one

Re: Slow launch ?

2017-03-23 Thread Tom Robinson
In my experience BBEdit is well behaved both CPU and memory wise. Is there a reason you quit it? Currently with no windows open, it's using 0% CPU and 70 MB real memory. Cheers > On 2017-03-23, at 20:14, Jean-Christophe Helary > wrote: > > Here it's more

Re: How to Undo Multi-File Find and Replace

2017-02-26 Thread Tom Robinson
That was my thought, but looks like OP managed to change text which varied for each link, to a fixed string in all the files :[ > On 2017-02-27, at 10:39, Jean-Christophe Helary > wrote: > > You can use a regex to fix the broken links :) There's plenty of

Re: Help With Grep Pattern

2017-02-26 Thread Tom Robinson
Normally relative links are a better way to run a site — you can move pages to a different host, put them in sub-directories, etc., without changing the HTML. > >> And I'd replace with: >> >> https://www.billkochman.com/Articles/\1 >> >> Jean-Christophe -- This is the BBEdit Talk public

Re: Remove the ".bbprojectd"?

2016-11-21 Thread Tom Robinson
Did you see the release notes for the latest beta :] > * [328705, 328716] Project window titles in the Window menu now >omit the "`.bbprojectd`" suffix, since after all brevity is the >soul of wit. > On 2016-11-02, at 00:53, H. Mijail Antón Quiles wrote: > > In

Re: Why this layout?

2016-10-26 Thread Tom Robinson
Line 74 is too wide to fit within the window, so BBEdit has split the line after the tab and after the hyphen. Is that what you’re asking? > On 2016-10-27, at 06:30, Marcello Antonini wrote: > > >

Re: Leveled up in grep

2016-09-15 Thread Tom Robinson
Correct, from the online help: > On 2016-09-16, at 07:00, Rod Buchanan wrote: > > I think "\010" would have worked also, but don't hold me to that. -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem,

Re: open document file path

2016-08-22 Thread Tom Robinson
Looks like it’s covered by an upcoming fix: > version 11.6.1 (3945) (2016-07-15) > * [324069] Fixed bug in which files opened via the ODB external >editor interface (e.g. from other file transfer clients) would >show the path to the temporary file rather than the display path >

Re: Colored Text String

2016-08-21 Thread Tom Robinson
Presuming you’re only expecting colourisation in the editor, and not saved to the file, etc.: You *should* be able to do that through a Codeless Language Module and 10–20 lines of XML: http://www.barebones.com/support/develop/clm.html Cheers > On 2016-08-20, at 03:18, Kyle DeMilo

Re: AppleScript – Toggle Between 2 Magnification Levels

2016-05-29 Thread Tom Robinson
If by ‘newly added’ you mean 10.5, then yes :] http://www.barebones.com/support/bbedit/arch_bbedit105.html > On 2016-05-30, at 05:59, Lawrence San wrote: > > Is "magnification" a property newly added to recent versions of BBEdit? I'm > still running version 9.6.3 and I

Re: Reload from disk should work in ftp/sftp mode also, and a shortcut would be appreciated

2016-05-14 Thread Tom Robinson
Welcome Gilles :] BB do read this group, but ask that feature requests (and bug reports) be sent directly to them — see the footer. Cheers Sent from my iPhone > On 13/05/2016, at 23:46, Gilles MISSLIN wrote: > > When debugging, i would love to have a reload button,

Re: Wrap Issue With CJK Characters

2016-05-08 Thread Tom Robinson
I suggest you e-mail support as detailed in the footer of every post here. > On 2016-05-08, at 03:33, David Branner wrote: > > Six and a half years on, I am having the same issue. But I can solve it by > changing a setting: […] > This is the BBEdit Talk public

Re: Inverted question marks and carriage returns

2016-04-18 Thread Tom Robinson
I realise sarcasm is engaged, but BBEdit does normally handle line breaks transparently, so there’s probably an inconsistent mixture in those docs. Cheers > On 2016-04-19, at 03:44, Bruce Linde wrote: > > why is it on us to RTFM? why can't bbedit just 'know' when line

Colour background of scratchpad

2016-03-02 Thread Tom Robinson
Hi, I’m wanting to colour the background of the Scratchpad window to make it standout. Thinking I could do this by creating a colour scheme with the desired background (or use ‘Dusk’), creating an empty custom language, assigning the new colour scheme to that language in the Custom Language

Re: Recent items appearing next to Dock icon in OS X v10.11.2

2016-01-13 Thread Tom Robinson
Don't right-click the Dock icon? :] I find it handy: you can open a recent and switch to BBEdit with a single click. Cheers > On 2016-01-14, at 09:42, Rob Stevenson wrote: > > I've turned off Recent items under the Apple menu, but still there is a list > that

Re: BBEdit 11 Randomly(?) Tiling Windows

2016-01-04 Thread Tom Robinson
Sounds like you're after this undocumented expert pref: defaults write com.barebones.bbedit CascadeNewWindows -bool NO Cheers > On 2015-12-28, at 11:55, Richard Fairbanks wrote: > > Months ago, I bumped from BBEdit 9 to 11, and a minor annoyance is that when > I open an

Re: adding other doc types to the ones suggested for Open With...

2015-11-01 Thread Tom Robinson
Interesting read :] Looks like Apple flattened the Finder's right-click menu though, and now the available Services appear at the bottom of the menu. Cheers > On 2015-11-02, at 08:42, Rich Siegel wrote: > > The OS application/document binding system is built on the

Re: Need to kill stalled "Search Results" window without having to force-quit

2015-10-15 Thread Tom Robinson
Sounds like you should e-mail support so they can fix the stall. > On 2015-10-16, at 06:58, Michelle wrote: > > When using GREP commands to do "Find All" or "Replace All" searches, a > particular GREP can result in a stalled "Search Results" window. Clicking > the

Re: Problem with Single Window Differences UI Staggered Windows

2015-04-06 Thread Tom Robinson
On 2015-04-05, at 18:41, Rich F beer...@gmail.com wrote: AppleScirpt's days numbered. Source? People have been saying that for years. AppleScript may not be a high priority for Apple, but they diligently keep it running despite the OS evolving (e.g. sandboxing), and there's always a few

Re: replace text while typing

2015-03-22 Thread Tom Robinson
On 2015-03-22, at 09:34, Patrick Woolsey pwool...@barebones.com wrote: Apparently BBEdit is not (per default) obeying to the keyboard text replacements as entered in the keyboard settings under the text tab. Is there a setting within BBEdit for it to switch this on? Not currently, though

Re: ASCII characters insert removed. Why?

2015-03-02 Thread Tom Robinson
The same palette can be brought up with Edit Special Characters (in BBEdit and every standard Mac application). It's incredibly handy: Cheers On 2015-03-03, at 03:48, François Schiettecatte fschietteca...@gmail.com wrote: - use the Character Viewer in the menu bar, you can enable it

Re: default magnification

2015-02-16 Thread Tom Robinson
Would increasing the default font size work for you instead? Preferences Editor Defaults. Cheers Sent from my iPad On 16/02/2015, at 03:24, Scott Calabrese Barton s.calabresebar...@gmail.com wrote: Is there a setting or defaults write to set the default display magnification? I

Re: Uncomment in 11.0.2 creates a newline

2015-01-26 Thread Tom Robinson
According to the release notes, this is fixed in the latest beta 11.0.3 (3505) (2015-01-26) Sent from my iPhone On 24/01/2015, at 19:16, Jeff Bingham j...@bingham.co wrote: I've experienced the same problem since version 11 no matter the language of the file, including no language set.

Re: [ OFFLIST ] How to scroll the row with the cursor to the top / bottom?

2014-12-29 Thread Tom Robinson
The address given at the bottom of every e-mail on this list, following 'If you have a feature request or would like to report a problem' 8-) Sent from my iPhone On 29/12/2014, at 22:28, Vlad Ghitulescu v...@ghitulescu.de wrote: Could you please tell me WHERE (which mail-address) to send

Re: You Will Love This: Balthisar Tidy

2014-11-11 Thread Tom Robinson
Nice thought Lee, but that command's only for formatting HTML documents, not XML. On 2014-11-11, at 13:06, Lee Hinde leehi...@gmail.com wrote: Markup/Utilities/Format.. might work for you... -- This is the BBEdit Talk public discussion group. If you have a feature request or would like

Re: You Will Love This: Balthisar Tidy

2014-11-10 Thread Tom Robinson
How is it on tidying XML? My main use of the built-in tidy in BBEdit 10 is cleaning run-together XML for debugging. Sent from my iPhone On 10/11/2014, at 11:38, Jim Derry balthi...@gmail.com wrote: More importantly, I hope that you find that Balthisar Tidy is well-designed and usable (if

Re: Put AppleScript search pattern into BBEdit Find dialog

2014-08-04 Thread Tom Robinson
Something to do with using Live Search and command-G is one way it'll become unset. Sent from my iPad On 5/08/2014, at 14:21, Christopher Stone listmeis...@suddenlink.net wrote: Under certain circumstances I cannot directly define {Grep} can become unset without the user directly clicking

Re: FEATURE REQUEST: Regex Subtraction and Intersection

2014-03-05 Thread Tom Robinson
Check the footer of every message: Bare Bones like feature requests (and bug reports) to be sent directly to them. Cheers On 2014-03-05, at 13:58, Rick Gordon li...@rickgordon.com wrote: Is it possible that regex subtraction and intersection, as included experimentally in Perl 5.18, and

Re: Open related on FTP server

2013-11-28 Thread Tom Robinson
On 2013-11-25, at 22:18, Charlie Garrison garri...@zeta.org.au wrote: Open Counterpart sounds like what I need thanks Charlie, but BBEdit just beeps at me. I doubt I can help with that. Could be that it simply doesn't work with files opened via FTP. I suggest submitting a support/feature

Re: Open related on FTP server

2013-11-24 Thread Tom Robinson
: x-counterpart: default.html End: -- head ... Cheers On 2013-11-23, at 19:57, Charlie Garrison garri...@zeta.org.au wrote: Good afternoon, On 21/11/13 at 8:39 PM +1300, Tom Robinson barefootg...@gmail.com wrote: I have 2 HTML documents on an FTP server (in different directories

Open related on FTP server

2013-11-20 Thread Tom Robinson
Hi guys I have 2 HTML documents on an FTP server (in different directories), which I regularly edit with BBEdit (using Open from FTP Server). They’re closely related to each other, so it would be nice to be able to open one, then use Open Related or similar to open the other one, instead of

  1   2   >