Syncing Application Support/BBEdit with Maestral

2021-11-12 Thread Oliver Boermans
Has anyone attempted to sync BBEdit settings etc using this DropBox client? https://maestral.app/ -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on

Re: how to diff selected paragraphs only

2019-09-15 Thread Oliver Boermans
I would recommend, if you are not already, trying Git or similar source control tool. With frequent commits Git chunks up your changes nicely and BBEdit’s integration with it works well. On Sun, 8 Sep 2019 at 02:29, László Sándor wrote: > BBEdit is great for comparing files against each other,

Re: Text factory unix script arguments

2019-08-30 Thread Oliver Boermans
Yeah plain strings in the (Run Unix Filter | Options… | Arguments:) field such as Hello world pass in as expected. On Thu, 29 Aug 2019 at 21:04, Charlie Garrison < charlie-goo...@garrison.com.au> wrote: > On 29 Aug 2019, at 21:17, Oliver Boermans wrote: > > Only arguments th

Re: Text factory unix script arguments

2019-08-29 Thread Oliver Boermans
periments with shell scripts instead. Perhaps I can call out to my Node.js script from bash or something. On Thu, 29 Aug 2019 at 08:24, Charlie Garrison < charlie-goo...@garrison.com.au> wrote: > Gm > On 28 Aug 2019, at 21:13, Oliver Boermans wrote: > > I can pass i

Re: Text factory unix script arguments

2019-08-28 Thread Oliver Boermans
expect that is nothing to do with BBEdit. On Mon, 26 Aug 2019 at 09:08, Charlie Garrison < charlie-goo...@garrison.com.au> wrote: > On 25 Aug 2019, at 11:21, Oliver Boermans wrote: > > What does one enter in the **Arguments** : field in the options for the > **Run Unix Filter

Text factory unix script arguments

2019-08-24 Thread Oliver Boermans
Dear BBEditor, What does one enter in the *Arguments*: field in the options for the *Run Unix Filter* Options dialog? And how are these arguments made available to the unix script? [image: text-factory-unix-filter-arguments.png] Why? you ask… I’m hoping there is a means to pass the path/file

Re: Keyboard shortcut to reverse deletion direction

2019-07-09 Thread Oliver Boermans
That was it! Thank-you Bruce. On Tue, 18 Jun 2019 at 01:29, Bruce Van Allen wrote: > See BBEdit Preferences -> Keyboard -> Enable Shift-Delete for forward > delete. > > Is this enabled? Perhaps you inadvertently typed this. > > HTH > > On 6/16/19 at 1:32 AM, boerm

Keyboard shortcut to reverse deletion direction

2019-06-17 Thread Oliver Boermans
Every once in while I accidentally hit a unknown keyboard shortcut that results in the delete key deleting the following rather than previous character in all BBEdit windows. Restarting BBEdit restores the regular behaviour. Any ideas as to what the shortcut might be? Not absolutely sure it is

Re: Decent HTML list?

2019-01-29 Thread Oliver Boermans
For help with HTML email perhaps try here: https://litmus.com/community HTML in email is a difficult area, especially if you are learning HTML/CSS itself. Email clients handle it very differently to browsers. Good luck. On Tue, 29 Jan 2019 at 12:35, @lbutlr wrote: > I’ve been having some odd

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-13 Thread Oliver Boermans
Hi Dj, To address the shebang issue ensure the first line of your script file includes something like: #!/usr/bin/perl I don’t know the first thing about Perl, fortunately replacing multiple spaces with single spaces is a simple search and replace with grep in BBEdit: Search for (omitting "):

Re: CSS parser

2018-12-21 Thread Oliver Boermans
This looks better maintained project than csslint: https://stylelint.io/ On Sat, 22 Dec 2018 at 09:17, Oliver Boermans wrote: > Can’t be sure without seeing the CSS you are attempting to parse, although > that error suggests somewhere in the CSS there is a missing or

Re: CSS parser

2018-12-21 Thread Oliver Boermans
Can’t be sure without seeing the CSS you are attempting to parse, although that error suggests somewhere in the CSS there is a missing or extra: ",', (, ), [, ], {, or } The parser appears to expect valid CSS. To find the problem test with a tool like: https://jigsaw.w3.org/css-validator/ Or

Re: Any tricks to set the non-default value of "Strip trailing whitespace" for an individual file?

2018-10-22 Thread Oliver Boermans
BBEdit has support for https://editorconfig.org/ which allows this and other settings to be customised per directory or based on file name. Has been a while since I read the appropriate portion of the BBEdit User Manual (Find it in the help menu, recommended!), but it may be necessary to be

Re: Edit Source Code with jQuery ??

2018-08-15 Thread Oliver Boermans
Hi Rick, What you are asking is as you suspect, beyond BBEdit. It will however readily integrate with other tools that will make it _feel_ like it is :) My first thought was something like: Will be worth hunting around for someone who has turned it into a

Re: HTML mode confusion

2018-05-04 Thread Oliver Boermans
Hi Seamus, The intention I believe is to first select the portion of text you would like to be *wrapped* with the anchor tag before clicking the button in the HTML tools. linked text Although BBEdit is great for editing HTML, I would recommend you do so alongside the developer tools of a modern

Re: Recommended way of selecting from a list in a clipping

2017-12-09 Thread Oliver Boermans
If you don’t mind hard-coding the list items in your clippings, perhaps this AppleScript will help: https://github.com/ollicle/BBEdit-Extract-Placeholder On 10 December 2017 at 05:28, Gustave Stresen-Reuter wrote: > Hi. > > I often have to make clippings that would be

Re: AppleScript for Word-Selection at the Cursor

2017-12-04 Thread Oliver Boermans
Thank-you! On 2 December 2017 at 19:36, Christopher Stone wrote: > On 12/02/2017, at 02:25, Christopher Stone > wrote: > > So — if the cursor is positioned between the “><” symbols below — the > first iteration will select to the quotes

Re: AppleScript for Word-Selection at the Cursor

2017-11-30 Thread Oliver Boermans
I’ve fantasised about taking keyboard word selection further, I’d like the same keyboard shortcut to do a little more if the word was already >selected<. Specifically I’d like it to attempt to expand to inside (then around) the next closest pair of delimiters (<[{“"''"”}]>), a “selection

Re: Why can't it be easier to change font size on the fly?

2017-11-04 Thread Oliver Boermans
See attached: [image: Inline images 1] On 5 November 2017 at 15:37, Vlad Ghitulescu wrote: > On 3 Nov 2017, at 17:13, Rich Siegel wrote: > > > Try the Magnification item in the status bar at the bottom of the window. > > Where is this? > > Thanks! > > > Regards, > Vlad > >

Re: search replace wildcard

2017-10-14 Thread Oliver Boermans
Hi Sharb, try this (with [✓] Grep) Search: '[A-Z] Replace: 'a where [A-Z] will match any single uppercase letter On 14 October 2017 at 14:48, Sharb wrote: > I can't get basic wildcard \w to work in Find/Replace, but might be doing > something very basic incorrectly. > I'm

Re: Upgrading and Apple Scripts

2017-09-19 Thread Oliver Boermans
I say give it a shot. Keep a copy of BBEdit 9, make sure your Application Support/bbedit folder is backed-up and give the demo a spin. There may be breaking changes, but I expect they are relatively few. On 20 September 2017 at 05:03, Chuck Dingee wrote: > I have been

Re: Select text in HTML between and

2017-08-16 Thread Oliver Boermans
This could be very-hard with Regex depending on what else may be in the HTML. What do you want to do with the div once you have isolated it? I expect there is a command line tool that would make the task of manipulating HTML/XML more simply. On 16 August 2017 at 18:11, Jean-Christophe Helary <

Re: disappearing files in BBEdit / Dropbox

2017-07-19 Thread Oliver Boermans
Hey Vlad, supp...@barebones.com will be your best bet for this issue. Cheers Ollie On 19 July 2017 at 16:19, Vlad Ghitulescu wrote: > Trying to save one of this files brings the following error-message: > > On 19 Jul 2017, at 8:46, Vlad Ghitulescu wrote: > > I open a new

Re: Apple buys ...

2017-05-10 Thread Oliver Boermans
lol, me too On 11 May 2017 at 01:50, Jeffrey Jones wrote: > I was jolted awake this morning while scanning the headlines in Google > News. There in the Technology section: "Apple Buys Beddit". > > OMG! ... Wait, did they misspell it? Then I read the lede, "Beddit makes > sleep

Re: Control-drag to duplicate

2017-04-25 Thread Oliver Boermans
Option, in place of Control, is the magic key for drag–drop copy–paste in BBEdit. On 25 April 2017 at 06:13, Irl wrote: > In some text editors (Word 2011, in particular), highlighting a selection, > clicking on it, pressing and holding the control key, then dragging,

Re: Can't make "search in project" work

2017-03-28 Thread Oliver Boermans
Selecting Search in ought to open the Multi file search window. The menu bar greys out like you described when a window such as this is in focus.Perhaps it is open, but offscreen. Try closing it (while the menu bar is greyed) with Command-W before trying again. Hopefully this will reset the

Re: How to Process a GROUP of Lines Containing . . .

2017-02-25 Thread Oliver Boermans
Hi Bill, In BBEdit I would first reformat the XML: Markup > Utilities > Format Select *Mode: Compact* to put all the code on one line. Then search and replace with \n So now each tag is on one line. This will make the “per line” tools more useful. Once you are done sorting you could

Re: Invalid A tag when in syntax check

2017-02-22 Thread Oliver Boermans
On 22 February 2017 at 21:05, @lbutlr wrote: > "mailto:ad...@covisp.net?Subject=21-Feb-2017%20185.12.124.66= > please%20check%20this.%0d%0dsywh7235...@remerasdelsur.com.ar" > Not sure what is tripping up the validation. When I unencoded and re-encoded the href I got:

Re: How to Select Non-Contiguous Text

2017-02-04 Thread Oliver Boermans
Bill, I see what you are looking for is somewhat more complicated! For non-contiguous text selection to work in the desired manner it would still be necessary for the machine to create some flavour of grep pattern based on your selection. So it follows, until such time that this genius creation

Re: How to Select Non-Contiguous Text

2017-02-04 Thread Oliver Boermans
, Oliver Boermans <boerm...@gmail.com> wrote: > Hi Bill, > What you are looking for is “Rectangular Selections”. > Search for it in the user manual. > I use them every day > <3 > > Cheers > Ollie > > On 5 February 2017 at 09:08, Bill Kochman <wordwe

Re: How to Select Non-Contiguous Text

2017-02-04 Thread Oliver Boermans
Hi Bill, What you are looking for is “Rectangular Selections”. Search for it in the user manual. I use them every day <3 Cheers Ollie On 5 February 2017 at 09:08, Bill Kochman wrote: > Hello Chris, > > In reading online info dating back as far back as fourteen years

Re: Hiding directories from project file list

2016-12-23 Thread Oliver Boermans
Hi Tom, I don't believe the feature you are looking for exists. Although: If you are using Git there is an option to hide files and directories that are match patterns in a .gitignore file. For similar effect, rather than creating the project by opening a folder with BBEdit, I have created a

Re: Function Menu: Javascript: Hide objects?

2016-08-22 Thread Oliver Boermans
Hi Colin, On 23 August 2016 at 01:14, Colin wrote: > I've got large javascript objects (things with double-tilde's beside them) Not sure what you mean. Can you paste or point to an example? Cheers Ollie -- This is the BBEdit Talk public discussion group. If you have a

Re: Environment variables in BBEdit scripts

2016-08-20 Thread Oliver Boermans
False alarm, I was running an less than current version of BBEdit (probably a pre-release). Variables come through fine with current release (and current pre-release). Face palm… On 21 August 2016 at 08:55, Oliver Boermans <boerm...@gmail.com> wrote: > > On 20 August 2016 at 23:36,

Re: Environment variables in BBEdit scripts

2016-08-20 Thread Oliver Boermans
On 20 August 2016 at 23:36, Christopher Stone wrote: > #! /usr/bin/env bash > echo -e "BBEdit Environment Variables\n"; > echo -e " > Doc Name: $BB_DOC_NAME > Doc Path: $BB_DOC_PATH > Doc Mode: $BB_DOC_MODE > Doc Language: $BB_DOC_LANGUAGE > Doc Sel Start:

Environment variables in BBEdit scripts

2016-08-20 Thread Oliver Boermans
If I execute this script from the scripts menu in BBEdit: #!/bin/sh printenv Should I be seeing BB_DOC_NAME, BB_DOC_PATH and friends in the list that is output? I have been attempting to use these variables in a script, but they are returning nothing, i.e. #!/bin/sh echo $BB_DOC_NAME What

BBPackage Contents/Resources/ from Contents/Text Filters

2016-08-11 Thread Oliver Boermans
Hi all, Trying to get my head around Text Filters in BBEdit, was reading: http://bbedit-hints.tumblr.com/post/80971432181/using-global-node-modules-in-bbedit-text-filters Referencing a file in Contents/Resources is working for me in a script run from Contents/Scripts: #!/usr/bin/env

Re: Placeholders - what more can I do with them?

2016-07-10 Thread Oliver Boermans
Hi Brian, A while back I wrote a little AppleScript to make options within placeholders a little more useful. https://github.com/ollicle/BBEdit-Extract-Placeholder Interested in your feedback. Cheers Ollie On 9 July 2016 at 01:55, Brian Christiansen wrote: > Folks, > > I've

Re: AppleScript – Toggle Between 2 Magnification Levels

2016-05-29 Thread Oliver Boermans
Great! Thanks Chris. On 29 May 2016 at 07:26, Christopher Stone wrote: > Hey Folks, > > I wrote this script for someone on the TextWrangler list, so I've > repurposed it for BBEdit and am also posting it here. > > It's pretty self-explanatory. > > -- > Best Regards,

Re: [ANN] BBEdit 11.6 (3913) pre-release

2016-05-12 Thread Oliver Boermans
On 12 May 2016 at 06:26, Rich Siegel wrote: > * [322129] Worked around a pathological behavior in the OS which > would cause the file info popover to take minutes to appear in > some situations (in particular, when Active Directory services > are in use). >

Custom text file icons based on extension

2016-04-20 Thread Oliver Boermans
Apologies if this is more of a general OS X than a specific BBEdit question. I would love to be able to have visibly different small icons for the large number of text files I regularly work within a BBEdit project (e.g. .js .html .scss .coffee). Although I don’t want to give up BBEdit as the

Re: Getting just the differences.

2016-01-08 Thread Oliver Boermans
Hi Lee, this may work for you if you are happy sharing the whole line containing the difference and the two documents are mostly the same. 1. Make a copy of each file and remove any obvious unimportant difference between them. (Particularly line breaks) 2. Ensure the lines within each document

Re: Getting just the differences.

2016-01-08 Thread Oliver Boermans
Oops missed settings for Sort Lines… ✓ Numbers match by value ✓ Sorted lines replace selection Enjoy -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group.

Re: Suppress _most_ images

2015-12-19 Thread Oliver Boermans
Not sure if Firebug does, but Firefox can filter network requests: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor#Filtering_by_URL If you are still looking for another approach (involving JavaScript) feel free to ask me off list. Cheers Ollie On 19 December 2015 at 12:19,

Re: generic xml support ?

2015-12-19 Thread Oliver Boermans
Hi Jean-Christophe, can you describe what functionality you expect from a generic XML editor? On 19 December 2015 at 22:24, Jean-Christophe Helary < jean.christophe.hel...@gmail.com> wrote: > Are there tricks/scripts to make BBEdit act as a generic XML editor ? > > Jean-Christophe Helary > > --

Re: Why cannot I find this piece of text?!

2015-12-19 Thread Oliver Boermans
So the feature request is, after repeating a search with no results, to append the dialog copy with a reminder selected randomly from a list, e.g.: The string "" was not found. Are you searching the right project? ;) 2015-12-16 21:32 GMT+10:30 Vlad Ghitulescu : > It was the

Re: Edit all selected (?)

2015-12-05 Thread Oliver Boermans
On 6 December 2015 at 08:59, Greg Raven wrote: > I gave it the keyboard shortcut of Cmd-E! When there is an instance of the desired replacement within easy reach the Use Selection for Replace shortcut is nice to have too: 1. Select text to replace. 2. Invoke: Search: Use

Re: Edit all selected (?)

2015-12-05 Thread Oliver Boermans
I have seen the feature multi cursor feature in other editors, BBEdit does not. The BBEdit way would be to use search and replace: 1. Select the text 2. Invoke: Search: Use Selection for Find (⌘E) 3. Invoke: Search: Find… (⌘F) 4. TAB into the Replacement field and enter a replacement 5. Replace

Re: Word wrap

2015-12-04 Thread Oliver Boermans
For many years I have been using this little script from John Gruber for cycling through text wrap options: http://daringfireball.net/2004/10/bbedit_soft_wrap_toggling Recommended if you have frequent cause to switch. On 4 December 2015 at 03:06, Chris Johnston wrote: >

Re: Change how BBEdit formats: remove line breaks after opening p and before /p?

2015-06-08 Thread Oliver Boermans
On 6 June 2015 at 04:13, Patrick Woolsey pwool...@barebones.com wrote: defaults write com.barebones.bbedit HTMLParagraphMarkup_ParagraphsOnSeparateLines -bool NO Thanks! -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem,

Re: Clippings, options, auto-complete and keyboarding

2015-05-12 Thread Oliver Boermans
Hi Ted, I understand, I too spent some time looking for an approach that was ever so more slightly automagical. Interested to see what you come up with. It is possible call a script to populate the text within BBEdit clippings: #script /Users/me/example/folder/Script.scpt# Presumably this

Re: Clippings, options, auto-complete and keyboarding

2015-05-11 Thread Oliver Boermans
Hi Brian, I encountered the same issue and wrote some AppleScript to deal with it: https://github.com/ollicle/BBEdit-Extract-Placeholder Let me know if it works for you. Cheers Ollie — @ollicle On 12 May 2015 at 06:25, Christopher Stone listmeis...@suddenlink.net wrote: On May 11, 2015, at

BBEdit Extract Placeholder

2015-04-27 Thread Oliver Boermans
Hi all, I have written a script for BBEdit that someone here may find #useful|interesting|amusing# https://github.com/ollicle/BBEdit-Extract-Placeholder Finally got around to playing with making some Clippings for my own use. In a number of them I was using the placeholders to aid in the

Re: Cursor Movement Selection Shortcuts

2012-08-24 Thread Oliver Boermans
On 25/08/2012, at 3:49 AM, Oliver Taylor olivertay...@me.com wrote: I think I might switch to this. Good work! Cheers, pleased to contribute! -- @ollicle -- -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group,

Re: Cursor Movement Selection Shortcuts

2012-08-23 Thread Oliver Boermans
Thanks for sharing! On 10 August 2012 08:37, Oliver Taylor olivertay...@me.com wrote: Download Package: http://olivertaylor.net/bbedit_movement/ I recently became obsessed with cursor movement and selection shortcuts in BBEdit… I’ve downloaded your collection and have been working through

Re: Cursor Movement Selection Shortcuts

2012-08-23 Thread Oliver Boermans
Hi again, On 24 August 2012 00:32, Oliver Taylor olivertay...@me.com wrote: My first approach to this problem was identical to yours, look for the boundary between a word character and a word border. But this is no different than using the option-right-arrow shortcut. It is slightly different

Re: jQuery Clippings for BBEdit

2010-03-13 Thread Oliver Boermans
On 13 March 2010 02:57, Carlton Gibson carlton.gib...@gmail.com wrote: Hi All, I just uploaded a new set of BBEdit clippings for jQuery: http://noumenal.co.uk/bbedit/jquery-clippings I’ll give them a go. Thanks Carlton! -- You received this message because you are subscribed to the BBEdit

Re: How to indicate NEW content in a timely manner?

2009-10-21 Thread Oliver Boermans
Hi Rob, 2009/10/20 RobS rsteven...@accesscable.net: I wonder if there is anything -- a script I suppose -- that could be invoked on my pages locally to tell me that some of my NEW indicators have timed out and should be removed? Have you considered using JavaScript to display the new

Re: Can this be done with Bedit ?

2009-05-07 Thread Oliver Boermans
2009/5/5 le...@gmail gkr...@gmail.com: On 3-May-2009, at 16:10, Oliver Boermans wrote: To quickly get a file listing into BBEdit I often select the files in the Finder and Command-C to copy them. I find ls -1 in a worksheet is a lot lot lot better Interesting. Do you use a big rectangular

Re: Re: Can this be done with Bedit ?

2009-05-03 Thread Oliver Boermans
2009/4/27 Cahit Okten enqu...@garibaldistudios.co.uk: For the time being it will be a manual approach. To quickly get a file listing into BBEdit I often select the files in the Finder and Command-C to copy them. Pasting into BBEdit gives you a list of the file names, each on it’s own line. Then

Re: BBEdit losing its punch?

2008-10-10 Thread Oliver Boermans
2008/10/8 Greg Hemphill [EMAIL PROTECTED]: I forced my self to use the new non-modal search, because I figured there was some big advantage to it I just wasn't seeing. Think it's about time to switch back to the old way. Or is there some advantage to the modal search I'm not seeing... I

Re: Script to open document in additional window?

2008-09-10 Thread Oliver Boermans
2008/9/10 Mike Conley [EMAIL PROTECTED]: Nonetheless, it would still be nice to do an AppleScript, because I would have it create the new window and align it beside the original, with the same dimensions, since that's what I would do every time anyway. So the question still stands. I