Updating the CSS language server

2024-06-29 Thread Oliver Boermans
The CSS language server I have installed
(vscode-css-languageserver-bin@1.4.0) does not support many newer CSS
features (e.g. nesting).

Today is the day I’ve got around to looking into updating it.

I’d hoped running an npm update command would do it. Unfortunately the npm
module has fallen into public archived status:
https://github.com/vscode-langservers/vscode-css-languageserver-bin

This package in contrast is receiving regular attention:
https://github.com/Microsoft/vscode-css-languageservice

Before I attempt to figure out how to wire this up to BBEdit, has anyone
else explored this issue?

Cheers Ollie

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vE7X2p5Ug_V8gHN2r06CgOW3-Fcx-6bMWw6wkrv9BSQXQ%40mail.gmail.com.


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 Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vFYwHRk6kZBnzX54nn2AfyUPWiipRcqpj7QOTmCu61OOA%40mail.gmail.com.


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, but in some cases
> it loses track of which paragraphs would correspond to each other in
> different edits. I can't blame it, some edits can move many things around
> and change quite a lot of the text.
>
> But it is too bad to lose all availability of diffing, at least for
> paragraphs that did not change all that much, only got moved around. Can I
> tell BBEdit to diff selection against selection in the two front windows,
> for instance?
>
> Thanks for any suggestions!
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/68df77fb-0f4b-4049-8bd3-7325049e2cd1%40googlegroups.com
> 
> .
>

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vGv0zeLsWH4K7p_EQDGpUuvRufkT_UJncOPar5KrKJoDw%40mail.gmail.com.


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 that come through are those that are there even if I don’t
> explicitly pass through any additional arguments:
>
> ["/usr/local/Cellar/node@8
> /8.12.0/bin/node","/Users/ollie/Scripts/bin/js/extract-post/index.js"]
>
> Even when you hardcode arguments in the Run Script step? If you've
> hardcoded the values and you're still not seeing them in the script then
> something else is wrong. Maybe node scripts have different methods of
> checking passed in args. I'd be surprised if BBEdit failed to pass any
> args.
>
> -cng
>
> --
>
> Charlie Garrison   
> Garrison Computer Services  <http://www.garrison.com.au>
> PO Box 380
> Tumbarumba NSW 2653  Australia
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: <https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/78DD6FF6-AEAB-4F84-9926-9AEF3D99F84D%40garrison.com.au
> <https://groups.google.com/d/msgid/bbedit/78DD6FF6-AEAB-4F84-9926-9AEF3D99F84D%40garrison.com.au?utm_medium=email_source=footer>
> .
>

-- 
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 to the group.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vGBLeNBgTnOmtJcUCW1OJfodVxrZR-D9yBBOFa9hQksWg%40mail.gmail.com.


Re: Text factory unix script arguments

2019-08-29 Thread Oliver Boermans
Thanks Charlie,

I tried including a couple of those BBEdit ENV vars in the arguments field:
$BB_DOC_NAME $BB_DOC_PATH

These arguments don’t come through so I suppose that meant they resolved to
null.

Only arguments that come through are those that are there even if I don’t
explicitly pass through any additional arguments:
["/usr/local/Cellar/node@8
/8.12.0/bin/node","/Users/ollie/Scripts/bin/js/extract-post/index.js"]

Which are paths to the executable running my script, and the script itself.

I wondering if the issue lies *between* BBEdit and Node.js. I’ll do some
experiments 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 in strings (space separated splits them into separate args as
> you suggested). The manual is rather trim on details on this feature, no
> mention of placeholders working here. Although experimenting randomly I
> found strings starting with $ or # appear to be ignored, but I expect that
> is nothing to do with BBEdit.
>
> Strings starting with $ will be vars from the 'environment', so you can
> use things like $HOME as part of arguments. Search the BBEdit manual for
> environment vars; there are some custom ones supplied by BBEdit. The #
> character is also either a comment marker, or triggering a replacement I'm
> not familiar with.
>
> -cng
>
> --
>
> Charlie Garrison   
> Garrison Computer Services  <http://www.garrison.com.au>
> PO Box 380
> Tumbarumba NSW 2653  Australia
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: <https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/12211B95-E86A-4D82-ABCC-F7944161CE5B%40garrison.com.au
> <https://groups.google.com/d/msgid/bbedit/12211B95-E86A-4D82-ABCC-F7944161CE5B%40garrison.com.au?utm_medium=email_source=footer>
> .
>

-- 
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 to the group.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vE37pmZ7Dj3w9iCD0-bV7wpO47nradd6ss6QMX_Dte80w%40mail.gmail.com.


Re: Text factory unix script arguments

2019-08-28 Thread Oliver Boermans
Thanks Charlie,
I can pass in strings (space separated splits them into separate args as
you suggested). The manual is rather trim on details on this feature, no
mention of placeholders working here. Although experimenting randomly I
found strings starting with $ or # appear to be ignored, but I 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**  Options dialog? And how are these arguments made
> available to the unix script?
>
> I would expect the Arguments to be space-separated (same as you would use
> on command line). Check the manual for more details; there may be
> placeholders you can use to grab ENV vars.
>
> -cng
>
> --
>
> Charlie Garrison   
> Garrison Computer Services  <http://www.garrison.com.au>
> PO Box 380
> Tumbarumba NSW 2653  Australia
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: <https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/A80A8015-FA83-40F6-94A9-BF1D96B31EE7%40garrison.com.au
> <https://groups.google.com/d/msgid/bbedit/A80A8015-FA83-40F6-94A9-BF1D96B31EE7%40garrison.com.au?utm_medium=email_source=footer>
> .
>

-- 
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 to the group.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vFQEcPKqcuftBajLsHYyuLM1t24gtmTN%3DtOONa5bz_rWw%40mail.gmail.com.


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 name of the Text
factoried file to my Unix Filter (Node.js script).

These are the current env vars provided to my node script:
{
"SHELL": "/bin/zsh",
"TMPDIR": "/var/folders/nh/ztnj0gf16vj5vc4012pw1lrmgn/T/",
"Apple_PubSub_Socket_Render":
"/private/tmp/com.apple.launchd.fqgVlq7mRd/Render",
"SUDO_ASKPASS":
"/Applications/BBEdit.app/Contents/XPCServices/BBShellCommandXPCService.xpc/Contents/SharedSupport/sudoaskpass-helper",
"USER": "ollie",
"COMMAND_MODE": "unix2003",
"SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.bW5qk4zRJf/Listeners",
"__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x2",
"PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
"PWD": "/",
"XPC_FLAGS": "0x0",
"XPC_SERVICE_NAME": "com.apple.xpc.launchd.oneshot.0x1007.BBEdit",
"SSH_ASKPASS":
"/Applications/BBEdit.app/Contents/XPCServices/BBShellCommandXPCService.xpc/Contents/SharedSupport/sshaskpass-helper",
"SHLVL": "1",
"HOME": "/Users/ollie",
"LOGNAME": "ollie",
"DISPLAY":
"/private/tmp/com.apple.launchd.mtxd7Q1mzv/org.macosforge.xquartz:0",
"SECURITYSESSIONID": "186a7",
"_": "/usr/local/opt/node@8/bin/node"
}

Having the path to the processed file will allow me to generate an
additional file in the same parent directory as the original. I want to
extract some text from the first file and place it in a second generated by
my js script.

A Text factory is useful for me here as these files are many and exist in a
deep tree of directories.

Thanks in advance for any pointers!
Cheers
Ollie

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vFC43kXo84aSHiwvfzgJ1_gMuXoHxHoTYKnhZ%3DTGRZmSg%40mail.gmail.com.


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...@gmail.com (Oliver Boermans) wrote:
>
> > 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
> > BBEdit specific.
> >
> > Thanks in advance.
> > Ollie
> >
> --
>
>   - Bruce
>
> _bruce__van_allen__santa_cruz__ca_
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/r480Ps-10145i-B6CFD35955764BAB956DEC1E767C3D0C%40Forest.local
> .
>

-- 
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 to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vG3qqCW3pxrK4FD3O%3DD4vGH_%2BjXYMQU3VxcTCYOycT%2BsQ%40mail.gmail.com.


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
BBEdit specific.

Thanks in advance.
Ollie

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAC_e8vHcfPm%2Bqug72vFYYQkSXUDMn_reyO5R33UeLpAh6etaiw%40mail.gmail.com.


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 issues with the way an HTML mail displays in the
> iOS mail app that I can’t figure out (the file is displaying just fine in
> desktop browsers), but I don’t know a good HTML list to look for some help.
> The file has one syntax error in it that I don’t know how to get around (I
> use an awk script to generate a count of elements that I want to show at
> the top of the table, but the code to generate it has to be at the end of
> all the content).
>
> Suggestions?
>
> --
> When someone asks you, A penny for your thoughts, and you put your two
> cents in, what happens to the other penny?
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 "):
"\s+"

Replace with (omitting "):
" "

I notice you are also capitalising the first letter of the line.
This can be done with a menu command: Text > Change Case > Capitalize Lines

Hope this helps
Cheers Ollie

On Sun, 13 Jan 2019 at 12:02, Dj  wrote:

> Hello!
>
> I'm trying to replace spaces between words so a sentence like this:
>
> "this line has  really   messed  upspacing"
>
> Looks like this:
>
> "This line has really messed up spacing"
>
> I'm only trying to change *space between words and not carriage returns
> and all that.* So far I've tried placing this in the scripts folder:
>
> perl -pe 's/ +/ /g'
>
> I get the *error message:* "This file doesn’t appear to contain a valid
> ‘shebang’ line (application error code: 13304)."
>
> Anyone know *what could be wrong, or have a better expression/way to
> achieve this? Thanks!*
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 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 for more extensive feedback: http://csslint.net/
>
> This last one is available as a command line tool which could potentially
> be wired into BBEdit:
> https://github.com/CSSLint/csslint/wiki/Command-line-interface
>
> On Wed, 19 Dec 2018 at 01:47, Art2Go  wrote:
>
>> Since applying the latest updates, I cannot access the
>> Markup /  CSS menu items.
>> "The CSS parser encountered a block parsing error. Make sure the
>> following characters are balanced properly: ",', (), [] and {} (application
>> error code: 31000)."
>>
>> Wasup?
>>
>> --
>> 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 to the group.
>> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bbedit+unsubscr...@googlegroups.com.
>> To post to this group, send email to bbedit@googlegroups.com.
>> Visit this group at https://groups.google.com/group/bbedit.
>>
>

-- 
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 to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 for more extensive feedback: http://csslint.net/

This last one is available as a command line tool which could potentially
be wired into BBEdit:
https://github.com/CSSLint/csslint/wiki/Command-line-interface

On Wed, 19 Dec 2018 at 01:47, Art2Go  wrote:

> Since applying the latest updates, I cannot access the
> Markup /  CSS menu items.
> "The CSS parser encountered a block parsing error. Make sure the following
> characters are balanced properly: ",', (), [] and {} (application error
> code: 31000)."
>
> Wasup?
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 working in BBEdit project for this to work.

Hope this gets you on the path.
Cheers Ollie

On Sun, 21 Oct 2018 at 13:42, F. Alfredo Rego 
wrote:

> Hello everyone,
>
> BBEdit Preferences for Text Files lets us set a default choice for “Strip
> trailing whitespace” as a GLOBAL setting.
>
> I have this checked (to YES), because I like this choice for my source
> files.
>
> However, for clippings (and other “stencils”), it’s convenient to have a
> trailing blank for some lines.
>
> So far, the only way I have found to control this is to uncheck the global
> preference, then save the file, and then recheck the global preference. Of
> course, it's boringly predictable that every now and then I’ll forget. So,
> I would prefer to delegate the memory of this setting to the file’s own
> metadata, under BBEdit’s capable management: Do it once and then forget
> about it.
>
> Any tricks to set ANY value of “Strip trailing whitespace” for an
> INDIVIDUAL file, regardless of the GLOBAL setting?
>
>
> Thanks.
>
> Alfredo
>
> --
> 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 to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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 to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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
Commandline tool already, perhaps:


Cheers
Ollie

On 15 August 2018 at 18:07, Rick Gordon  wrote:

> I suspect that this is beyond the scope of BBEdit, but has much to do with
> the difficulty in making regex changes to nested and interwoven elements in
> a linear text editor.
>
> How can you do jQuery/JavaScript changes -- regex or other -- working
> within the DOM, and returning source code of the same page? Is there a tool
> that is built for that kind of use, where I don't have to manually get the
> source code of a page after it has been operated on by a JQ/JS script.
>
> Sometimes it's so easy to target elements for regex changes so easily when
> working within the DOM, where it can be pretty tricky in linear text.
>
> Thanks.
>
> ___
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___
> WWW: http://www.shelterpub.com
>
> --
> 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.
> Follow @bbedit on Twitter: 
> --- You received this message because you are subscribed to the Google
> Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 browser. I personally enjoy using
Firefox: https://developer.mozilla.org/en-US/docs/Tools

Learning your way around these tools will help you learn how the HTML/CSS
works in websites in the wild. For a quick into checkout:
https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/UI_Tour

Welcome to the web!

Cheers
Ollie

On 4 May 2018 at 09:30, Robert  wrote:

> On Thursday, May 3, 2018 at 6:26:35 PM UTC-4, Seamus de Mora wrote:
>>
>> This is a follow-up to my previous post wherein I've been trying to get
>> BBEdit to create a simple hypertext link.
>>
>> Here's the dialog box as I've completed it:
>>
>>
>> 
>>
>>
>> And here's the HTML that created:
>>
>> https://www.keysight.com/main/techSupport.jspx; name="name"
>> title="title" target="target" id="id" class="class">
>>
>>
>> So: what is the text called that falls between the "><" arrows - the text
>> that appears as the hyperlink in an HTML page? Apparently it's not any of
>> the choices listed in the dialog... was that part omitted?
>>
>>
> It doesn't have an option for that. That is why it puts the cursor there
> when you create it that way. That might be a good feature enhancement
> though. They could call it "value" or something.
>
> --
> Bob
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 best presented with a
> drop-down of options. In the past, I've done this with an AppleScript that
> calls an actual application (also written in AppleScript), and it works OK,
> but it is a bit clunky and does require AppleScript knowledge and I've
> always wondered if 1) it is the only way to present the user with a
> drop-down and 2) if it is the best way.
>
> By way of example, given I have an object that can take a number of
> methods, I'd like to type "showMigrationMethods" to see a list of all the
> methods available, and then be able to select one.
>
> Any thoughts are greatly appreciated.
>
> Kind regards,
>
> Ted Stresen-Reuter
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 and the second iteration will
> select to the brackets.
>
> { "Mary Pop>
> --
>
> I meant the cursor take the *place* of “><” in the text.
>
> -ccs
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 expander” e.g.

before:
"Mary P>oPoppins<"

after:
">Mary Poppins<"

after:
>"Mary Poppins"<

and so on…

Some time ago I made a start on attempting this, but sadly didn’t get very
far.


On 1 December 2017 at 07:58, Christopher Stone 
wrote:

> Hey Folks,
>
> I'm trying to write some efficient AppleScript code to select the WORD the
> cursor is IN or next to (right or left).
>
> Examples would be having the cursor anywhere between the “>” & “<” symbols
> in the text below:
>
> 
>
> >Now< is the time for all good men to come to the aid of their country
>
> >Supercalifragilisticexpialidocious< is obviously from “Mary Poppins” if
> you're of a certain age...
>
> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
> >tempor<
>
> 
>
> I've got some spaghetti code I don't like at the moment and thought I'd
> ask before continuing to reinvent the wheel.
>
> TIA.
>
> --
> Best Regards,
> Chris
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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
>
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 brand new to this work and am working my way through Practical
> Computing for Biologists. My Mac is OS X El Capitan 10.11.6 and I've
> downloaded BBEdit as TextWrangler (the book's focus) is being 'sunsetted'.
> I've tried . (dot), but can't get it to work.
> Example:
> +40 46'N +014 15'E
> +21 17'N -157 52'W
> I tried Find '\w and Replace 'a (to replace all letters with a)
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 using BBEdit for many years, and it has been quite a few since
> I have upgraded. I am using version 9.6.3 (ancient, I know). I love it, and
> I figure if it ain't broke don't fix it. But I am thinking of upgrading now
> and want to make sure my old Apple Scripts will work. (Obviously I would
> need to tweak them, but do I need to start from scratch?)
> Thanks!
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 <
jean.christophe.hel...@gmail.com> wrote:

>
> On Aug 15, 2017, at 14:49, hstrobe  wrote:
>
> How can I modify the regex (if possible) to handle the following HTML with
> a sub-div ?
>
>
> Use indentation as a marker ?
>
> Jean-Christophe
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 discussion (I mentioned it also here:
> https://groups.google.com/forum/#!topic/bbedit/GtQDEOGncf8) in order to
> keep the thread small.
> My setup:
>
>- I use a Notes-Folder in Dropbox whith all of my text-files (that is
>md, txt, taskpaper - extensions).
>- I do this in order to be able to access this files from my iPhone
>with the app Editorial
>- I edit the files on my iMac using BBEdit
>- I often let the files open in BBEdit
>
> My problem:
>
>- some of this files disappear! Take a look at this screenshot:
>
> They are still open in BBEdit, but physically not there (= in Dropbox and
> in Finder) anymore.
>
> The files were open in BBEdit but not in Editorial.
>
> Right now I have two *suspects* (BBEdit and Dropbox) but I don't know how
> to investigate further.
>
> The problem is important for me due to the fact that I have *all* of my
> text-files there (515 files - 19.8 MB right now) :-(
>
> Do you have any suggestions?
>
> Thanks!
>
> Regards,
> Vlad
>
> OS X El Capitan 10.11.6
> BBEdit 11.6.7 (397078)
> Dropbox v31.3.22
> 27" iMac late 2012
>
> --
> 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.
> Follow @bbedit on Twitter: http://www.twitter.com/bbedit
> --- You received this message because you are subscribed to the Google
> Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 tracking devices..."
>
> I guess I can go back to sleep now.
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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, will
> create a copy and place it where the cursor is when the mouse button is
> released. I can't make this happen in BBEdit. Does the feature exist
> somewhere, What I want to do is select, the copy and paste elsewhere,
> without using the clipboard (which already has something on it). Yes, I
> know there are multiple clipboards but I haven't learned how to use them
> and this is a nice method if it works.
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 window position to somewhere visible. If not
I suggest shooting an email to supp...@barebones.com

I have seen this occasionally with the regular find window. Do you have
multiple displays like I do?


On 29 March 2017 at 10:41, Rob Lewis  wrote:

> I've used BBEdit fairly lightly for many years. Just now I was trying for
> the first time to use its Projects feature (v. 11.6.4)
>
> I created a project and put files in it, and it appears to work. But when
> I select Search:Search in , literally nothing happens except
> that the menu bar at the top of the screen is grayed out. I waited quite a
> while, and…nothing.
>
> What am I missing? And, is it possible to do search & replace over an
> entire project?
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 revisit Format.

Cheers
Ollie


On 25 February 2017 at 18:06, Bill Kochman  wrote:

> Hello Patrick,
>
> Thanks for the suggestion. I will try the “Extract” option the next time
> that I have to perform a task like that.
>
> As is, I went ahead and purchased Sheila Dixon’s “Integrity Plus”, which
> is the commercial version of “Integrity”. Aside from proving to be an
> excellent website link checker, it also generates sitemaps, and allows the
> user to set update frequency and priority lives for individual files, or
> even for whole directories of files. And it has other nice features.
>
> Kind regards,
>
> Bill K.
>
> > On Feb 25, 2017, at 1:06 AM, Patrick Woolsey 
> wrote:
> >
> > By design, BBEdit's line processing commands target whole lines only
> since processing partial and/or blocks of lines is (in general) quite a bit
> more complicated.
> >
> > Instead, I recommend you try the "Extract" command (which is tailor-made
> for just this sort of task :-) and you can configure & apply this command
> in the Find or Multi-File Search windows or invoke it directly via Search
> -> Extract.
> >
> >
> > Regards,
> >
> > Patrick Woolsey
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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:
admin%40covisp.net
%3FSubject%3D21-Feb-2017%20185.12.124.66%26Body%3DPlease%20check%20this.%0A%0Asywh7235352%
40remerasdelsur.com.ar

Although this appears to be over-zealous.

I vaguely recall there are some encoding gotchas specific to email, but
without Googling I don’t remember specifics.

Cheers
Ollie

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 exists, it ought to be possible to manually write a pattern that
does the job for you now.
How is your grep foo? Have you been down that path?
Cheers
Ollie

On 5 February 2017 at 09:54, Bill Kochman  wrote:

> And so, Chris, we wait patiently with abated breath until that genius
> stirs himself, gathers his wits -- maybe has his espresso in his thatched
> hut -- and attacks that demon head on! :)
>
> Bill
>
>
> > :)
> >
> > Many programming editors (perhaps most of the good ones now) support
> non-contiguous editing.
> >
> > That really facilitates refactoring variable names and function calls
> and such, so I really hope you're right.
> >
> > --
> > Best Regards,
> > Chris
>
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: How to Select Non-Contiguous Text

2017-02-04 Thread Oliver Boermans
Oops sorry, I see I replied without reading thoroughly.
BBEdit’s answer to this task is search and replace.

Try this thread
https://groups.google.com/forum/#!searchin/bbedit/search$20AND$20replace$20AND$20keyboard%7Csort:relevance/bbedit/reWifyGwqLQ/xxaS9pPFDAAJ

On 5 February 2017 at 09:12, 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 <wordweaver...@gmail.com> wrote:
>
>> Hello Chris,
>>
>> In reading online info dating back as far back as fourteen years ago, I
>> likewise arrived at the assumption that this feature might not yet be
>> available in BBEdit.
>>
>> Yet, at the same time, considering what a fantastic coding genius Rich is
>> — up there with a number of other mythical app developers whose names are
>> included in someone’s hall of greatness somewhere in some far place out
>> there — I find myself compelled to hold to the belief that he will discover
>> a way and coding method to overcome the challenge of text data which is
>> actually physically dispersed across one’s hard drive in zeroes and ones,
>> and not truly linear and neatly lined up in sentences, as we see it with
>> our physical eyes.
>>
>> Thus, speaking in faith, I say “might not yet be available.”
>>
>> I rest my case, with eager anticipation of hearing soon of an amazing
>> coding breakthrough. :)
>>
>> Oh great one, slay those demons!
>>
>> Bill
>>
>>
>> On Feb 5, 2017, at 8:13 AM, Christopher Stone <listmeis...@suddenlink.net>
>> wrote:
>>
>> On Feb 04, 2017, at 16:04, Bill Kochman <wordweaver...@gmail.com> wrote:
>>
>> Maybe I am just missing something, but I can’t for the life of me figure
>> out how to select non-contiguous text for the purposes of changing
>> its capitalisation.
>>
>> --
>>
>> Hey Bill,
>>
>> As far as I know BBEdit does *not* support non-contiguous text-selection
>> and never has.
>>
>> --
>> Best Regards,
>> Chris
>>
>> --
>> 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.
>> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bbedit+unsubscr...@googlegroups.com.
>> To post to this group, send email to bbedit@googlegroups.com.
>> Visit this group at https://groups.google.com/group/bbedit.
>>
>
>

-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 ago, I
> likewise arrived at the assumption that this feature might not yet be
> available in BBEdit.
>
> Yet, at the same time, considering what a fantastic coding genius Rich is
> — up there with a number of other mythical app developers whose names are
> included in someone’s hall of greatness somewhere in some far place out
> there — I find myself compelled to hold to the belief that he will discover
> a way and coding method to overcome the challenge of text data which is
> actually physically dispersed across one’s hard drive in zeroes and ones,
> and not truly linear and neatly lined up in sentences, as we see it with
> our physical eyes.
>
> Thus, speaking in faith, I say “might not yet be available.”
>
> I rest my case, with eager anticipation of hearing soon of an amazing
> coding breakthrough. :)
>
> Oh great one, slay those demons!
>
> Bill
>
>
> On Feb 5, 2017, at 8:13 AM, Christopher Stone 
> wrote:
>
> On Feb 04, 2017, at 16:04, Bill Kochman  wrote:
>
> Maybe I am just missing something, but I can’t for the life of me figure
> out how to select non-contiguous text for the purposes of changing
> its capitalisation.
>
> --
>
> Hey Bill,
>
> As far as I know BBEdit does *not* support non-contiguous text-selection
> and never has.
>
> --
> Best Regards,
> Chris
>
> --
> 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.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 new empty project before adding the files/folders I 
want – omitting those I don't.

HTH
Cheers Ollie

Sent from the olliPod

> On 13 Dec 2016, at 3:07 AM, Tom Mai  wrote:
> 
> Hi,
> I'm using filters to hide certain file types from my project lists – but I 
> don't manage to do the same with directories.
> So how do I stop certain directories from showing up in the project list?
> 
> I think I've tried every filter option: "File name", "Parent folder name", 
> "File path", "File name root", ...
> 
> Thanks
> Tom
> 
> -- 
> 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.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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, Christopher Stone <listmeis...@suddenlink.net>
> 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: $BB_DOC_SELSTART
>> Doc Sel End: $BB_DOC_SELEND
>> Doc Sel Start Column: $BB_DOC_SELSTART_COLUMN
>> Doc Sel End Column: $BB_DOC_SELEND_COLUMN
>> Doc Sel Start Line: $BB_DOC_SELSTART_LINE
>> Doc Sel End Line: $BB_DOC_SELEND_LINE
>> " | sed -E 's! *: *! : !' | column -t -s' ';
>>
>
> Thanks Chris,
> clearly something wrong at my end, my output:
>
> BBEdit Environment Variables
>> Doc Name  :
>> Doc Path  :
>> Doc Mode  :
>> Doc Language  :
>> Doc Sel Start :
>> Doc Sel End   :
>> Doc Sel Start Column  :
>> Doc Sel End Column:
>> Doc Sel Start Line:
>> Doc Sel End Line  :
>
>
> Perhaps a job for support.
> Cheers
> Ollie
>

-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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: $BB_DOC_SELSTART
> Doc Sel End: $BB_DOC_SELEND
> Doc Sel Start Column: $BB_DOC_SELSTART_COLUMN
> Doc Sel End Column: $BB_DOC_SELEND_COLUMN
> Doc Sel Start Line: $BB_DOC_SELSTART_LINE
> Doc Sel End Line: $BB_DOC_SELEND_LINE
> " | sed -E 's! *: *! : !' | column -t -s' ';
>

Thanks Chris,
clearly something wrong at my end, my output:

BBEdit Environment Variables
> Doc Name  :
> Doc Path  :
> Doc Mode  :
> Doc Language  :
> Doc Sel Start :
> Doc Sel End   :
> Doc Sel Start Column  :
> Doc Sel End Column:
> Doc Sel Start Line:
> Doc Sel End Line  :


Perhaps a job for support.
Cheers
Ollie

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 might I be missing?

Any pointers are very welcome.
Cheers
Ollie

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 ../Resources/node_runner.sh


But a script with the same first line run from Contents/Text Filters gets
me:

env: ../Resources/node_runner.sh: No such file or directory


Is there a reason it works in one and not the other?

Thanks
Ollie

-- 
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.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 used the <##> placeholder in BBEdit for years. I'm wondering if I am
> getting everything I can out of it. For example,
>
> Every few months, I have to fill in a YAML document with strings of text
> (HTML and or MD, sometimes mixed). I delete the YAML values of a prior
> document, and put placeholders in their place. Then I load up my clipboard
> manager with let's say 10 strings (textual content to be displayed on a web
> site) of materials from their source (usually a Google Doc), and I tab
> through the placeholders and paste in the strings. (the formatting changes
> every few months, so scripting this is not something I'm going to attempt)
>
> Sometimes, the items I have to edit, though, aren't these random content
> strings, but instead one of two options, e.g. "Monday" vs "Wednesday". I've
> been marking those with <#Monday|Wednesday#>. Is there a way through the
> keyboard to say to BBEdit "Please replace this placeholder with the first
> of the two options in the placeholder", e.g., "Make this instance of
> `<#Monday|Wednesday#>` become `Monday`.
>
> All the time I've used placeholders, I've always felt like there is more
> waiting for me to unlock with them… but couldn't glean anything from the
> manual on how to take them to the next level. This comes up a lot with CSS
> clippings too. E.g. `line-height: <#normal|15px|2em#>;` —ideally in this
> situation, I want to tap a trigger key to highlight the placeholder, then a
> second trigger to select one of the 3 options (`2em`) and have my cursor
> select the value (`2`) so I could overwrite it, and then a final trigger to
> close the operation which hops the cursor to the right of the semi-colon.
>
> Any thoughts on placeholders? Am I totally missing something? Have the
> absolute wrong expectations? Call me a dreamer?
>
> Thanks,
> ~brian
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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,
> Chris
>
> ---
> # Toggle front window between 2 magnification levels.
> ---
> *property* defaultMagLevel : 1.0
> *property* secondaryMagLevel : 1.2
>
> *tell* *application* "BBEdit"
>   *tell* *front* *text window*
> *if* display magnification = defaultMagLevel *then*
>   *set* display magnification *to* secondaryMagLevel
> *else*
>   *set* display magnification *to* defaultMagLevel
> *end* *if*
>   *end* *tell*
> *end* *tell*
> ---
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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).
>

Woot! Thank-you. I have had this happen seemingly randomly.
Was waiting for a pattern to emerge before reporting,

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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
default editor for these file extensions.

Just now I opened a folder containing some python (.py) text files as a
project  in BBEdit. I was surprised to see text files lacking the ever
present BBEdit icon in the project drawer.

The icon was unusual to my eye as I have BBEdit set as the default editor
for pretty much every flavour of text file and as a result _they all look
the same_. I don’t normally write Python and it was an Xcode icon I was
seeing.

Can I have my cake and eat it too?

Fine regards
Ollie

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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 are unique – prefix each line of
both documents with a number

Text > Add/Remove Line Numbers…
✓Insert – with other settings to your taste.

3. Copy and paste the contents of the first document into the end of the
second.

4. Remove duplicate lines:

 Text > Process Duplicate lines
 ✓Matching All and ✓Delete duplicate lines

5. Sort lines to unite the different lines

 Text > Sort Lines…

Hope that helps

Cheers
Ollie

On 9 January 2016 at 10:34, Lee Hinde  wrote:

> I'm doing a Find Differences between two files. I want to copy just the
> lines that are different, from both files, into a new document so I can
> send that to someone.
>
> Is there a way to do that?
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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, Lawrence San  wrote:

> You're right -- I was so focused on BBEdit + Firebug that I forgot all
> about Chrome. Just tried it: Chrome's Network panel filters, and lets me
> resize the column widths, and has a convenient "Disable cache" checkbox.
> Much better than Firebug, for this purpose anyway. (I typically ignore
> Chrome's devel tools because of all the great extensions I've installed in
> Firefox.) Thanks much Ronald!
>
>
> On Fri, Dec 18, 2015 at 5:41 PM, Ronald J Kimball  wrote:
>
>> If the problem you're trying to solve is showing only the images you care
>> about in the Net panel, have you tried using Chrome?  Its Developer Tools
>> Network panel has a filter feature, unlike Firebug.
>>
>> Ronald
>>
>> --
>> 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.
>> Follow @bbedit on Twitter: 
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bbedit+unsubscr...@googlegroups.com. 
>>
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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 wrong project!
> I have two projects with *almost* similar names!
> Sorry!
>
>
> > Am 16.12.2015 um 10:31 schrieb Vlad Ghitulescu :
> >
> > Hello!
> >
> >
> > I’m trying to replace all the occurrence of
> >
> >  2015 Treppen Reuss
> >
> > with
> >
> >  Treppen Reuss
> >
> > in all HTML-files of a given BBEdit-project.
> > With no results: BBEdit finds nothing!
> > 
> > But here they are, the missing strings:
> >
> > 
> >
> > and there are similar strings in every of the HTML-files actually.
> >
> > Here is my HTML-filter:
> >
> > 
> >
> > I attach also the content of the index.html-file.
> >
> > I’m sure that I oversee something… but what? :-(
> >
> >
> > Regards,
> > Vlad
> >
> >
> > —
> >  class=no-js> http-equiv=X-UA-Compatible content="IE=edge">Treppen
> Reuss content="width=device-width, initial-scale=1"> href=humans.txt /> rel=stylesheet href=//
> maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css> src=js/vendor/modernizr-2.6.2.min.js> data-src=img/logos/treppen_reuss_logo_50.png data-media="(min-width:
> 768px)"> data-media="(min-width: 992px)"> data-src=img/logos/treppen_reuss_logo_80.png data-media="(min-width:
> 1200px)"> src=img/logos/treppen_reuss_logo_50.png alt="Logo Treppen
> Reuss"> class="navbar navbar-default"> class=navbar-header> data-target=.navbar-collapse> class=icon-bar> class="navbar-collapse collapse"> class=active> class="icon fa fa-home"> Home class="icon fa fa-signal"> Treppen href=Ihre_Vorteile.html> Ihre
> Vorteile Über uns Kontakthttp://www.Tueren-Reuss.de> src=img/logos/tueren_reuss_logo_30.png alt="Türen Reuss"
> width=86> class="page-contents container"> data-slide-to=0 class=active> data-slide-to=1> data-slide-to=2> data-slide-to=3> data-slide-to=4> data-src=img/index/carousel/carousel_index_01_625x300.jpg> data-src=img/index/carousel/carousel_index_01_720x480.jpg
> data-media="(min-width: 768px)"> data-src=img/index/carousel/carousel_index_01_940x540.jpg
> data-media="(min-width: 992px)"> data-src=img/index/carousel/carousel_index_01_1140x540.jpg
> data-media="(min-width: 1200px)"> src=img/index/carousel/carousel_index_01_625x300.jpg alt="Treppen Reuss -
> carousel - index - Slide 1"> data-picture data-alt="Treppen Reuss - carousel - index - Slide 2"> data-src=img/index/carousel/carousel_index_02_625x300.jpg> data-src=img/index/carousel/carousel_index_02_720x480.jpg
> data-media="(min-width: 768px)"> data-src=img/index/carousel/carousel_index_02_940x540.jpg
> data-media="(min-width: 992px)"> data-src=img/index/carousel/carousel_index_02_1140x540.jpg
> data-media="(min-width: 1200px)"> src=img/index/carousel/carousel_index_02_625x300.jpg alt="Treppen Reuss -
> carousel - index - Slide 2"> data-picture data-alt="Treppen Reuss - carousel - index - Slide 3"> data-src=img/index/carousel/carousel_index_03_625x300.jpg> data-src=img/index/carousel/carousel_index_03_720x480.jpg
> data-media="(min-width: 768px)"> data-src=img/index/carousel/carousel_index_03_940x540.jpg
> data-media="(min-width: 992px)"> data-src=img/index/carousel/carousel_index_03_1140x540.jpg
> data-media="(min-width: 1200px)"> src=img/index/carousel/carousel_index_03_625x300.jpg alt="Treppen Reuss -
> carousel - index - Slide 3"> data-picture data-alt="Treppen Reuss - carousel - index - Slide 4"> data-src=img/index/carousel/carousel_index_04_625x300.jpg> data-src=img/index/carousel/carousel_index_04_720x480.jpg
> data-media="(min-width: 768px)"> data-src=img/index/carousel/carousel_index_04_940x540.jpg
> data-media="(min-width: 992px)"> data-src=img/index/carousel/carousel_index_04_1140x540.jpg
> data-media="(min-width: 1200px)"> src=img/index/carousel/carousel_index_04_625x300.jpg alt="Treppen Reuss -
> carousel - index - Slide 4"> data-picture data-alt="Treppen Reuss - carousel - index - Slide 5"> data-src=img/index/carousel/carousel_index_05_625x300.jpg> data-src=img/index/carousel/carousel_index_05_720x480.jpg
> data-media="(min-width: 768px)"> data-src=img/index/carousel/carousel_index_05_940x540.jpg
> data-media="(min-width: 992px)"> data-src=img/index/carousel/carousel_index_05_1140x540.jpg
> data-media="(min-width: 1200px)"> src=img/index/carousel/carousel_index_05_625x300.jpg alt="Treppen Reuss -
> carousel - index - Slide 5"> href=#homepage-feature data-slide=next> class=h2aufHome>Treppenbau aus LeidenschaftDie
> möglichen Treppenvarianten sind vielfältig – und genauso vielfältig ist
> auch die Auswahl in unserer
> Ausstellung, in der Sie die von uns mit Leidenschaft und viel
> Kreativität geschaffenen Produkte bestaunen können. Einen Vorgeschmack
> finden Sie in unserer Produktgalerie.Besuchen Sie unsere Produkt-Galerie!  class="icon fa fa-arrow-circle-right"> 

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 selection for find (⌘E)
3. Select the text to replace it
4. Invoke: Search: Use Selection for Replace (⌘⌥E)
5. Invoke: Search: Find… (⌘F)
6. Invoke: Replace All (⌥⌘=)

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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 All (⌥⌘=)

On 3 December 2015 at 10:30, Greg Raven  wrote:

> In the latest versions of BBEdit, if you have the cursor on a word (or
> have a word or words selected), and the text under the cursor (or selected
> text) occurs elsewhere in your document, those other instances will be
> marked.
>
> Is there a way of editing all selected/marked text in a document in one
> felt swoop?
>
> I wasn't able to find anything in the documentation.
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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:

> bruce -
> your instruction is super helpful, I am loving BBEdit it is packed with
> features. Thanks
>
> --
> 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.
> Follow @bbedit on Twitter: 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
>

-- 
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.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Help getting a codeless language module working

2015-10-22 Thread Oliver Taylor
Have you tried wrapping the contents of your "Identifier and Keyword Character 
Class” inside a CDATA wrapper <https://en.wikipedia.org/wiki/CDATA>?

You can find the latest version of my code - which still works in the latest 
BBEdit - on GitHub 
<https://github.com/olivertaylor/textplay.bbpackage/blob/master/Contents/Language%20Modules/textplay.plist>.

It’s not perfect - for example, the keywords only work when alone on a line - 
but I’m a little fuzzy, it’s been a while!


> On 15 Oct 2015, at 5:52 AM, Marc Chamberland <mchamberland2...@gmail.com> 
> wrote:
> 
> Hi Oliver,
> 
> This is coming in 4 years later, but I'm having a problem very similar to the 
> one you had in 2011. I'm trying to get keywords with spaces recognized in my 
> module, but to no avail. Does your module still work in the latest version of 
> BBEdit? I've tried every way I could think of to add a space to the 
> Identifier and Character Class, but nothing has worked. Anytime I add a space 
> to it (either as " ", \s, [:blank:], etc), it breaks recognition of all 
> keywords.
> 
> Marc
> 
> 
> On Tuesday, August 16, 2011 at 11:34:03 AM UTC-4, oliver wrote:
> Thanks Mic, I added a space and a colon to the Identifier and Keyword 
> Character Class and that got the keywords working (even with a space).
> 
> Now I just need to get the Functions and Strings working.

-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: BBEdit logfile

2015-09-14 Thread Oliver Brodwolf
Hello Rich

> I will repeat my previous question: What problem are you trying to solve?

There is no problem.
Sometime I want to look back, and see all files which have been changed.
And in OS X, I can only search to "last modified". And BBEdit knows for each 
file, the "whole" history. And then I found the DocumentRevisions-V100 folder, 
and I think bbedit get the data from this source.
I know, a other method could be to use a version control.

> Don't do that. It depends on internals of the OS which are fragile and 
> subject to change without notice.

Why not. I copy the database before I make the query.

Regards, Oliver

-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Regex Question

2015-08-24 Thread Oliver Taylor
Holger,

When I need to figure out a regex pattern I have a rough idea of, but want to 
refine, tools like the one linked below are vital. 

https://regex101.com/



 On Aug 23, 2015, at 8:10 PM, 'Holger B' via BBEdit Talk 
 bbedit@googlegroups.com wrote:
 
 Hi Alex,
 
 this is actually quite a good approach. It doesn't solve it in one pass, but 
 thinking to start at the end of the line (\r) seems to be a good idea which I 
 somehow didn't think of before.
 
 I tried this: \n\s+-\s?(.+)$
 
 and replace with: \1,
 
 which results in categories:A, B, C,
 
 Seems to be as close as I can get in one pass and in the end much simpler 
 than my initial approach ;)
 
 Thanks,
 Holger
 
 On 23/08/2015 at 15:05:42 HKT gr...@goldweb.com.au wrote:
 
 Would it be sufficient to replace s/\n\s+-/,/ — This would make
 
 categories:
 - A
 - B
 - C
 
 Turn into:
 
 categories:, A, B, C
 
 Then a second pass to remove the first comma s/:,/:/
 
 categories: A, B, C
 
 Alex
 
 On 23 Aug 2015, at 03:56, 'Holger B' via BBEdit Talk 
 bbedit@googlegroups.com
 wrote:
 
 Hi,
 
 I know there's some very talented regex people on this list, so after
 unsuccessfully trying to solve this, I'm giving it a shot here.
 
 I'm trying to achieve the following search/replace and am not sure if it's
 even possible in one pass. I believe the solution would be to find an 
 unknown number of a repeating pattern and capturing each one at the same 
 time.
 
 The text I'm searching looks like this, with the categories ranging from one
 to n:
 
 categories:
 - cat 1
 - cat 2
 - …
 - cat n
 
 The result I would like to achieve should be:
 
 categories: cat 1, cat 2, …, cat n
 
 The way I solved it for now is by modifying the pattern for different 
 numbers
 of categories, but obviously this is not very efficient…
 
 Search, e.g. 5 categories:
 categories:\r\s+-\s?((.+)\s?)(\r\s+-\s?(.+)\s?)(\r\s+-\s?(.+)\s?)(\r\s+-\s?(.+)\
 s?)(\r\s+-\s?(.+)\s?)(\r\s+-\s?(.+)\s?)
 
 Replace:
 
 categories: \1, \4, \6, \8, \10, \12\r
 
 Would appreciate any help or pointers on this.
 
 Thanks and a good weekend,
 Holger
 
 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit
 
 --- You received this message because you are subscribed to the Google 
 Groups
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.
 
 -- 
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit
 
 --- You received this message because you are subscribed to the Google Groups 
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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 could open a dialog to present options before the clipping
is inserted.

Trouble was, I couldn’t see a mechanism to pass arguments to the script
upon execution. As a result every clipping would need it’s own script. This
makes the shortcuts BBEdit provides to edit and create clippings “on the
fly” less useful.

I went with requiring an additional shortcut to extract the options. This
had the possibly useful side effect of allowing the same mechanism to work
on any text selection – not just clipping contents.

Cheers
Ollie

—
@ollicle

On 12 May 2015 at 18:19, Gustave Stresen-Reuter tedmaster...@gmail.com
wrote:

 Thanks for sharing! Not quite what I'm looking for but definitely on the
 right track. Ideally, I'd like something that is triggered when the
 clipping is inserted so I can just keyboard navigate through a dialog
 setting the required parameters. If I ever get any free time (not likely,
 but one can always hope) I'll take what you've done and see if I can work
 it into my own workflow and share that.


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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 09:11, Brian Christiansen bria...@gmail.com wrote:

 When I'm using auto-complete with CSS, I get items like this:

 display:
 #none|inline|block|inline-block|list-item|run-in|compact|marker#;

 Is there a way from the keyboard to select one of those options, that
 isn't highlight and delete everything that's not the option you want?

 __

 Hey Brian,

 I'm not sure I understand exactly what you want, especially since I don't
 do CSS.

 What I think I'm reading is that you want to be able to emplace the
 clipping - then make a selection of the desired option via the keyboard -
 and then remove the other options.

 What I've done is change the clipping text so that the options are
 tokenized.

 You expand the clipping and TAB to the desired option - then you run the
 AppleScript with a keyboard shortcut to remove the undesired text.


 ---

 The Clipping:

 display:
 @#none#|#•inline•#|#•block•#|#inline-block#|#list-item#|#run-in#|#compact#|#marker#@;

 * Items with bullets are reserved expansion-tokens in BBEdit.
 * @ character marks beginning and end of replacement text.


 ---

 tell *application* BBEdit
   tell front *text window*
 set _sel to selection
 set start_Line to *line* (get startLine of _sel)
 set replaceText to *replace* #•?|•?# searchingString (_sel's
 contents as *text*) using  options {search mode:grep}
 set replaceText to *replace* \\@.+?\\@ searching in start_Line using
 replaceText options {search mode:grep}
 *select* *insertion point* after start_Line
   end tell
 end tell


 ---

 Let me know if I've got this wrong, or something needs adjusting.

 --
 Best Regards,
 Chris

  --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

 ---
 You received this message because you are subscribed to the Google Groups
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: A notebook for BBEdit?

2015-04-28 Thread Oliver Taylor
You should just use BBEdit itself. 

Even notebook apps clutter your system, they just hide that clutter somewhere 
in ~/library. 

Have you tried using a BBEdit project?


 On Apr 28, 2015, at 12:49 AM, Jan Erik Moström li...@mostrom.pp.se wrote:
 
 I write a lot of notes in Markdown format, they are usually highly
 temporary but I would like to save them for archival purpose ... but I
 don't want them to clutter up my file system.
 
 I know, it sounds like a contradiction, just humor me :)
 
 What I want to do is to have some kind of notebook where I can dump
 files like this (and yes, there are numerous notebooks out there). My
 wish list for this notebook app:
 
 + Able to handle plain text files
 + Understand Markdown (easy to preview)
 + Integration with BBEdit
 + Light-weight
 + Search
 + Index
 
 Apps that I know of:
 
 + VoodooPad - this would be my choice if it hadn't been for that there
 have been no updates in a long time (only one update since the owner
 change)
 
 + DEVONthink - doesn't feel light-weight
 
 + Evernote - no text files, no markdown, no BBEdit
 
 + Yojimbo - no text files, no markdown, no BBEdit (as far as I can see)
 
 Does anyone have any other app I should take a look at?
 
 -- 
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit
 
 --- 
 You received this message because you are subscribed to the Google Groups 
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


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 selection of
text portions that were to be optionally present. The initial intention of
the script was to simply remove BBEdit placeholder delimiters from around
the selected text, e.g. #label# = label

Naturally I got carried away and added more features :-)

As a side note, for the sake of it being possible, I really wanted to do
this with JavaScript (as now enabled in Yosemite), but failed to even get
the basics of getting and setting the selection working. I’ve seen a few
examples that use node.js but none of the native js support.

Cheers
Ollie
--
@ollicle

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Show tab stops

2015-03-19 Thread Oliver Taylor

 On Mar 17, 2015, at 8:29 PM, Jon B. nyc2...@gmail.com wrote:
 
 if my maximum indentation level is five, just the corresponding five vertical 
 lines are shown.

No, that's not possible. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Twitter feed causing problems

2015-02-27 Thread Oliver Taylor
   On 27 Feb 2015, at 2:46 AM, jgill joegillespie2...@gmail.com 
 wrote:
 
 I've just been asked to add a Twitter Feed widget to a web page but it is 
 causing great problems with BBEdit. I have the page open in BBEdit Preview 
 and every tiny change I make to the markup causes a page to open in Firefox 
 (my default browser) with a single pixel gif in the middle. The page has the 
 URL https://syndication.twitter.com/i/jot;. It becomes very annoying to make 
 any changes. Is there any way to stop this happening?

Sounds like there’s something in that widget that’s triggering firefox to open. 
Does the same thing happen when you remove that widget from the page?

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Find and Replace Feature

2015-02-27 Thread Oliver Taylor
 On 27 Feb 2015, at 12:27 PM, Jared Roller simonat...@gmail.com wrote:
 
 For me, the ability to 'extract with new formatting and subpattern 
 replacement' would save several steps with unstructured data. 

Can you give a specific example?

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Text factory - transform files in folder A and write to folder B, possibly with new extension?

2014-12-06 Thread Oliver Taylor
 On 4 Dec 2014, at 4:16 AM, Martin Post martinpostber...@gmail.com wrote:
 
 I am often using Text Factories (usually just 5-10 GREP replacements) to 
 convert files from one format to another. These Text Factories work as they 
 should. However, this will modify the respective documents (in memory) and 
 then (optionally) save them to disk, _replacing_ the original files. Now 
 let's assume I have 40 XML files that I converted into HTML. After running 
 the Text Factory, I have to go to the Finder, change the file extension to 
 .html, and then I can validate my files. Now if something went wrong, I 
 need to create another copy of the original XML file and start again. I am 
 testing rather complex text factories here, which I sometimes need to modify 
 on the fly. It would just be nice if I could tweak a text factory, have it 
 process the files in folder A and write the converted files to folder B, 
 without having to copy or rename files manually.

You may not realize it, but what you really want is a set of shell scripts (sh, 
perl, python, whatever). You can run them remotely from your cheap laptop via 
ssh. But that’s not really your question.

Text Factories cannot, themselves, duplicate files, they can only act on files. 
So you’ll need an automated way to do that. Applescript is certainly capable of 
this, but you’re probably better off learning how to make a shell script at 
that point. But there’s always Automator.

BBEdit has Automator action, which you can download here 
http://www.barebones.com/support/bbedit/automator.html. You can’t run a Text 
Factory directly from Automator, but you might be able to re-construct your 
text-filter using the actions. And if you can do that, then you can use all the 
other system functions in Automator to duplicate and move files. You can even 
set it to watch folder and act on files automatically.

Luckily, you can also run automator actions via the shell, so you can do all 
this remotely.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Text factory - transform files in folder A and write to folder B, possibly with new extension?

2014-12-03 Thread Oliver Taylor

 On Dec 3, 2014, at 3:38 AM, Martin Post martinpostber...@gmail.com wrote:
 
 Is it possible to have a BBedit text factory read and convert e.g. all HTML 
 files in an in folder and store the transformed documents (possibly with 
 another filename extension such as .xml in a separate out folder?

Would help to know what kind of transformation  you want to make. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: CMD-L whitout CR?

2014-11-28 Thread Oliver Taylor

 On Nov 27, 2014, at 6:49 PM, Vlad Ghitulescu v...@ghitulescu.de wrote:
 
 Is there a way to get rid of the CR while selecting the line with CMD-L?

Not a built in way. But you can easily accomplish this with AppleScript. Just 
search backwards for the beginning of the line, then forwards to the end of the 
line (without newline) and assign the script a shortcut. 

There is some sample code here that might help you get started: 
https://github.com/olivertaylor/BetterTongs.bbpackage

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: [ANN] BBEdit 10.5.4

2014-11-15 Thread Oliver Taylor
 On 14 Nov 2014, at 11:49 AM, Archie Campbell arch...@gmail.com wrote:
 
 it was a pain that the Disk Browser wouldn't show the dot directories and 
 files needed to make changes. Is there a power user way to turn it back on?

In the magnifying glass menu at the bottom of the browser, change “Show” to 
“Everything”.


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Eek! Monaco jaggies.

2014-10-31 Thread Oliver Taylor
As long as we're playing favorite fonts…

I've recently fallen in love with Input. Particularly because you can pick the 
width and lightness of the letters you like best. 

http://input.fontbureau.com/


 On Oct 31, 2014, at 1:18 AM, Darrel E. Knutson 
 darrel.knut...@googlemail.com wrote:
 
 Hi LuKreme,
 
 Menlo is my favorite fixed font since Profont back in System 7  8 days.
 
 There's a new 'ProFontX' available at http://faisal.com/software/profontx/. 
 I like it, YMMV.
 
 Darrel
 
 -- 
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit
 
 --- You received this message because you are subscribed to the Google Groups 
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Setting Markdown Key Commands

2014-10-14 Thread Oliver Taylor
 On 14 Oct 2014, at 1:57 PM, Jon Siddle quietlysmok...@gmail.com wrote:
 
 I'm new to BBEdit, looking for a new text editor for writing Markdown (and 
 that doesn't crash with large files) and was curious to know how I would go 
 about setting up key bindings for the most used Markdown commands (bold, 
 italics, links, etc.). I found an article from MacDrifter 
 http://www.macdrifter.com/2012/01/moving-text-editors-taking-bbedit-seriously.html
  saying how easy it is to set this up but I'm at a loss. Any help would be 
 appreciated. Thank you.

There are a number of ways to do this. I’m guessing that you’ll want to create 
clippings (known as snippets in other editors) and bind shortcuts to them. Some 
links you might find useful:

http://www.macworld.com/article/1166149/how_to_create_and_use_bbedit_clippings.html
 
http://www.macdrifter.com/2012/01/moving-text-editors-taking-bbedit-seriously.html
http://ranea.org/bbedit-markdown.html http://ranea.org/bbedit-markdown.html
http://www.macdrifter.com/2012/01/moving-text-editors-taking-bbedit-seriously.html
 
http://www.macdrifter.com/2012/01/moving-text-editors-taking-bbedit-seriously.html

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Stationery + placeholders

2014-10-05 Thread Oliver Taylor

 On 5 Oct 2014, at 8:21 AM, Michael Green merely.ridicul...@gmail.com wrote:
 
 Create a new document based on your stationery file and use Markup - Update 
 - Document (command-control-u). 

I never got a chance to dive into placeholders before. This is pretty neat. 
More info in Appendix C” for those interested.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Folding Controls and Codeless Language Modules

2014-09-05 Thread Oliver Taylor
On 4 Sep 2014, at 8:18 AM, Francisco A. Hirsch listas.hir...@gmail.com wrote:

 Some time ago I wrote a Codeless Language Module for WebDNA
 Today I realized that no Folding Controls appear in the gutter.
 Is this an HTML only feature?
 If not, is there a way to add this to a CLM?

BBEdit folds anything you define as a Function. See here for more info: 
http://www.barebones.com/support/develop/clm.html#REStructuralElements

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Interesting issue with files in a project

2014-06-23 Thread Oliver Taylor
 On Jun 22, 2014, at 6:13 AM, François Schiettecatte 
 fschietteca...@gmail.com wrote:
 
 Up to now the file name have always turned back once the files became 
 available when the AFP server came back on line. But for some reason this is 
 no longer the case. The file names are remain red when I reopen the project. 
 Anyone got any ideas?

It's possible that, even if the path is the same, BBEdit is using a unique 
identifier for the mounted volume - that might change between mounts. But I 
don't actually know if that's true.

Can you still click on, and edit, the files even after they turn red? I've had 
that happen a lot. A file turns red because I've moved it but once I click on 
it BBEdit opens the file just fine and the name goes back to black. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Using Escape key as shortcut?

2014-06-12 Thread Oliver Taylor

 On Jun 12, 2014, at 6:53 AM, Gingi shiranpaster...@gmail.com wrote:
 
 Is it possible to map a menu command to the Escape key? I'd like to use it 
 for Complete (currently mapped to F5), to mimic behavior on other editors.

Not with BBEdit directly. There are a bunch of standard keys BBEdit doesn't let 
you remap.

I use keyboard maestro and keyremap4macbook for this, which have no such 
restrictions. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: BBEdit slow large file opening

2014-04-23 Thread Oliver Taylor
On 23 Apr 2014, at 3:15 PM, Lawrence San lawrence...@gmail.com wrote:

 But if you then go back later and make a substantial edit to your 
 hard-wrapped block comments, don't they turn into a mess? I've tried that, 
 and ended up manually dragging numerous line fragments around to get it back 
 into a reasonable block form, which seemed like more trouble than it's worth.

BBEdit does this automatically. Try Text  Hard Wrap... on a messed-up 
comment block.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Text Colors Test

2014-04-17 Thread Oliver Taylor
I'm developing a color-scheme for BBEdit. And I'd love to refine my color 
choices using real documents.

Is there a single document, or set of documents, that contain an example of 
everything BBEdit can color?

Thanks!

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: P tag sets

2014-03-25 Thread Oliver Taylor

 On Mar 25, 2014, at 5:59 AM, BoDe tobias.bras...@gmail.com wrote:
 
 I want my paragraph tag sets to be on the same line as the text it 
 encompasses. So:
 
  pSome text./p
 
 instead of
 
  p
  Some text.
  /p

I could be wrong but I think this is how BBEdit handles everything. I don't 
think there's a way to change it. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: P tag sets

2014-03-25 Thread Oliver Taylor

 On Mar 25, 2014, at 11:38 AM, BoDe tobias.bras...@gmail.com wrote:
 
 I think it has something to do with paragraphs usually being block elements. 
 If you apply a list item tag (an inline element), for example, the tagset is 
 added on the same line.

Of course bbedit just does the right thing.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Fountain BBEdit Package

2014-03-05 Thread Oliver Taylor
If, by some twist of fate, there's anyone else out there that uses BBEdit to 
write Fountain documents (http://fountain.io), you might be interested to know 
that I've published a package designed to make working with Fountain documents 
easier. It includes some handy clippings, scripts, filters, and a language 
module that makes moving around and folding easier. You can find it here: 
https://github.com/olivertaylor/textplay.bbpackage.

Please contribute on GitHub if you see something that needs improving.

It goes very well with my command-line Fountain conversion utility: Textplay 
https://github.com/olivertaylor/Textplay.

- - - - - - - - - -
@olivertaylor
github.com/olivertaylor
olivertaylor.net
- - - - - - - - - -

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Search and Replace links with different file names

2014-02-27 Thread Oliver Taylor
On 27 Feb 2014, at 11:27 AM, outtacontext jeff.ga...@gmail.com wrote:

 I need to search for this string and delete all of them in 70 web pages. The 
 only problem is that the file names are different as are the link names (I've 
 bolded  and made red those the part of the search that will be different in 
 every file):
 
  blockquote
h3a href=/exhibitions/online/roby/xxx.cfmXXX /a/h3
  /blockquote

Assuming you want to delete the entire blockquote...

Go to Search  Multi-File Search...

Open BBEdit's find window and paste this into the Find field:

 blockquote
 [ ]*h3a href=/exhibitions/online/roby/(.+).cfm(.+) /a/h3
 /blockquote

Leave the Replace field blank.

Make sure that Matching: Grep is enabled.

Then select the files you want to search.

For a dry-run just click Find All - and when you're ready click Replace All.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: BBEdit always in front / flaky behavior of Open documents into the front window when possible

2014-02-21 Thread Oliver Taylor

 On Feb 21, 2014, at 9:03 AM, Brian Colavito brian.colav...@gmail.com wrote:
 
 Here's what was happening:
 1) I have Eclipse and BB Edit on monitor 1, and the browser is open on 
 monitor 2
 2) I bring Eclipse to the front on monitor 1 by clicking on it, and let BB 
 Edit go to the background
 3) I click on the browser in monitor 2
 4) BBEdit suddenly pops back to the front of monitor 1 and obscures Eclipse

You should contact supp...@barebones.com. That's a very strange error. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Creating new project files via SFTP

2014-02-20 Thread Oliver Taylor
On Feb 20, 2014, at 5:25 PM, David Donachie stran...@teuton.org wrote:

 I use a lot of projects where the files are all hosted on a server via SFTP. 
 To make a new one I have to open an SFTP browser, create the file on the 
 server, then drag that file into the project, then open it again in the 
 editor. Is there a better way? Can I save the SFTP details in the project 
 somehow and make new files automatically (or even better, track files added 
 from elsewhere)?

BBEdit projects are just collections of local files. The only SFTP tools BBEdit 
Projects have are for deploying your local copy of a website to a remote server 
- see pg 217 of the User Manual. Working directly with remote files inside a 
project would be better/easier with something like Coda panic.com.

Personally, I very much enjoy having a local copy of by site on my laptop that 
I can edit and test any time, then once everything is worked-out I just deploy 
the changes to the live server. There are a lot (and I mean a lot) of great 
tools for this kind of workflow. If you need help setting this up I can point 
you in the right direction.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Passing a Data File to an External Executable

2014-01-03 Thread Oliver Taylor
On Jan 2, 2014, at 11:51 AM, bfu matt.yu...@gmail.com wrote:

 I make regular use of the ability to run scripts (of all kinds) from within 
 BBEdit making sure the shebang line is properly set.  I’d like to take it a 
 step further and pass the contents of the current document to something else, 
 for example, graphviz.

Here’s an example of taking the current selection (or document) converting it 
to an html file using pandoc, then opening that file in Safari…

#!/bin/bash
/usr/local/bin/pandoc -t HTML -o ~/Desktop/test.html  open -a Safari 
~/Desktop/test.html

Is that the kind of thing you’re after?

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


reStructuredText preview filter

2013-12-28 Thread Oliver Taylor
I’m trying to setup a simple Preview Filter for reStreucturedText using pandoc.

Pandoc reads from STDIN and prints to STDOUT - the following works great in the 
terminal:

echo this is **marked-up** text | pandoc -f rst -t html

  =pthis is strongmarked-up/strong text/p

My thought (and I’m sure this isn’t correct) was that making a Preview Filter 
would be as simple as a file that looks like this:

#!/bin/bash
pandoc -f rst -t html

…but no luck. Anyone know what I’m doing wrong?

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: reStructuredText preview filter

2013-12-28 Thread Oliver Taylor
On Dec 28, 2013, at 4:02 PM, Maarten Sneep maarten.sn...@xs4all.nl wrote:

 I suspect that pandoc can’t be found in the environment that is presented to 
 the shell script. Try using the full path to pandoc instead.

Thanks Maarten, that did the trick.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Want to paste multiple lines to a single line - Is it possible?

2013-12-14 Thread Oliver Taylor
 On Dec 13, 2013, at 6:47 PM, Rick Yentzer ryent...@gmail.com wrote:
 
 Any recommendations for an intro to shell scripting? I'd like to learn more 
 about it.

Apple has a pretty great document on the subject:

https://developer.apple.com/library/mac/DOCUMENTATION/OpenSource/Conceptual/ShellScripting/Introduction/Introduction.html

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Feature Request: Navigable scaled view of entire file, ala Sublime Text has on right edge

2013-12-06 Thread Oliver Taylor

 On Dec 6, 2013, at 3:12 PM, Jeff Blanding jffbln...@gmail.com wrote:
 
 Is anything like this planned or possible for a future version of BBEdit?

I'd suggest sending an email to supp...@barebones.com - this is a user group, 
we don't know anything about future plans.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Markdown and HTML auto complete

2013-11-21 Thread Oliver Taylor
On Nov 20, 2013, at 6:37 AM, Rick Yentzer ryent...@gmail.com wrote:

 I would like the ability to autocomplete html within an .md file.

What BBEdit auto-completes is largely a function of the current language 
setting. By default, the Markdown language does not have html tags in its 
auto-complete library (I’m paraphrasing here).

You could switch the language of the current document on the fly (doesn’t 
matter what kind of document it actually is). Below, I’ve pasted an applescript 
to toggle the front document’s language between HTML and Markdown. Assign that 
a hotkey and then just switch depending on what kind of auto-complete you want 
on a moment-by-moment basis. BBEdit is even smart enough to switch clipping 
sets when you switch languages.


tell application BBEdit
set docLang to source language of text document 1
if (docLang is HTML) then
set source language of text document 1 to Markdown
else
set source language of text document 1 to HTML
end if
end tell


 Currently, when I type a tag element, I'm able to auto close it. I can select 
 an element from the menu or shortcut key, such as an image or a link, but I 
 cannot select the Edit Markup menu item.

The edit markup menu item only works in Markdown documents when you’re inside 
an html tag.

 Also, BBEdit doesn't handle syntax coloring of html elements in markdown 
 beyond a simple element tag.

BBEdit was never designed for this kind of deep integration of languages. The 
first editor I’m aware of that did it was Textmate. These days Textmate 2 or 
Sublime Text might be more what you’re looking for - though I’m not familiar 
enough with them to promise that.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: xcrun command

2013-11-11 Thread Oliver Taylor

 On Nov 9, 2013, at 8:28 PM, John0325 john.someon...@gmail.com wrote:
 
 I don't want to install the developer tools. But it asks me anyways every 
 time. How can I disable this?

http://www.barebones.com/support/bbedit/faqs.html#xcrun

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Character palette popup in 10.9

2013-11-03 Thread Oliver Taylor
 On Nov 3, 2013, at 12:27 PM, LuKreme krem...@kreme.com wrote:

 
 Is it just me, or does the 10.9 character palette (command-control-space) not 
 work in BBEdit?

Works for me. You might have to assign the menu item that shortcut. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: [ANN] BBEdit 10.5.6 (3325) pre-release

2013-11-03 Thread Oliver Taylor
On Oct 28, 2013, at 6:46 PM, Rich Siegel sie...@barebones.com wrote:

 *   There is now an expert preference which will cause the Open File by
Name window to close after using the Open button:
 
`defaults write com.barebones.bbedit CloseOFBNWindowAfterOpeningSelection 
 -bool YES`

Oh sweet mercy thanks for this.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Surround Selection With...

2013-10-20 Thread Oliver Taylor
 On Oct 20, 2013, at 1:01 AM, Den Dowling d...@bmxweb.com wrote:
 
 Have you tried Clippings in BBEdit yet?

Oh yes, of course.

But I can't possibly anticipate all the characters I might want surround the 
selection with. This script allows you to surround with anything the user can 
think of. Plus, it would be a single hot-key for all surrounds, which I like 
the idea of. 

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Surround Selection With...

2013-10-19 Thread Oliver Taylor
I'm attempting to create a script that surrounds the selected text with paired 
characters - in a smart way.

For example, if you want to surround the selection with selection then just 
enter  and the script will do the right thing. I've got that working, but I'd 
love to make it a bit better.

For example, I might to surround the selection like this: selection. Or 
like this:  #selection# . Or like this: (( *selection* ))

Can anyone help me figure this out? Maybe this is beyond a simple script like 
this?

Here's what I've got so far...

--Display Dialog and Get Input
display dialog Surround Selection With... default answer 

--Get Answer  Return Comment
set surround to (text returned of result)

tell application BBEdit
try
-- test to see if input has a matching character - {}()[] etc.
-- then surround the selection with the pair
if surround is in {{} then
set selection to {  selection  }
else if surround is in {(} then
set selection to (  selection  )
else if surround is in {[} then
set selection to [  selection  ]
else if surround is in {“} then
set selection to “  selection  ”
else if surround is in {‘} then
set selection to ‘  selection  ’
else if surround is in {} then
set selection to   selection  
else
-- if there's no match then just surround with the 
input on both sides
set selection to surround  selection  surround
end if
end try
end tell

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: is it possible to customize right click contextual menu

2013-10-12 Thread Oliver Taylor
On Oct 10, 2013, at 3:41 PM, JT webh...@gmail.com wrote:

 is it possible to customize right click contextual menu when selecting text?

No.

But there are several ways to make accessing the menu-item easy.

1. you can assign a keyboard shortcut to any menu item in BBEdit  Preferences 
 Menus  Shortcuts

2. typing shift+command+/ - you can search even menu item using the keyboard. 
Very handy.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Help - How to Insert list of text strings into sequential placeholders

2013-09-24 Thread Oliver Taylor
On Sep 24, 2013, at 7:54 AM, Kip Shaw sunnywebsh...@gmail.com wrote:

 Is there a way to automatically grab sequential items from a list (ideally 
 from the clipboard) and insert them into sequential placeholders?

When I need to do this I use Text  Prefix/Suffix Lines.

If it's the same markup every time you could automate pasting the list and 
marking-it-up using Applescript - but my kung-fu is not strong enough for that. 
Perhaps someone else on the list can help you out.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: insert character in specific places

2013-09-24 Thread Oliver Taylor
On Sep 24, 2013, at 1:18 PM, Timothy Hellum fenri...@gmail.com wrote:

 I have a single column of a thousand or so phone numbers in their 10 
 character string format.  I'd like to add dashes in positions 4 and 7:
 123-123-1234

Assuming the phone numbers are always formatted as 1231231234...

Search: (\d{3})(\d{3})(\d{4})
Replace: \1-\2-\3

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: repalcement patterns

2013-09-14 Thread Oliver Taylor
On Sep 14, 2013, at 3:19 PM, Ken Lanxner k...@simplelives.com wrote:

 How do I correctly write something like
 
 \113
 
 to indicate I want the replaced value to be the 1st found subpattern 
 immediately followed  by 13 --- not the the 11th found subpattern followed by 
 3?


Page 176 of the User Manual might be helpful.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Clippings with multiple similarly-named substitution placeholders

2013-09-08 Thread Oliver Taylor
On Sep 6, 2013, at 8:00 AM, Damian Carrillo damiancarri...@gmail.com wrote:

 Is there anyway to have the second and third #name# be replaced with the 
 value I type into the first?

I'd love to be proven wrong, but as far as I can tell this (much vaunted 
TextMate feature) is not possible.

However, you could write an AppleScript that would prompt you for the #name# 
and insert/transform the text you want.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Resizeable 'Currently Open Documents' frame

2013-08-20 Thread Oliver Taylor
On Aug 19, 2013, at 10:07 AM, BBunny fran...@cherman.com wrote:

 Collapsing the project list or opening the Windows palette are not acceptable 
 alternatives. The first takes too much time since I use my project list all 
 the time, and the second takes additional screen real estate. Mac users have 
 come to expect this simple UI convention, so why not give it to them?

This is a forum for users. If you have a feature request you should submit it 
directly to the developers.

About a dozen people have attempted to help you (more than once) work around 
this limitation - that's all this mailing list can do. Is there something else 
we can do to help you?

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Soft Wrap and search replace project file

2013-08-10 Thread Oliver Taylor
On Aug 10, 2013, at 1:34 PM, Joshua Wilson joshmit...@gmail.com wrote:

 So is there any way to either fix my preferences to do the softwrap for the 
 project

I can think of a few things that might help:

  1. Set BBEdit's default to soft-wrap
  2. Set a hot key for your soft-wrap preference

But having a number after your log files' extension is problematic.

 create an applescript that will both soft wrap to the window width as well as 
 search and replace  with \r automatically or where I can at least bind it 
 to a key?

The following applescript will do both, you can assign it a hot-key. There's 
probably a way to replace in the frontmost project, but I'm not certain how to 
do that.

tell application BBEdit
tell window 1 to set soft wrap text to true
replace  using \\n searching in text of front window options 
{search mode:grep, starting at top:true, wrap around:false, backwards:false, 
case sensitive:false, match words:false, extend selection:false}
end tell

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Currently Open Documents

2013-07-12 Thread Oliver Taylor
On Jul 12, 2013, at 1:34 AM, j...@kilroyjames.co.uk wrote:

 Is someone genuinely sat there saying - yes I know people want these windows 
 to be flexible, but they are wrong they should be rigid and tiny.

I can't speak for Bare Bones, but that's probably exactly what they're 
thinking. My guess is that they don't want to add the complexity, or, you know, 
they're too busy adding features they think are more important.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.




Re: Select word

2013-07-03 Thread Oliver Taylor
On Jul 3, 2013, at 6:36, Rick Yentzer ryent...@gmail.com wrote:

 What I'm looking for is a way to select a word and then select more words 
 until I get the selection I want.
 
 I'll use this as an example:
 grunt-contrib-nodeunit
 
 If my cursor is in the middle of the word contrib then I can double click 
 to select it, or I can use John Gruber's Select Word script.
 If my cursor is in the middle of contrib and I want to select the text 
 between the double quotes, what is the best solution?

See here: http://olivertaylor.net/bbedit_movement/

The select word script in that package assumes hyphenated words should be 
selected when you want to select word.

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.




Re: duplicate content - find replace

2013-06-10 Thread Oliver Taylor
On Jun 10, 2013, at 3:34 PM, The Ultronz the.ultr...@gmail.com wrote:

 what I mean is lets say you have a text document that is a list of names
 there are several Bob's and Tom's etc.

There are many ways to do this, can you provide a sample file?

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.




  1   2   3   >