Re: Shebang Line Woes

2020-03-05 Thread Jan Erik Moström

On 6 Mar 2020, at 3:25, Paul Gobble wrote:


What is different between the two systems? Where should I look?


Wild suggestion (probably has nothing to do with your problem), are you 
running the same shell depending on how you launch your script, i.e. is 
the PATH the same for all instances (although since you use the absolute 
search path it shouldn't matter).


FWIW on my machine

~ > which python3
/usr/bin/python3
~ > python3
Python 3.7.3 (default, Dec 13 2019, 19:58:14)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

^D

~ > /usr/bin/python3
Python 3.7.3 (default, Dec 13 2019, 19:58:14)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

^D

~ > vi test
~ > chmod u+x test
~ > ./test
Hello world

Program in test

#!/usr/bin/python3
print("Hello world\n")

= jem

--
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/00AB5A1A-B9A8-4945-92DD-6A6E7790A153%40mostrom.pp.se.


Re: Shebang Line Woes

2020-03-05 Thread Jean-Christophe Helary
First, it works on my system.


Mar 6, 2020 13:35:25
/untitled text 2

Hello World


I can't say for sure that BBEdit respected the first line, but I don't have any 
issue with the output.

Even when I save the file I get the same:


Mar 6, 2020 13:40:10
~/Documents/Code/test/python_test-01.py

Hello World


I can't tell you more, but if it's a path issue, reinstalling python3 with a 
reasonable package manager (homebrew ?) could help fixing issues.

Jean-Christophe 

> On Mar 6, 2020, at 11:25, Paul Gobble  wrote:
> 
> I keep banging my head against this problem.  To try something different, I 
> ssh over to my Raspberry Pi.  I check, and its got Python 3 right there in 
> /usr/bin/ . So I use vim to create same script on the Rasperrry Pi, chmod 
> 755, and I see "Hello World" the very first try.  
> 
> So to recap, both my PowerBook with macOS 10.15.3 and my Raspberry Pi running 
> Debian GNU/Linux have a version of Python3 installed in their /usr/bin 
> directories.  Both system have /usr/bin in their PATH.  They both have the 
> same two line script and both start with the same Shebang: 
> #!/usr/bin/python3.  The Raspberry Pi works perfect, the Mac can only muster 
> "#!/usr/bin/python3: No such file or directory".
> 
> What is different between the two systems? Where should I look? 
> 
> 
> On Thursday, March 5, 2020 at 7:06:11 AM UTC-5, Paul Gobble wrote:
> I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to learn a 
> bit of Python3.  
> 
> #!/usr/bin/env python3
> print('Hello World')
> 
> Baby steps.
> 
> I try to execute this from the Run menu item in the #! menu and get
> 
> /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
> or directory
> 
> Then I try to use the direct path in the shebang line
> 
> #!/usr/bin/python3
> print('Hello World')
> 
> and get a very similar response
> 
> /Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
> file or directory
> 
> So I go investigate in the Terminal app and look around.
> 
> Emonda:bin paul$ pwd
> 
> /usr/local/bin
> 
> Emonda:bin paul$ whereis python3
> 
> /usr/bin/python3
> 
> Emonda:bin paul$ whereis env
> 
> /usr/bin/env
> 
> Emonda:bin paul$ 
> 
> 
> Both env and python3 are right where I said they were in the shebang line, 
> but interpreter can't find them!  
> 
> Can anyone help me out here?  What am I missing?
> 
> Thanks,
> Paul
> 
> -- 
> 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/f3a60234-2b25-44bc-8200-58c528dc8bca%40googlegroups.com.

Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune


-- 
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/3AE3E8F3-BD8D-4FA8-BDE2-7D3626A5D257%40traduction-libre.org.


Re: Shebang Line Woes

2020-03-05 Thread Steve deRosier
Did you try on your mac the exact same thing you did on Linux?  ie
chmod a+x and try to execute it from the command line?  My bet is it
works.  Personally, I don't think I've ever run a python script via
BBedit, I always use my terminal.  In any case, validate you can do it
from the terminal in a "normal" way first, and then I'd suggest
emailing support.

- Steve

On Thu, Mar 5, 2020 at 7:23 PM Paul Gobble  wrote:
>
> I keep banging my head against this problem.  To try something different, I 
> ssh over to my Raspberry Pi.  I check, and its got Python 3 right there in 
> /usr/bin/ . So I use vim to create same script on the Rasperrry Pi, chmod 
> 755, and I see "Hello World" the very first try.
>
> So to recap, both my PowerBook with macOS 10.15.3 and my Raspberry Pi running 
> Debian GNU/Linux have a version of Python3 installed in their /usr/bin 
> directories.  Both system have /usr/bin in their PATH.  They both have the 
> same two line script and both start with the same Shebang: 
> #!/usr/bin/python3.  The Raspberry Pi works perfect, the Mac can only muster 
> "#!/usr/bin/python3: No such file or directory".
>
> What is different between the two systems? Where should I look?
>
>
> On Thursday, March 5, 2020 at 7:06:11 AM UTC-5, Paul Gobble wrote:
>>
>> I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to learn 
>> a bit of Python3.
>>
>> #!/usr/bin/env python3
>> print('Hello World')
>>
>> Baby steps.
>>
>> I try to execute this from the Run menu item in the #! menu and get
>>
>> /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
>> or directory
>>
>> Then I try to use the direct path in the shebang line
>>
>> #!/usr/bin/python3
>> print('Hello World')
>>
>> and get a very similar response
>>
>> /Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
>> file or directory
>>
>> So I go investigate in the Terminal app and look around.
>>
>> Emonda:bin paul$ pwd
>>
>> /usr/local/bin
>>
>> Emonda:bin paul$ whereis python3
>>
>> /usr/bin/python3
>>
>> Emonda:bin paul$ whereis env
>>
>> /usr/bin/env
>>
>> Emonda:bin paul$
>>
>>
>> Both env and python3 are right where I said they were in the shebang line, 
>> but interpreter can't find them!
>>
>> Can anyone help me out here?  What am I missing?
>>
>> Thanks,
>> Paul
>
> --
> 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/f3a60234-2b25-44bc-8200-58c528dc8bca%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 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/CALLGbRKtbB5C1UtxEhV%2BgudsbBA5bij%3DXCG-JUP1b982oAe%2BBA%40mail.gmail.com.


Re: Changing a lower case letter of the first word to uppercase letter of the first word in a sentence

2020-03-05 Thread Dr. Linton Hutchinson


This seems to work Thanks Fletcher

> On Mar 5, 2020, at 9:11 PM, Fletcher Sandbeck  wrote:
> 
> This seems to work. It's a little tricky to be sure you're at the start of a 
> sentence so I'd advice cycling through the matches rather than doing a global 
> replace.
> 
> Search pattern: (?:^|\. +)[a-z]
> 
> Replace pattern: \L\0
> 
> Use with grep and case sensitive turned on. The search pattern finds either 
> the start of a line ^ or an escaped period followed by one or more spaces, 
> wrapped in (?: ) so they don't define a sub-pattern. Followed by the 
> lowercase character. The replacement uses \U to make the replacement 
> uppercase. And we replace the whole pattern so we don't lose the period.
> 
> Hope this helps,
> 
> [fletcher]
> 
> 
>> On Mar 5, 2020, at 5:38 PM, Linton Hutchinson  wrote:
>> 
>> How do I 
>> Changing a lower case letter of the first word in a sentence to uppercase 
>> letter of the first word in the sentence for all entries in a txt file
>> 
>> using GREP?
>> 
>> -- 
>> 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/125e2ff6-7324-4778-9db9-ed75f11f36df%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 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/440509A6-AAC4-4F56-B99D-93829D521685%40cumuli.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 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/1FF533CE-9D10-4B75-A7BD-2A5817D0E8D6%40gmail.com.


Re: Shebang Line Woes

2020-03-05 Thread Paul Gobble
I keep banging my head against this problem.  To try something different, I 
ssh over to my Raspberry Pi.  I check, and its got Python 3 right there in 
/usr/bin/ . So I use vim to create same script on the Rasperrry Pi, chmod 
755, and I see "Hello World" the very first try.  

So to recap, both my PowerBook with macOS 10.15.3 and my Raspberry Pi 
running Debian GNU/Linux have a version of Python3 installed in their 
/usr/bin directories.  Both system have /usr/bin in their PATH.  They both 
have the same two line script and both start with the same Shebang: 
#!/usr/bin/python3.  The Raspberry Pi works perfect, the Mac can only 
muster "#!/usr/bin/python3: No such file or directory".

What is different between the two systems? Where should I look? 


On Thursday, March 5, 2020 at 7:06:11 AM UTC-5, Paul Gobble wrote:

> I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to 
> learn a bit of Python3.  
>
> #!/usr/bin/env python3
> print('Hello World')
>
> Baby steps.
>
> I try to execute this from the Run menu item in the #! menu and get
>
> /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such 
> file or directory
>
> Then I try to use the direct path in the shebang line
>
> #!/usr/bin/python3
> print('Hello World')
>
> and get a very similar response
>
> /Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
> file or directory
>
> So I go investigate in the Terminal app and look around.
>
> Emonda:bin paul$ pwd
>
> /usr/local/bin
>
> Emonda:bin paul$ whereis python3
>
> /usr/bin/python3
>
> Emonda:bin paul$ whereis env
>
> /usr/bin/env
>
> Emonda:bin paul$ 
>
> Both env and python3 are right where I said they were in the shebang line, 
> but interpreter can't find them!  
>
> Can anyone help me out here?  What am I missing?
>
> Thanks,
> Paul
>

-- 
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/f3a60234-2b25-44bc-8200-58c528dc8bca%40googlegroups.com.


Re: Changing a lower case letter of the first word to uppercase letter of the first word in a sentence

2020-03-05 Thread Fletcher Sandbeck
This seems to work. It's a little tricky to be sure you're at the start of a 
sentence so I'd advice cycling through the matches rather than doing a global 
replace.

Search pattern: (?:^|\. +)[a-z]

Replace pattern: \L\0

Use with grep and case sensitive turned on. The search pattern finds either the 
start of a line ^ or an escaped period followed by one or more spaces, wrapped 
in (?: ) so they don't define a sub-pattern. Followed by the lowercase 
character. The replacement uses \U to make the replacement uppercase. And we 
replace the whole pattern so we don't lose the period.

Hope this helps,

[fletcher]


> On Mar 5, 2020, at 5:38 PM, Linton Hutchinson  wrote:
> 
> How do I 
> Changing a lower case letter of the first word in a sentence to uppercase 
> letter of the first word in the sentence for all entries in a txt file
> 
> using GREP?
> 
> -- 
> 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/125e2ff6-7324-4778-9db9-ed75f11f36df%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 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/440509A6-AAC4-4F56-B99D-93829D521685%40cumuli.com.


Changing a lower case letter of the first word to uppercase letter of the first word in a sentence

2020-03-05 Thread Linton Hutchinson
How do I 
Changing a lower case letter of the first word in a sentence to uppercase 
letter of the first word in the sentence for all entries in a txt file

using GREP?

-- 
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/125e2ff6-7324-4778-9db9-ed75f11f36df%40googlegroups.com.


Re: Shebang Line Woes

2020-03-05 Thread Paul Gobble
Nestor,

Thanks for your help, but my results were different.  I set /use/bin/ to be 
first search path. 

paul@Emonda ~ % PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin
paul@Emonda ~ % env
...
PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin
...


Then I asked the terminal what it knows about the location of Python3


paul@Emonda ~ % python3 --version
Python 3.7.3
paul@Emonda ~ % which python3
/usr/bin/python3
paul@Emonda ~ % whereis python3
/usr/bin/python3


By all accounts, my terminal knows where Python3 is, and it recognizes the 
location as being the same as the location I put first in env, /use/bin/

Any clues?

On Thursday, March 5, 2020 at 6:40:08 PM UTC-5, Nestor Aguilera wrote:
>
>
>
> > On 5 Mar 2020, at 14:43, Paul Gobble > 
> wrote: 
> > 
> > Rich, 
> > 
> > Here's what I get… 
> > 
> > Emonda:bin paul$ python3 --version 
> > Python 3.7.3 
>
> And this is what I get in my system: 
>
> $ python3 --version 
> Python 3.8.2 
> $ which python3 
> /usr/local/bin/python3 
> $ whereis python3 
> $ 
>
> that is, can't find python3. 
>
> There is no file with name starting with python3 in my /usr/bin (but there 
> are several in /usr/local/bin). I guess this depends on the macOS version 
> (I am on 10.14 Mojave). 
>
> I installed the python3 version with the pkg in 
> https://www.python.org/downloads which puts 
> /Library/Frameworks/Python.framework/Versions/3.8/bin at the top of the 
> path, but I changed that. Anyway, /usr/local/bin and /usr/bin are at the 
> top om my path. 
>
> Hope it helps. 
>
> Best, 
>
> Nestor 
>
> #-- 
>
> > 
> > 
> > 
> > On Thursday, March 5, 2020 at 8:23:07 AM UTC-5, Rich Siegel wrote: 
> > On 3/4/20 at 11:25 PM, pa...@paulgobble.com (Paul Gobble) wrote: 
> > 
> > > I try to execute this from the Run menu item in the #! menu and get 
> > > 
> > > /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such 
> file 
> > > or directory 
> > 
> > /usr/bin/python3 is a stub provided by the OS. What happens if you: 
> > 
> > python3 --version 
> > 
> > ? 
> > 
> > R. 
> > -- 
> > Rich Siegel Bare Bones Software, Inc. 
> >    
>
> > 
> > Someday I'll look back on all this and laugh... until they sedate me. 
> > 
> > 
> > -- 
> > This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "sup...@barebones.com 
> " rather than posting here. 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 bbe...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/3e2a4d79-e7c3-456b-bf47-d388d00c7c6d%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 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/8c5b6c70-079f-4e36-9adf-f5f51b7cc0ec%40googlegroups.com.


Re: .htaccess extension mapping

2020-03-05 Thread MediaMouth
Ugh.  Sorry about that.
RE BBedit being powerful / loving it: agreed.

> On Mar 5, 2020, at 3:14 PM, Gerald Davenport  wrote:
> 
> I realized that after I started fiddling with what you were talking about and 
> may have messed something up. OOPS.
> 
> A restart might help Me that is. Hope you find your answer. BBEdit is 
> pretty powerful, the reason why I love it!

-- 
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/545CEDCD-D2EA-4361-989A-668EC811BE35%40gmail.com.


Re: .htaccess extension mapping

2020-03-05 Thread Gerald Davenport
I realized that after I started fiddling with what you were talking about
and may have messed something up. OOPS.

A restart might help Me that is. Hope you find your answer. BBEdit is
pretty powerful, the reason why I love it!

On Thu, Mar 5, 2020 at 3:05 PM MediaMouth  wrote:

> The solution you're describing actually addresses a different issue.
> Having MacOS open .htaccess in BBEdit can be made to work exactly as you
> describe.
>
> What I was getting at was the language module BBEdit uses for .htaccess
> files once they're open
> Those are customized at *Preferences > Languages > Custom filename
> extension mappings*
> I've got a few extension working there perfectly, but haven't been able to
> do the same for .htaccess
>
> On Mar 5, 2020, at 2:09 PM, Gerald Davenport 
> wrote:
>
> I may be doing it wrong, but I have Onyx displaying my hidden files in the
> finder and then the finder i set up .htaccess files to open with BBEdit.app
> through "get info" in the finder.
>
> double click any .htaccess file and they open in BBEdit.
>
> again, might be doing it wrong, but it works for me.
>
> - gerald
>
>
> https://groups.google.com/d/msgid/bbedit/CAJMCtK3QGnsmhY%3DRW9xVeN4KYG%3DJ0_QCN3Nr%2BOOJWwHKfuEftA%40mail.gmail.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 here. 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/75F00A4D-85FA-42B8-868D-5C7332AD55AB%40gmail.com
> 
> .
>

-- 
 




Reviews on Google My Business 

 
• Give Us Feedback 



Conserve Natural Resources. Reduce, Reuse, Recycle.

-- 
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/CAJMCtK25KcH%3DGNx9YxR93s9umWEagx0FC4oZe4W%2BoMVg2_26bw%40mail.gmail.com.


Re: Shebang Line Woes

2020-03-05 Thread Nestor Aguilera



> On 5 Mar 2020, at 14:43, Paul Gobble  wrote:
> 
> Rich,
> 
> Here's what I get…
> 
> Emonda:bin paul$ python3 --version
> Python 3.7.3

And this is what I get in my system:

$ python3 --version
Python 3.8.2
$ which python3
/usr/local/bin/python3
$ whereis python3
$ 

that is, can't find python3.

There is no file with name starting with python3 in my /usr/bin (but there are 
several in /usr/local/bin). I guess this depends on the macOS version (I am on 
10.14 Mojave).

I installed the python3 version with the pkg in 
https://www.python.org/downloads which puts 
/Library/Frameworks/Python.framework/Versions/3.8/bin at the top of the path, 
but I changed that. Anyway, /usr/local/bin and /usr/bin are at the top om my 
path.

Hope it helps.

Best,

Nestor

#--

> 
> 
> 
> On Thursday, March 5, 2020 at 8:23:07 AM UTC-5, Rich Siegel wrote:
> On 3/4/20 at 11:25 PM, pa...@paulgobble.com (Paul Gobble) wrote: 
> 
> > I try to execute this from the Run menu item in the #! menu and get 
> > 
> > /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
> > or directory 
> 
> /usr/bin/python3 is a stub provided by the OS. What happens if you: 
> 
> python3 --version 
> 
> ? 
> 
> R. 
> -- 
> Rich Siegel Bare Bones Software, Inc. 
>    
> 
> Someday I'll look back on all this and laugh... until they sedate me. 
> 
> 
> -- 
> 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/3e2a4d79-e7c3-456b-bf47-d388d00c7c6d%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 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/CB3C5276-FB25-4F9A-96D3-F0A8DC30852C%40gmail.com.


Re: .htaccess extension mapping

2020-03-05 Thread MediaMouth
The solution you're describing actually addresses a different issue.
Having MacOS open .htaccess in BBEdit can be made to work exactly as you 
describe.

What I was getting at was the language module BBEdit uses for .htaccess files 
once they're open
Those are customized at Preferences > Languages > Custom filename extension 
mappings
I've got a few extension working there perfectly, but haven't been able to do 
the same for .htaccess

> On Mar 5, 2020, at 2:09 PM, Gerald Davenport  wrote:
> 
> I may be doing it wrong, but I have Onyx displaying my hidden files in the 
> finder and then the finder i set up .htaccess files to open with BBEdit.app 
> through "get info" in the finder.
> 
> double click any .htaccess file and they open in BBEdit.
> 
> again, might be doing it wrong, but it works for me.
> 
> - gerald
> 
> https://groups.google.com/d/msgid/bbedit/CAJMCtK3QGnsmhY%3DRW9xVeN4KYG%3DJ0_QCN3Nr%2BOOJWwHKfuEftA%40mail.gmail.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 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/75F00A4D-85FA-42B8-868D-5C7332AD55AB%40gmail.com.


Re: .htaccess extension mapping

2020-03-05 Thread Gerald Davenport
I may be doing it wrong, but I have Onyx displaying my hidden files in the
finder and then the finder i set up .htaccess files to open with BBEdit.app
through "get info" in the finder.

double click any .htaccess file and they open in BBEdit.

again, might be doing it wrong, but it works for me.

- gerald

On Thu, Mar 5, 2020 at 1:55 PM MediaMouth  wrote:

> I was hoping to set BBEdit to open .htaccess files under the custom
> filename extension mapping for Apache Configuration File ( downloaded from
> https://daringfireball.net/projects/apacheconfig/ )
>
> The language module works great, but I haven't been able to get BBEdit to
> recognize the suffix "htacces" at *Preferences > Languages > Custom
> filename extensions mapping*
>
>
> --
> 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: <
> 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/650089DC-A0BB-463D-AC8D-3325C563C46B%40gmail.com
> 
> .
>

-- 
 




Reviews on Google My Business 

 
• Give Us Feedback 



Conserve Natural Resources. Reduce, Reuse, Recycle.

-- 
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/CAJMCtK3QGnsmhY%3DRW9xVeN4KYG%3DJ0_QCN3Nr%2BOOJWwHKfuEftA%40mail.gmail.com.


.htaccess extension mapping

2020-03-05 Thread MediaMouth
I was hoping to set BBEdit to open .htaccess files under the custom filename 
extension mapping for Apache Configuration File ( downloaded from 
https://daringfireball.net/projects/apacheconfig/ 
 )

The language module works great, but I haven't been able to get BBEdit to 
recognize the suffix "htacces" at Preferences > Languages > Custom filename 
extensions mapping


-- 
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/650089DC-A0BB-463D-AC8D-3325C563C46B%40gmail.com.


Re: How to reopen a file from a BBEdit-project in a separate window

2020-03-05 Thread Vlad Ghitulescu

Thanks, Steve - I never expected this option there!


Regards,
Vlad



On 5 Mar 2020, at 20:29, Steve deRosier wrote:


You can also use the context menu in the open documents list below
when you're using a project. The top set is your projects, the list
below is your open documents.  I've  myself wondered, but I've simply
gotten used to the slight weirdness.

Using your own screenshot, right click where I put the arrow.


- Steve

On Thu, Mar 5, 2020 at 11:13 AM Vlad Ghitulescu  
wrote:


Founded: View > Open in Additional Window !
Thanks!

BUT: Why does it missing in the context menu in the project?


Regards,
Vlad



On 5 Mar 2020, at 20:08, Rich Siegel wrote:


On 3/5/20 at 2:03 PM, v...@ghitulescu.de (Vlad Ghitulescu) wrote:


Not here (macOS Mojave 10.14.6, BBEdit version 13.0.5 (413082,
64-bit,
sandboxed)):


Have a look in the menu bar. :-) It's there and it works.

R.
--
Rich Siegel Bare Bones Software, 
Inc.




Someday I'll look back on all this and laugh... until they sedate 
me.


--
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/r480Ps-10146i-CBD3615C29FD4F33A3D51F9FE6C89802%40Stormwind.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 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/F36CD4A2-F5E2-4ED3-955B-A0BC867B325D%40Ghitulescu.de.


--
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/CALLGbRKtdJpyWCuJkGaDApLj%2BU436%3D1B6OjJx%3DAHyU9hjDN8KA%40mail.gmail.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 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/8B422900-2005-449B-8F88-620261D287CE%40Ghitulescu.de.


Re: How to reopen a file from a BBEdit-project in a separate window

2020-03-05 Thread Vlad Ghitulescu

Founded: View > Open in Additional Window !
Thanks!

BUT: Why does it missing in the context menu in the project?


Regards,
Vlad



On 5 Mar 2020, at 20:08, Rich Siegel wrote:


On 3/5/20 at 2:03 PM, v...@ghitulescu.de (Vlad Ghitulescu) wrote:

Not here (macOS Mojave 10.14.6, BBEdit version 13.0.5 (413082, 
64-bit,

sandboxed)):


Have a look in the menu bar. :-) It's there and it works.

R.
--
Rich Siegel Bare Bones Software, Inc.
  



Someday I'll look back on all this and laugh... until they sedate me.

--
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/r480Ps-10146i-CBD3615C29FD4F33A3D51F9FE6C89802%40Stormwind.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 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/F36CD4A2-F5E2-4ED3-955B-A0BC867B325D%40Ghitulescu.de.


Re: How to reopen a file from a BBEdit-project in a separate window

2020-03-05 Thread Rich Siegel

On 3/5/20 at 1:41 PM, v...@ghitulescu.de (Vlad Ghitulescu) wrote:


How can I open a file **from a BBEdit-project** in a separate window?


"Open in Additional Window" is always available for the document 
being displayed, irrespective of how you opened it.


R.
--
Rich Siegel Bare Bones Software, Inc.
  

Someday I'll look back on all this and laugh... until they 
sedate me.


--
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/r480Ps-10146i-97475FC21D834800B7453F1250C2D0C6%40Stormwind.local.


Re: How to jump to the matching bracket

2020-03-05 Thread Vlad Ghitulescu

Keyboard Maestro is not ideal for this.
Searching the matching bracket / paranthesis / etc. to the left works.
To the right…

a) when searching in

background-color: rgb(2, 99, 174);

with the cursor initially between ( and 2, it ends after ;

b) when searching in

.TabbedPanelsContent {
overflow: visible !important;
display: block !important;
clear:both !important;
}

with the cursor initially after {, it ends after important;

and this even when CMD - B and right arrow (that is actually in the 
KBM-macro) put the cursor on the right spot.
I even tried putting a pause between CMD - B and the right arrow in the 
KBM-macro (that’s how clueless I was! :-) but it doesn’t change 
anything.



Regards,
Vlad




On 5 Mar 2020, at 19:16, Vlad Ghitulescu wrote:


Hi, Roland!


Thanks a lot - it's good to know that I didn't miss something obvious 
(like I did with the select word!!! :-/) AND that it can be done with 
Keyboard Maestro.


I suppose that AppleScript would be speedier but - shame on me - I 
didn't make any progress with it… so Keyboard Maestro to the rescue!


Thanks again!


Regards,
Vlad



On 5 Mar 2020, at 19:13, Roland Küffner wrote:


Hi, Vlad

if you could live with two keystrokes, the sequence
cmd+b (for "View > Balance") and
arrow right (resp. left)
can move the insertion point around pretty quick.

Depending on the language you are using the commands "Go > Reveal
Start/End" might also a good solution.

If you find yourself using two keystrokes all the time, there is of 
course
the inevitable option of using Keyboard Maestro to shrink it down to 
one

keystroke of your liking.

It should also be possible to do this with some simple applescript, 
but

Catalina wrecked my quick and helpless attempt to achieve this with
tell application "System Events" to keystroke "B" using command down
tell application "System Events" to key code 124 -- for arrow right

-Roland

On Thu, Mar 5, 2020 at 1:37 AM Vlad Ghitulescu  
wrote:



Hey!

Is there a way to jump to the matching bracket (in the row 76)

and back (to the row 35)?

Thanks!

Regards,
Vlad

--
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: <
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/B6504608-4353-44DE-9945-4EA3D303C8DD%40Ghitulescu.de

.



--
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/CABybPXZ35a3pBfevtSEpph6gjQya9GEOEDNgOw-h6d%2Bmxx6iQQ%40mail.gmail.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 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/BAA3CA8D-6D86-44FE-A11D-CCA739350B01%40Ghitulescu.de.




--
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/332FCDBB-1C20-4094-BAAA-624614835AA9%40Ghitulescu.de.


How to reopen a file from a BBEdit-project in a separate window

2020-03-05 Thread Vlad Ghitulescu

Hello again!


How can I open a file **from a BBEdit-project** in a separate window?

Until now I used split window for this but I keep thinking that I'd like 
to see more context - so two separate windows with the same file open 
would be what I want.


Funny that I can do this wenn NOT in a BBEdit-project: I can always 
choose from the context-menu "*Open in Additional Window*"… but I 
couldn't find this for files within a BBEdit-project.



Regards,
Vlad


--
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/1CF7589B-93AB-41A5-B9E4-1DB0329F4D47%40Ghitulescu.de.


Re: How to choose a color scheme specific to language

2020-03-05 Thread Vlad Ghitulescu

That's another one for the blind men!

Thanks, Roland!



On 5 Mar 2020, at 19:39, Roland Küffner wrote:


here is the map to the hidden treasure:
Preferences > Languages > (add your desired Language in the bottom
"Language-specific settings") > (double click it to edit the settings) 
>

Display > Color scheme

-Roland

On Thu, Mar 5, 2020 at 4:36 AM Vlad Ghitulescu  
wrote:



Hey!


How can I choose a color scheme specific to a language?

Thanks!


Regards,
Vlad


--
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: <
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/13F3A50E-481B-49E0-AE56-2A348429D642%40Ghitulescu.de
.



--
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/CABybPXa82KM-A4eXCZTTYejtdBZ7UTYf06MUemdXsCHgaJ-EiQ%40mail.gmail.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 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/D8982329-4CFE-4F80-81E2-AF5D13BC0786%40Ghitulescu.de.


Re: How to choose a color scheme specific to language

2020-03-05 Thread Roland Küffner
here is the map to the hidden treasure:
Preferences > Languages > (add your desired Language in the bottom
"Language-specific settings") > (double click it to edit the settings) >
Display > Color scheme

-Roland

On Thu, Mar 5, 2020 at 4:36 AM Vlad Ghitulescu  wrote:

> Hey!
>
>
> How can I choose a color scheme specific to a language?
>
> Thanks!
>
>
> Regards,
> Vlad
>
>
> --
> 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: <
> 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/13F3A50E-481B-49E0-AE56-2A348429D642%40Ghitulescu.de
> .
>

-- 
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/CABybPXa82KM-A4eXCZTTYejtdBZ7UTYf06MUemdXsCHgaJ-EiQ%40mail.gmail.com.


Re: How to jump to the matching bracket

2020-03-05 Thread Vlad Ghitulescu

Hi, Roland!


Thanks a lot - it's good to know that I didn't miss something obvious 
(like I did with the select word!!! :-/) AND that it can be done with 
Keyboard Maestro.


I suppose that AppleScript would be speedier but - shame on me - I 
didn't make any progress with it… so Keyboard Maestro to the rescue!


Thanks again!


Regards,
Vlad



On 5 Mar 2020, at 19:13, Roland Küffner wrote:


Hi, Vlad

if you could live with two keystrokes, the sequence
cmd+b (for "View > Balance") and
arrow right (resp. left)
can move the insertion point around pretty quick.

Depending on the language you are using the commands "Go > Reveal
Start/End" might also a good solution.

If you find yourself using two keystrokes all the time, there is of 
course
the inevitable option of using Keyboard Maestro to shrink it down to 
one

keystroke of your liking.

It should also be possible to do this with some simple applescript, 
but

Catalina wrecked my quick and helpless attempt to achieve this with
tell application "System Events" to keystroke "B" using command down
tell application "System Events" to key code 124 -- for arrow right

-Roland

On Thu, Mar 5, 2020 at 1:37 AM Vlad Ghitulescu  
wrote:



Hey!

Is there a way to jump to the matching bracket (in the row 76)

and back (to the row 35)?

Thanks!

Regards,
Vlad

--
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: <
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/B6504608-4353-44DE-9945-4EA3D303C8DD%40Ghitulescu.de

.



--
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/CABybPXZ35a3pBfevtSEpph6gjQya9GEOEDNgOw-h6d%2Bmxx6iQQ%40mail.gmail.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 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/BAA3CA8D-6D86-44FE-A11D-CCA739350B01%40Ghitulescu.de.


Re: Shebang Line Woes

2020-03-05 Thread Paul Gobble
Rich,

Here's what I get…

Emonda:bin paul$ python3 --version
Python 3.7.3



On Thursday, March 5, 2020 at 8:23:07 AM UTC-5, Rich Siegel wrote:
>
> On 3/4/20 at 11:25 PM, pa...@paulgobble.com  (Paul Gobble) 
> wrote: 
>
> > I try to execute this from the Run menu item in the #! menu and get 
> > 
> > /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such 
> file 
> > or directory 
>
> /usr/bin/python3 is a stub provided by the OS. What happens if you: 
>
> python3 --version 
>
> ? 
>
> R. 
> -- 
> Rich Siegel Bare Bones Software, Inc. 
> >  <
> https://www.barebones.com/> 
>
> Someday I'll look back on all this and laugh... until they sedate me. 
>
>

-- 
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/3e2a4d79-e7c3-456b-bf47-d388d00c7c6d%40googlegroups.com.


Re: Python3 Shebang Woes

2020-03-05 Thread Paul Gobble
LinuxDan

The line of code you suggested is exactly the line I've been using, and I 
get 

#!/usr/bin/python3: No such file or directory

But in the shell I'll set that it is there

Emonda:bin paul$ whereis python3
/usr/bin/python3

I'm stumped.

On Thursday, March 5, 2020 at 8:20:24 AM UTC-5, LinuxDan wrote:
>
> Try
>
> #!/usr/bin/python3
>
>
> Dan White | d_e_...@icloud.com 
> 
> “Sometimes I think the surest sign that intelligent life exists elsewhere 
> in the universe is that none of it has tried to contact us.”  (Bill 
> Waterson: Calvin & Hobbes)
>
> On March 5, 2020 at 7:06 AM, Paul Gobble  > wrote:
>
> I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to 
> learn a bit of Python3.  
>
> #!/usr/bin/env python3
> print('Hello World')
>
> Baby steps.
>
> I try to execute this from the Run menu item in the #! menu and get
>
> /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such 
> file or directory
>
> Then I try to use the direct path in the shebang line
>
> #!/usr/bin/python3
> print('Hello World')
>
> and get a very similar response
>
> /Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
> file or directory
>
> So I go investigate in the Terminal app and look around.
>
> Emonda:bin paul$ pwd
>
> /usr/local/bin
>
> Emonda:bin paul$ whereis python3
>
> /usr/bin/python3
>
> Emonda:bin paul$ whereis env
>
> /usr/bin/env
>
> Emonda:bin paul$ 
>
> Both env and python3 are right where I said they were in the shebang line, 
> but interpreter can't find them!  
>
> Can anyone help me out here?  What am I missing?
>
> Thanks,
> Paul
>
>
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "sup...@barebones.com 
> " rather than posting here. 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 bbe...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/733447e6-cbe5-4b02-bb82-bd26d026e1bd%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 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/3609b0ba-928b-46f9-ba17-91b1763e403b%40googlegroups.com.


Re: Saving a search pattern in Pattern Playground

2020-03-05 Thread Fletcher Sandbeck
The "g" menu at the top allows you to save and recall search patterns.

[fletcher]


> On Mar 4, 2020, at 5:25 PM, Howard  wrote:
> 
> How can I save a search pattern in Pattern Playground?
> 
> -- 
> 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/f9bebb1a-dce1-44ca-b430-a4327ae72ac7%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 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/1B8C1BF8-1013-48CC-98CF-A677081DDBDD%40cumuli.com.


Re: how to select a word

2020-03-05 Thread Vlad Ghitulescu




On 5 Mar 2020, at 15:22, Jean-Christophe Helary wrote:


On Mar 5, 2020, at 22:55, Vlad Ghitulescu  wrote:

On 5 Mar 2020, at 14:53, Jean-Christophe Helary wrote:

On Mar 5, 2020, at 20:05, Vlad Ghitulescu  
wrote:


Hey!

Is there a keyboard shortcut to select the word where the cursor is 
in?


You can set a shortcut to Edit > Select > Word in Preferences > 
Menus and Shortcuts


There it is!

Thanks Jean-Christophe!


It is actually hard to know all the possible functions,


That's me all the time! :-)


so what I do to discover them is hit Shift+Command+/ to enter the Help 
field and then type strings that are related to the function I'm 
looking for.


Yes, it's actually right under my nose :-/


In this case I entered Select and found the Select > Word item in the 
Edit menu. I checked that it was the tool that you requested and then 
checked that it was available as a shortcut setable function in 
Preferences.


Yes, I checked this as you suggest and it's there… but then again, 
there are some things that I couldn't find, like my other 3 questions 
from today (How to jump to the matching bracket, How to choose a color 
scheme to a specific language and Hot to jump to a CSS-class from the 
HTML-file).


Thanks again!



Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune



Regards,
Vlad






--
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/84CCD8D7-27EE-466C-BCEF-827F93343FB1%40traduction-libre.org.


--
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/E37041C7-0772-44C3-BBF4-4D5DCBCE5139%40Ghitulescu.de.


Re: how to select a word

2020-03-05 Thread Jean-Christophe Helary



> On Mar 5, 2020, at 22:55, Vlad Ghitulescu  wrote:
> 
> On 5 Mar 2020, at 14:53, Jean-Christophe Helary wrote:
> 
>>> On Mar 5, 2020, at 20:05, Vlad Ghitulescu  wrote:
>>> 
>>> Hey!
>>> 
>>> Is there a keyboard shortcut to select the word where the cursor is in?
>> 
>> You can set a shortcut to Edit > Select > Word in Preferences > Menus and 
>> Shortcuts
> 
> There it is!
> 
> Thanks Jean-Christophe!

It is actually hard to know all the possible functions, so what I do to 
discover them is hit Shift+Command+/ to enter the Help field and then type 
strings that are related to the function I'm looking for.

In this case I entered Select and found the Select > Word item in the Edit 
menu. I checked that it was the tool that you requested and then checked that 
it was available as a shortcut setable function in Preferences.

Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune


-- 
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/84CCD8D7-27EE-466C-BCEF-827F93343FB1%40traduction-libre.org.


Re: how to select a word

2020-03-05 Thread Vlad Ghitulescu




On 5 Mar 2020, at 14:53, Jean-Christophe Helary wrote:


On Mar 5, 2020, at 20:05, Vlad Ghitulescu  wrote:

Hey!

Is there a keyboard shortcut to select the word where the cursor is 
in?


You can set a shortcut to Edit > Select > Word in Preferences > Menus 
and Shortcuts


There it is!

Thanks Jean-Christophe!

--
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/9B7B3007-2D06-4058-A237-5BDF0EBF14AF%40Ghitulescu.de.


Re: how to select a word

2020-03-05 Thread Jean-Christophe Helary



> On Mar 5, 2020, at 20:05, Vlad Ghitulescu  wrote:
> 
> Hey!
> 
> Is there a keyboard shortcut to select the word where the cursor is in?

You can set a shortcut to Edit > Select > Word in Preferences > Menus and 
Shortcuts


Jean-Christophe Helary
---
http://mac4translators.blogspot.com @brandelune


-- 
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/1C46BFEA-3D59-4971-A360-74A1678892F4%40traduction-libre.org.


Re: Shebang Line Woes

2020-03-05 Thread Rich Siegel
On 3/4/20 at 11:25 PM, p...@paulgobble.com (Paul Gobble) wrote:

> I try to execute this from the Run menu item in the #! menu and get
> 
> /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
> or directory

/usr/bin/python3 is a stub provided by the OS. What happens if you:

python3 --version

?

R.
-- 
Rich Siegel Bare Bones Software, Inc.
  

Someday I'll look back on all this and laugh... until they sedate me.

-- 
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/r480Ps-10146i-B14FA89EE877454CA103B8FB312E00F6%40Stormwind.local.


Re: Python3 Shebang Woes

2020-03-05 Thread 'Dan White' via BBEdit Talk

Try

#!/usr/bin/python3

Dan White | d_e_wh...@icloud.com

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)

On March 5, 2020 at 7:06 AM, Paul Gobble  wrote:

I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to learn a 
bit of Python3.  

#!/usr/bin/env python3
print('Hello World')

Baby steps.

I try to execute this from the Run menu item in the #! menu and get

/Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file or 
directory

Then I try to use the direct path in the shebang line

#!/usr/bin/python3
print('Hello World')

and get a very similar response

/Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such file 
or directory

So I go investigate in the Terminal app and look around.

Emonda:bin paul$ pwd
/usr/local/bin
Emonda:bin paul$ whereis python3
/usr/bin/python3
Emonda:bin paul$ whereis env
/usr/bin/env
Emonda:bin paul$ 

Both env and python3 are right where I said they were in the shebang line, but interpreter can't find them! 


Can anyone help me out here?  What am I missing?

Thanks,
Paul

--
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/733447e6-cbe5-4b02-bb82-bd26d026e1bd%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 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/c7c215c3-8a74-4dd0-b546-7d724e9638a8%40me.com.


how to select a word

2020-03-05 Thread Vlad Ghitulescu

Hey!


Is there a keyboard shortcut to select the word where the cursor is in?

I know I could do

- ALT - left arrow: to move the cursor at the beginning of the word and 
then

- ALT - Shift - right arrow: to select the whole word

and I could even assign those two to a keyboard shortcut via Keyboard 
Maestro… but I imagine BBEdit has already something like this, right?


Thanks!


Regards,
Vlad


--
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/BC471878-CE07-457D-8C84-F18C56F55D16%40Ghitulescu.de.


Shebang Line Woes

2020-03-05 Thread Paul Gobble
I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to learn 
a bit of Python3.  

#!/usr/bin/env python3
print('Hello World')

Baby steps.

I try to execute this from the Run menu item in the #! menu and get

/Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
or directory

Then I try to use the direct path in the shebang line

#!/usr/bin/python3
print('Hello World')

and get a very similar response

/Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
file or directory

So I go investigate in the Terminal app and look around.

Emonda:bin paul$ pwd

/usr/local/bin

Emonda:bin paul$ whereis python3

/usr/bin/python3

Emonda:bin paul$ whereis env

/usr/bin/env

Emonda:bin paul$ 

Both env and python3 are right where I said they were in the shebang line, 
but interpreter can't find them!  

Can anyone help me out here?  What am I missing?

Thanks,
Paul

-- 
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/e1aaa223-81f1-4c3d-96e6-dd0872e7d420%40googlegroups.com.


Python3 Shebang Woes

2020-03-05 Thread Paul Gobble
I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to learn 
a bit of Python3.  

#!/usr/bin/env python3
print('Hello World')

Baby steps.

I try to execute this from the Run menu item in the #! menu and get

/Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
or directory

Then I try to use the direct path in the shebang line

#!/usr/bin/python3
print('Hello World')

and get a very similar response

/Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
file or directory

So I go investigate in the Terminal app and look around.

Emonda:bin paul$ pwd

/usr/local/bin

Emonda:bin paul$ whereis python3

/usr/bin/python3

Emonda:bin paul$ whereis env

/usr/bin/env

Emonda:bin paul$ 

Both env and python3 are right where I said they were in the shebang line, 
but interpreter can't find them!  

Can anyone help me out here?  What am I missing?

Thanks,
Paul

-- 
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/733447e6-cbe5-4b02-bb82-bd26d026e1bd%40googlegroups.com.