Re: Grateful for BBEdit

2024-06-12 Thread James Reynolds
I'm jumping on the bandwagon. Several years ago I tried to switch to Linux but 
couldn't because I couldn't live without... BBEdit. And I'm pretty sure I only 
use a fraction of the features. I've just figured out how to use some unique 
features in unusual ways that make me hyper productive (IMO anyway).

James Reynolds
https://magnusviri.com

-- 
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: 
<https://mastodon.social/@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/6542F3C5-B10F-4D24-8D94-D325367DACDE%40gmail.com.


Re: Jupyter Notebooks

2024-05-17 Thread James Reynolds
I should clarify, the reason why I am hoping for Jupyter notebook support is 
because these ipynb files are only editable by opening JupyterLab. Even VSCode 
requires JupyterLab to be running I think. It's kind of a pain.

James Reynolds
https://magnusviri.com

> On May 16, 2024, at 11:33, Johnny Ragadoo  wrote:
> 
> BBEdit plus Affinity Publisher is a pleasant combination. I have a word 
> processor of magically intense capability (Mellel). If I lost Mellel, my 
> second choice "word processor" would be BBEdit for composition, Affinity 
> Publisher for output.
> 
> I'm not a Word fan.
> 
> For more BBEdit love, Mellel documents are zip archives and based on XML, 
> much like docx. BBEdit will directly open and modify them in place. Nice 
> future proofing, courtesy BBEdit.
> 
> On Thursday, May 16, 2024 at 2:47:39 AM UTC-5 Rob Russell wrote:
> On Thursday 16 May 2024 at 07:49:12 UTC+12 James Reynolds wrote:
> I use the Notes feature of BBEdit and I'm grateful for it so that I don't 
> have dozens of Untitled Text documents all over.
> 
> OMG!!!  How did I miss that feature? I usually have 2-3 dozen untitled 
> documents holding snippets (which, I might add, BBEdit never loses). Nice way 
> to organise them!
> 
> Rob
> 
> -- 
> 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: 
> <https://mastodon.social/@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/2a4b7299-2e86-4396-ab9c-901c216f0841n%40googlegroups.com.

-- 
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: 
<https://mastodon.social/@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/22D1DB54-0493-4133-9FEF-755486FD9A40%40gmail.com.


Re: [ANN] BBEdit 15.1

2024-05-16 Thread James Reynolds
> * AI chat worksheets gain support for Claude and Ollama;

Yay!

James Reynolds
https://magnusviri.com


-- 
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: 
<https://mastodon.social/@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/3FF9B790-C830-4322-8A98-A74FAC880789%40gmail.com.


Re: Jupyter Notebooks

2024-05-15 Thread James Reynolds
I use the Notes feature of BBEdit and I'm grateful for it so that I don't have 
dozens of Untitled Text documents all over. But the Python Notebook format is a 
JSON file with a list of "cells". Each cell can be code or markdown. You can 
run the code in the editor by just pressing modkey+return. The results are 
shown directly below the cell.

https://www.youtube.com/watch?v=c3I3SNOA-dQ

Jupyter Notebooks are used heavily by the AI community. I don't know the 
history so I could totally be wrong about this, but I *think* this happened 
because AI educators (at universities) used Jupyter Notebooks to teach because 
you could mix the markdown that explains the code with the actual code and the 
ability to run it, so the instructors didn't need to make slides, the just made 
Notebooks. You can also run Jupyter Notebooks on the cloud easily and so I know 
Google Colab uses Jupyter Notebooks.

Mixing Markdown/HTML cells with code would probably require a lot of changes in 
BBEdit, which is why I am 99% sure the answer to my question would be no.

James Reynolds
https://magnusviri.com

> On May 15, 2024, at 07:32, Johnny Ragadoo  wrote:
> 
> Have you seen BBEdit's Notebook format? It's like Scrivener for plain text. 
> When I write for Affinity Publisher, I often use a BBEdit notebook for my 
> copy editor. That's "copy" as in what people used to call what they wrote for 
> publication in newspapers and magazines.
> 
> On Sunday, May 12, 2024 at 12:44:30 AM UTC-5 James Reynolds wrote:
> I hate to say this because I'm 99% sure what the answer will be. It would be 
> awesome if BBEdit could support python notebooks. The only reason I even 
> thought of it was because it looks like VSCode supports it. I absolutely 
> can't stand using VSCode though. 
> https://code.visualstudio.com/docs/datascience/jupyter-notebooks 
> 
> I can't stand the "once a web browser, now a text editor" turn the industry 
> took. Web browser editor fields suck. Now that I think about it, the fact 
> that Jupyter was written for web browsers is probably why VSCode supports it. 
> 
> James Reynolds 
> magnusviri.com 
> 
> 
> -- 
> 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: 
> <https://mastodon.social/@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/c4bfa0c0-4cec-4e06-9fc6-075ad1ffa8c2n%40googlegroups.com.

-- 
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: 
<https://mastodon.social/@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/733C927D-37B6-4393-83E9-B8E7C11B796B%40gmail.com.


Jupyter Notebooks

2024-05-11 Thread James Reynolds
I hate to say this because I'm 99% sure what the answer will be. It would be 
awesome if BBEdit could support python notebooks. The only reason I even 
thought of it was because it looks like VSCode supports it. I absolutely can't 
stand using VSCode though. 
https://code.visualstudio.com/docs/datascience/jupyter-notebooks

I can't stand the "once a web browser, now a text editor" turn the industry 
took. Web browser editor fields suck. Now that I think about it, the fact that 
Jupyter was written for web browsers is probably why VSCode supports it.

James Reynolds
magnusviri.com

-- 
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: 
<https://mastodon.social/@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/23F2933E-6C09-4F43-8866-0DBECD6066B9%40gmail.com.


Re: How to visualise/ preview a PHP homepage in BBEdit?

2024-03-11 Thread James Reynolds
Omar,
If you are accessing your php file using Safari and http://127.0.0.1:8000/, 
that means you are running a web server. Your web server will have a DOCROOT or 
DocumentRoot directory. This directory maps It is probably 
/Users/okn/phpfolder/. If /Users/okn/phpfolder/ is your DOCROOT, then 
http://127.0.0.1:8000/ will look for /Users/okn/phpfolder/index.html (or 
index.php). Because /Users/okn/SitesMacHD isn't in your DOCROOT, your web 
server wont show it. This is to prevent people from looking at things like your 
private files. You'd have to put rrue_e.php inside of your DOCROOT.

James Reynolds

> On Mar 11, 2024, at 14:24, Omar KN  wrote:
> 
> Some success!
> (from a good tutorial!)
> 
> 1.
> 
> Safari reads the php file which is in:
> 
> /Users/okn/phpfolder/tj.php
> 
> http://127.0.0.1:8000/tj.php
> 
> 
> 2.
> However:
> 
> /Users/okn/SitesMacHD/liv/chu/e/rrue_e.php
> 
> http://127.0.0.1:8000/
> 
> 
> http://127.0.0.1:8000/Users/okn/SitesMacHD/liv/chu/e/rrue_e.php
> 
> 
> The requested resource /Users/okn/SitesMacHD/liv/chu/e/rrue_e.php was not 
> found on this server.
> 
> 
> And this is the correct path!
> 
> 
> Any idea what’s going on here?
> 
> /okn
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> 
> >I hope I'm not coming across as rude now.
> 
> Not at all :-)
> 
> > walk you through the steps
> 
> My assumption was that I’ve almost arrived at the goal.
> 
> > Make use of the many good tutorials available on youtube.
> 
> Yes.
> 
> 
> 
>> On 11 Mar 2024, at 17:09, James Reynolds  wrote:
>> 
>> Omar,
>> It isn't that your question is difficult to answer. I was a music student 
>> decades ago and I asked a somewhat famous (in my neck of the woods) organist 
>> if she could give me organ lessons. I wasn't a pianist. She told me to learn 
>> piano first and then ask her for lessons. I was pretty put off by it because 
>> she came off as pretty rude but I understand why she did it. I hope I'm not 
>> coming across as rude now.
>> 
>> Someone on this list might have the time to walk you through the steps but I 
>> don't. I also didn't want to just leave you hanging so I wanted to say 
>> something in case nobody responds. I think if you go watch some tutorials 
>> and read some webpages and you still can't figure it out, I'm pretty sure 
>> many people, including myself, would be happy to help you out. 
>> 
>> Here's a little help. The '>>' in `(echo; echo 'eval 
>> "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/okn/.zprofile` will create 
>> /Users/okn/.zprofile. View the file by typing `cat /Users/okn/.zprofile` and 
>> make sure `eval "$(/opt/homebrew/bin/brew shellenv)"` is at the end of the 
>> file. Then open a new Terminal window and php should be in your PATH.
>> 
>> Again, I'd go watch some videos and read as much as you can until everything 
>> I just said makes sense to you.
>> 
>> James Reynolds
>> 
>>> On Mar 11, 2024, at 09:37, Omar KN  wrote:
>>> 
>>> Yes, I remember I could not separate for this step to make it 2 commands, 
>>> if you could do it:
>>> 
>>> ==> Next steps:
>>> - Run these two commands in your terminal to add Homebrew to your PATH:
>>>(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> 
>>> /Users/okn/.zprofile
>>>    eval "$(/opt/homebrew/bin/brew shellenv)"
>>> 
>>> One commad would probably be:
>>> 
>>> echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"'
>>> 
>>> but the second?
>>> 
>>> eval "$(/opt/homebrew/bin/brew shellenv)”
>>> 
>>> Should I create /Users/okn/.zprofile first?
>>> 
>>> 
>>> If this is too difficult to answer, there is still YouTube …
>>> 
>>> /
>>> with best regards,
>>> Omar KN, Stockholm, Sweden
>>> 
>>> 
>>>> On 11 Mar 2024, at 16:27, James Reynolds  
>>>> wrote:
>>>> 
>>>> You probably don't have brew's install path in your terminal path. If you 
>>>> have no idea what this means you probably need to learn a bit more about 
>>>> developing with the Terminal. Just search YouTube for "macos terminal 
>>>> tutorial" and "getting started with php macos". There's tons of webpages 
>>>> on this too.
>>>> 
>>>> James Reynolds
>>>> 
>>>>> On Mar 11, 2024, at 02:15, Omar 

Re: How to visualise/ preview a PHP homepage in BBEdit?

2024-03-11 Thread James Reynolds
Omar,
It isn't that your question is difficult to answer. I was a music student 
decades ago and I asked a somewhat famous (in my neck of the woods) organist if 
she could give me organ lessons. I wasn't a pianist. She told me to learn piano 
first and then ask her for lessons. I was pretty put off by it because she came 
off as pretty rude but I understand why she did it. I hope I'm not coming 
across as rude now.

Someone on this list might have the time to walk you through the steps but I 
don't. I also didn't want to just leave you hanging so I wanted to say 
something in case nobody responds. I think if you go watch some tutorials and 
read some webpages and you still can't figure it out, I'm pretty sure many 
people, including myself, would be happy to help you out. 

Here's a little help. The '>>' in `(echo; echo 'eval "$(/opt/homebrew/bin/brew 
shellenv)"') >> /Users/okn/.zprofile` will create /Users/okn/.zprofile. View 
the file by typing `cat /Users/okn/.zprofile` and make sure `eval 
"$(/opt/homebrew/bin/brew shellenv)"` is at the end of the file. Then open a 
new Terminal window and php should be in your PATH.

Again, I'd go watch some videos and read as much as you can until everything I 
just said makes sense to you.

James Reynolds

> On Mar 11, 2024, at 09:37, Omar KN  wrote:
> 
> Yes, I remember I could not separate for this step to make it 2 commands, if 
> you could do it:
> 
> ==> Next steps:
> - Run these two commands in your terminal to add Homebrew to your PATH:
> (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> 
> /Users/okn/.zprofile
> eval "$(/opt/homebrew/bin/brew shellenv)"
> 
> One commad would probably be:
> 
> echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"'
> 
> but the second?
> 
> eval "$(/opt/homebrew/bin/brew shellenv)”
> 
> Should I create /Users/okn/.zprofile first?
> 
> 
> If this is too difficult to answer, there is still YouTube …
> 
> /
> with best regards,
> Omar KN, Stockholm, Sweden
> 
> 
>> On 11 Mar 2024, at 16:27, James Reynolds  wrote:
>> 
>> You probably don't have brew's install path in your terminal path. If you 
>> have no idea what this means you probably need to learn a bit more about 
>> developing with the Terminal. Just search YouTube for "macos terminal 
>> tutorial" and "getting started with php macos". There's tons of webpages on 
>> this too.
>> 
>> James Reynolds
>> 
>>> On Mar 11, 2024, at 02:15, Omar KN  wrote:
>>> 
>>> The sole purpose for having php is to be able to view the BBEdit preview in 
>>> the browser.
>>> 
>>> Although I installed php, the command is not found, so something is missing.
>>> 
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>> php -S localhost:8080 & ; open -a Safari.app localhost:8080
>>> [1] 19195
>>> zsh: command not found: php
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>> 
>>> What could be missing here?
>>> 
>>> /
>>> with best regards,
>>> Omar KN, Stockholm, Sweden
>>> On Monday 11 March 2024 at 02:16:33 UTC+1 Darren Duncan wrote:
>>> PHP 8.3 is the latest version and has a lot more features and a longer 
>>> support 
>>> window of 3 years, versus less than 1 year remaining for 8.1; why use 8.1? 
>>> 
>>> Also, if you desire to have a web page, do you want vanilla PHP or do you 
>>> want 
>>> an actual application framework? If you use Laravel for example, it takes 
>>> care 
>>> of a lot of stuff for you. 
>>> 
>>> -- Darren Duncan 
>>> 
>>> On 2024-03-10 10:04 a.m., Omar KN wrote: 
>>>> Today I installed and “Successfully started `php@8.1` (label: 
>>>> homebrew.mxcl.php@8.1)” 
>>>> 
>>>> What is the next step to preview a PHP page in Safari? 
>>>> 
>>>> On Sunday 10 March 2024 at 15:35:41 UTC+1 Omar KN wrote: 
>>>> 
>>>> This topic has been mentioned before, but I was looking for a not too 
>>>> difficult solution. 
>>>> 
>>>> Has the come any news about this issue? 
>>>> 
>>>> / 
>>>> with best regards, 
>>>> Omar KN, Stockholm, Sweden 
>>> 
>>> 
>>> -- 
>>> 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: 
>>>

Re: Is there an AI coding extension / plugin for BBEdit?

2024-03-11 Thread James Reynolds
Greg,
AFAIK, OpenAI is the only vendor BBEdit works with at the moment unless you 
want to run a local AI model. I'm hoping Bare Bones will add the ability to 
specify a custom URL for the AI API.

This is how you run a local AI model with a shell worksheet (assuming you've 
got it installed already).

llama.cpp -m /Users/james/Downloads/dolphin-2.6-mistral-7b-dpo-laser.Q6_K.gguf 
-i --interactive-first 

 (skipped lots of output)

Hello Llama. <- my prompt

v--- The AI's reply...

I'm going to tell you a story about a magical llama that could transform into a 
superhero named "Llamanator." The story is set in the mystical land of 
Llamaville, where all the animals lived happily together and shared their gifts 
with each other.

One day, as the sun began to set over Llamaville, an evil sorcerer named 
Wraiththorn arrived with his army of monstrous creatures. He had come to steal 
the magic jewels that protected the village from harm.

...

James Reynolds

> On Mar 11, 2024, at 09:00, Greg Raven  wrote:
> 
> I'm familiar with the ChatGPT Worksheet, but that seems to require a paid 
> subscription. There are other AI helpers that are currently free -- or at 
> least have a free level -- that would be nice to able to incorporate instead 
> of ChatGPT.
> 
> On Wednesday, March 6, 2024 at 11:26:21 AM UTC-8 Rails Smith wrote:
> Hi Greg!
> I like your question. 
> There's a new document type, "ChatGPT Worksheet". This is created from File 
> => New as with other document types, and provides an interface for 
> conversational exchanges with ChatGPT.
> https://www.barebones.com/support/bbedit/notes-15.0.html
> 
> HTH!
> 
> On Tue, Mar 5, 2024 at 7:08 PM Greg Raven  wrote:
> Codeium, Cody, and Claude each look interesting, and some of them brag about 
> how many coding environments can use them. I have yet to see BBEdit on their 
> lists.
> 
> Has anyone gotten any of the AI coding assistants to work inside of BBEdit?
> 
> -- 
> 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 bbedit+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/a6166c66-deff-489d-8442-01cfb674888bn%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: 
> <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/318a9f61-606c-405d-9e19-855ed360bcb2n%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: <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/0637A8BA-D515-4B0D-BB02-440BA376B5B9%40gmail.com.


Re: How to visualise/ preview a PHP homepage in BBEdit?

2024-03-11 Thread James Reynolds
You probably don't have brew's install path in your terminal path. If you have 
no idea what this means you probably need to learn a bit more about developing 
with the Terminal. Just search YouTube for "macos terminal tutorial" and 
"getting started with php macos". There's tons of webpages on this too.

James Reynolds

> On Mar 11, 2024, at 02:15, Omar KN  wrote:
> 
> The sole purpose for having php is to be able to view the BBEdit preview in 
> the browser.
> 
> Although I installed php, the command is not found, so something is missing.
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> php -S localhost:8080 & ; open -a Safari.app localhost:8080
> [1] 19195
> zsh: command not found: php
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> What could be missing here?
> 
> /
> with best regards,
> Omar KN, Stockholm, Sweden
> On Monday 11 March 2024 at 02:16:33 UTC+1 Darren Duncan wrote:
> PHP 8.3 is the latest version and has a lot more features and a longer 
> support 
> window of 3 years, versus less than 1 year remaining for 8.1; why use 8.1? 
> 
> Also, if you desire to have a web page, do you want vanilla PHP or do you 
> want 
> an actual application framework? If you use Laravel for example, it takes 
> care 
> of a lot of stuff for you. 
> 
> -- Darren Duncan 
> 
> On 2024-03-10 10:04 a.m., Omar KN wrote: 
> > Today I installed and “Successfully started `php@8.1` (label: 
> > homebrew.mxcl.php@8.1)” 
> > 
> > What is the next step to preview a PHP page in Safari? 
> > 
> > On Sunday 10 March 2024 at 15:35:41 UTC+1 Omar KN wrote: 
> > 
> > This topic has been mentioned before, but I was looking for a not too 
> > difficult solution. 
> > 
> > Has the come any news about this issue? 
> > 
> > / 
> > with best regards, 
> > Omar KN, Stockholm, Sweden 
> 
> 
> -- 
> 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/04292cb9-b1ba-4420-a33a-0ddbc9a287aan%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: <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/9C097133-54B2-4AF1-AF59-8477D822F025%40gmail.com.


Re: Most BBEdit-like Terminal Editor ??

2024-02-28 Thread James Reynolds
I forgot one, TextAdept also has a terminal version. 
https://orbitalquark.github.io/textadept/. IMO micro is much better though.

James Reynolds
https://magnusviri.com


> On Feb 28, 2024, at 14:33, Rick Gordon  wrote:
> 
> Thanks all! I think micro looks like the best one I've found. I appreciate 
> your insights.
> Rick Gordon
> 
> -- 
> 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/cdba45d4-86bc-4360-8653-08bff10644c3n%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: <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/48CC514B-D94B-4B09-9E67-FD5443B5890E%40gmail.com.


Re: Most BBEdit-like Terminal Editor ??

2024-02-27 Thread James Reynolds
Micro is a modern terminal-based text editor. Uses mouse and all the other 
normal keyboard shortcuts for save, copy, paste, etc., except it uses the ctrl 
key instead of cmd. It supports split screen, terminal emulator, syntax 
coloring, multiple cursors, Lua plugins, etc. It's a single binary to download.

https://micro-editor.github.io/

James Reynolds
magnusviri.com

> On Feb 27, 2024, at 08:01, Benjamin Irwin  wrote:
> 
> pico is packaged with the Mac operating system.  I grew up with vi but moved 
> quickly to pico when it became available.  It has a much easier and natural 
> user interface.
> 
> On Tuesday, February 27, 2024 at 9:57:39 AM UTC-5 Peter Kaufman wrote:
> I'm dating myself... but I'm surprised the response wasn't an editor packaged 
> into darwin/*nix - ex and vi.
> 
> Peter
> 
> 
> On Tue, Feb 27, 2024 at 8:54 AM Benjamin Irwin  wrote:
> Rick,
> The linux nano editor and Mac pico editor are basically the same editor for 
> the terminal.  I find them to be the easiest terminal based editors.
> 
> Most of the functionality is shown in two rows at the bottom of the screen.  
> With a "Get Help" for additional information.
> 
> Thanks,
> Ben
> 
> On Tuesday, February 27, 2024 at 3:49:29 AM UTC-5 Rick Gordon wrote:
> What Terminal editor is the most similar in interface to BBEdit (i.e., the 
> easiest TUI editor for a person who is most comfortable with BBEdit), which I 
> might install on a remote machine where it may sometimes require text editing 
> within the Terminal?
> 
> -- 
> 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 bbedit+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/95b017f8-5359-4413-8b59-9e9ed8c85733n%40googlegroups.com.
> 
> 
> -- 
> -
> Peter Kaufman pkau...@gmail.com
> United States of America
> -
> 
> -- 
> 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/5ded8fd4-f669-40a6-ba9d-02b180f5b780n%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: <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/C2DE37F3-DD3C-4C1C-B8BA-827FF8432B05%40gmail.com.


Re: BBEdit Environment for html

2024-01-24 Thread James Reynolds
I've used Docker and containers. It can be a pain and probably not worth it if 
you don't understand Docker well.

The guy who made Homebrew has made another package manager that fixes a lot of 
Homebrew's problems: https://pkgx.sh. For example, pkgx is really easy to 
uninstall, you just `rm -r` it's directory. It's all self contained. I haven't 
tried the pkgx version of php but it should work and if it doesn't they'll fix 
it if you submit an issue. And they're pretty responsive, sometimes fixing 
things within an hour.

James Reynolds

> On Jan 24, 2024, at 14:21, Kerri Hicks  wrote:
> 
> I have moved to using Local, by WP Engine. It's free, and it basically 
> creates a containerized LAMP/LNMP architecture (which contains a WordPress 
> installation). It lets you build/update with whatever version of 
> PHP/Apache/Ngnx you want, and update them with just a click. 
> 
> If you're not using WordPress, you can edit your .htaccess file to ignore all 
> the WordPress stuff, and just create files and folders.
> 
> --Kerri
> 
> On Wed, Jan 24, 2024 at 3:40 PM Bucky Junior  wrote:
> I have BBEdit open ALL the time. I use it mostly to write web pages using a 
> combination of HTML, mySQL, PHP, and apache to write and test my work before 
> uploading it into the wild.
> 
> I've run into a problem I've been unable to surmount. Apple no longer 
> supports PHP. In Ventura, I was able to internally codesign PHP so that I 
> could use it on my machine. With Somoma, I've codesigned PHP but run into a 
> barrier of some PHP component that's not signed and so apache fails.
> 
> What are other developers, more capable than I are doing with BBEdit, apache, 
> and PHP. I've considered the homebrew version of apache but am hesitant to 
> make the plunge.
> 
> 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 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/C5D624C8-D494-4CA1-9028-9D5AFE6C8E93%40gmail.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/CAEmA4uZRBJ1%2Bv0EzOjhgL6Y4LT7ETSytOJHR%3DM3gFXMEPJ%3DzjQ%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/90C236B2-AA3E-4451-8A3F-FCFBC20E72E4%40gmail.com.


Re: ChatGPT worksheet contexts

2024-01-16 Thread James Reynolds
>> Which also makes me think that if you're going to support local AI models 
>> you might want to have more preferences than just the url to the API. You 
>> might want to run them from a cli tool like llama.cpp or ollama, which would 
>> mean you'd need to be able to change the cli flags passed to the tools. This 
>> is probably a good reason to not support local AI models or anything via cli 
>> since it just means bloat and losing focus.
> 
> At that point I think you could usefully employ a Shell Worksheet. :-)

Wow. I made a big long email saying that Shell Worksheets weren't interactive, 
and then I thought, what if I pressed control-return when it was waiting for 
user input? And it worked! It's not as nice as the ChatGPT worksheet, but it's 
still fun to play with and easier to work with than the Terminal, that's for 
sure.


```
llama.cpp  -m /Users/james/Downloads/dolphin-2.6-mistral-7b-dpo-laser.Q6_K.gguf 
-i --interactive-first
*SKIPPING PAGES OF DEBUGGING OUTPUT*

You are an unhelpful AI assistant. You will answer briefly when asked 
questions. Sometimes you wont answer the question but you will tell the user 
random facts about space. Here is the first question.\
\
Question: Who was the first president of the United States of America?

Unhelpful but entertaining response: Did you know that there are over 200 
billion stars in our galaxy, the Milky Way? That's more than enough to create a 
unique night sky for each person on Earth! Now let me remind you... The first 
president of the United States was George Washington.
```

If you have an m-series Mac, you can do this. Llama.cpp comes from here: 
https://github.com/ggerganov/llama.cpp. In this case my llama.cpp is in 
/usr/local/bin and points to the `main` binary in the llama.cpp project. I got 
the model from here: 
https://huggingface.co/TheBloke/dolphin-2.6-mistral-7B-dpo-laser-GGUF/tree/main.

One note. It looks like the default cwd is /. When I ran llama.cpp that way I 
got really strange output. I had to `cd ~` to fix it. Here's the weird output.


```
main -m /Users/james/Downloads/dolphin-2.6-mistral-7b-dpo-laser.Q6_K.gguf -p 
"What is your name?"
Failed to open logfile 'main.log' with error 'Read-only file system'
[1705425385] Log start
[1705425385] Cmd: 
/Users/james/.pkgx/github.com/ggerganov/llama.cpp/v1645.0.0/bin/llama.cpp -m 
/Users/james/Downloads/dolphin-2.6-mistral-7b-dpo-laser.Q6_K.gguf -p "What is 
your name?"
***skipping several pages of debugging output***
[1705425387] embd_inp.size(): 6, n_consumed: 0
[1705425387] eval: [ '':1, ' What':1824, ' is':349, ' your':574, ' name':1141, 
'?':28804 ]

[1705425387] n_past = 6
[1705425387] sampled token:13: '
'
[1705425387] last: [ '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, 
'':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, 
'':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, 
'':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, 
'':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':0, '':1, ' What':1824, ' 
is':349, ' your':574, ' name':1141, '?':28804, '':13 ]
[1705425387] n_remain: -2
[1705425387] eval: [ '':13 ]
```

James Reynolds

-- 
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/E190BB81-28F7-4FC3-BE1A-CD125BE24615%40gmail.com.


Re: ChatGPT worksheet contexts

2024-01-16 Thread James Reynolds
>> There's not currently a mechanism for adding (or specifying, or changing) 
>> context. If this is important to you, please let us know via email to 
>> "supp...@barebones.com".

So is the entire worksheet sent, the line the cursor is on, or the selected 
text?

> For some cases my description has taken multiple paragraphs, and often the 
> first answer misses something so I refer back or re-state and query again.

It would be amazing to be able to play with the entire context. Several months 
ago when I was playing with AI a lot, I found one app that allowed me to "fix" 
the AI response by editing it and then sending the "fixed" response with my new 
question. With the censored AI models, this often allowed me to bypass the 
censorship by removing the "As an AI language model..." text and replacing it 
with the actual answer. This fooled the AI into continuing to talk about 
building bombs. Of course, I only did this to see if I could because I could 
just Google how to build a bomb if I really wanted to. But my point is that 
being able to edit the full context is useful.

In fact, this could be a powerhouse AI tool if worked with local open source AI 
models and could be configured with chat templates (see 
https://docs.mistral.ai/models/). For example, that link shows that Mistral's 
chat template is as follows (I'm not even sure how to use this template, I just 
know this is Mistral's).

```
[INST] Instruction [/INST] Model answer[INST] Follow-up instruction 
[/INST]
```

Obviously, as a text editor, BBEdit wouldn't do anything other than put that 
text in the window so that the user could then edit it how they wanted. I'm not 
sure that this is really a path that should be pursued though because they're 
starting to make mixed AI models that can do audio, images, and text and I 
don't see how BBEdit would do audio (images are just paths to the files). I 
guess as just a text editor it would be nice to have a local copy of the chats 
rather than having them all stored on OpenAI's server or having them be 
ephemeral, which is the case when using AI cli apps.

Which also makes me think that if you're going to support local AI models you 
might want to have more preferences than just the url to the API. You might 
want to run them from a cli tool like llama.cpp or ollama, which would mean 
you'd need to be able to change the cli flags passed to the tools. This is 
probably a good reason to not support local AI models or anything via cli since 
it just means bloat and losing focus.

James Reynolds

-- 
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/100642D3-E07F-42F6-A347-F89EED6D8FBE%40gmail.com.


Re: BBEdit 15 ChatGPT Worksheets custom url

2024-01-10 Thread James Reynolds
I don't think I was clear in my request. By "OpenAI API" I meant using a 
product other than OpenAI, which would require a custom URL pointing to the 
different API server.

James

> On Jan 10, 2024, at 12:12, James Reynolds  wrote:
> 
> How do you specify a custom URL?
> 
> James
> 
>> On Jan 10, 2024, at 12:10, Bruce Van Allen  wrote:
>> 
>> So far over here it works with every OpenAI version I get credentials for.
>> 
>> What have you tried?
>> 
>>   — Bruce
>> 
>> _bruce__van_allen__santa_cruz_ca_
>> 
>> 
>> 
>> 
>> 
>>> On Jan 10, 2024, at 11:04 AM, James Reynolds  
>>> wrote:
>>> 
>>> It would be great if ChatGPT worksheets worked with any OpenAI compatible 
>>> API. 
>> 
>> -- 
>> 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/145BCEF1-2ABB-4C2A-9986-214E0B1F66FE%40cruzio.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/32844C05-918C-424C-A8EE-4E380EF32D42%40gmail.com.


Re: BBEdit 15 ChatGPT Worksheets custom url

2024-01-10 Thread James Reynolds
How do you specify a custom URL?

James

> On Jan 10, 2024, at 12:10, Bruce Van Allen  wrote:
> 
> So far over here it works with every OpenAI version I get credentials for.
> 
> What have you tried?
> 
>— Bruce
> 
> _bruce__van_allen__santa_cruz_ca_
> 
> 
> 
> 
> 
>> On Jan 10, 2024, at 11:04 AM, James Reynolds  
>> wrote:
>> 
>> It would be great if ChatGPT worksheets worked with any OpenAI compatible 
>> API. 
> 
> -- 
> 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/145BCEF1-2ABB-4C2A-9986-214E0B1F66FE%40cruzio.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/30791359-AE43-41A9-A0B2-FBE704704947%40gmail.com.


BBEdit 15 ChatGPT Worksheets custom url

2024-01-10 Thread James Reynolds
It would be great if ChatGPT worksheets worked with any OpenAI compatible API. 

James Reynolds


-- 
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/A358F1B8-C45F-48AD-B975-0FE45EEE2419%40gmail.com.


Copilot support?

2023-03-28 Thread James Reynolds
I'm trying GitHub Copilot. I don't want to use VSCode. I have no idea how
hard it is to use with BBEdit. Does anyone know?

James Reynolds
magnusviri.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/CAHzDbtcg5ZKgETvrYu3G%3DWYvg62pTQDhFhGLZ1oqTyX6%2B%3DNdOw%40mail.gmail.com.


Re: Process Duplicate Lines and count them

2022-07-26 Thread James Reynolds
Just for completeness, I decided to make a version that didn't require sorted 
lines.

#!/usr/bin/perl -w

use strict;

my $buckets = {};
while (<>) {
if ( not defined $buckets->{$_} ) {
$buckets->{$_} = 1;
} else {
$buckets->{$_}++;
}
}
for my $key ( sort keys %$buckets ) {
print "$buckets->{$key} $key";
}

James

> On Jul 26, 2022, at 8:52 AM, Roland Küffner  wrote:
> 
> Hi James,
> 
> my approach would include two steps:
> 1. Text Menu > „Add/Remove Line Numbers“ (adding them (of course) – with one 
> space after the number)
> 2. Text > „Process Duplicate Lines“ (options: Leaving one; Duplicate to new 
> doc; Delete duplicate lines; Match using pattern (All sub-patterns):
> ^\d+ (.+)
> 
> This creates a new document with the duplicate lines and their line numbers. 
> You might record this easy steps with the Script Editor and save it for 
> future use. My recording gave me this script:
> 
> tell application "BBEdit"
>   select text 1 of text window 1
>   add line numbers selection of text window 1 with adding space
>   process duplicate lines selection of text window 1 duplicates options 
> {match mode:leaving_one, match pattern:"^\\d+ (.+)", match subpattern 
> key:all_subpatterns} output options {deleting duplicates:true, duplicates to 
> new document:true}
> end tell
> 
> Of course you could change the options to your likings (it could be an option 
> to copy the Duplicates to the clipboard and add an additional step to remove 
> the line numbers in the original document.
> (And just a friendly reminder: it is always a good idea to try such stuff on 
> a copy, not on the original data – I cannot be responsible for the integrety 
> of your data and potential mischief …)
> 
> 
> 
> On Wed, Jul 20, 2022 at 10:47 PM James Reynolds  <mailto:justanotherta...@gmail.com>> wrote:
> I use the Process Duplicate Lines feature a lot and I'm discovering I'm 
> trying to count them more and more. Does anyone know if there is a way to 
> remove duplicate lines and put the number of lines that were removed next to 
> them?
> 
> James Reynolds
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com 
> <mailto:supp...@barebones.com>" rather than posting here. Follow @bbedit on 
> Twitter: <https://twitter.com/bbedit <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 
> <mailto:bbedit%2bunsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/6E420F07-C8F8-47C7-8903-8ADEC3F8931A%40gmail.com
>  
> <https://groups.google.com/d/msgid/bbedit/6E420F07-C8F8-47C7-8903-8ADEC3F8931A%40gmail.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 <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 
> <mailto:bbedit+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/CABybPXbSr_0COpBkHuKnR857mrc_OOhig9GQacHm-0%2B27az%3DtA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/bbedit/CABybPXbSr_0COpBkHuKnR857mrc_OOhig9GQacHm-0%2B27az%3DtA%40mail.gmail.com?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 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/DFEF6F4C-5FEB-415F-9166-91732ECC88D9%40gmail.com.


Re: Process Duplicate Lines and count them

2022-07-26 Thread James Reynolds
Thank you! Although I didn't use your solution, trying to get it to work the 
way I wanted led me down a rabbit hole until I finally came up with this text 
filter (it's been a long time since I've written AppleScript.)

#!/usr/bin/perl -w

use strict;

my $bucket;
my $counter;
while (<>) {
if ( not defined $bucket ) {
$bucket = $_;
$counter = 1;
} elsif ( $_ ne $bucket ) {
print "$counter $bucket";
$counter = 1;
$bucket = $_;
} else {
$counter++;
}
}
print "$counter $bucket\n";

Thanks again!

James

> On Jul 26, 2022, at 8:52 AM, Roland Küffner  wrote:
> 
> Hi James,
> 
> my approach would include two steps:
> 1. Text Menu > „Add/Remove Line Numbers“ (adding them (of course) – with one 
> space after the number)
> 2. Text > „Process Duplicate Lines“ (options: Leaving one; Duplicate to new 
> doc; Delete duplicate lines; Match using pattern (All sub-patterns):
> ^\d+ (.+)
> 
> This creates a new document with the duplicate lines and their line numbers. 
> You might record this easy steps with the Script Editor and save it for 
> future use. My recording gave me this script:
> 
> tell application "BBEdit"
>   select text 1 of text window 1
>   add line numbers selection of text window 1 with adding space
>   process duplicate lines selection of text window 1 duplicates options 
> {match mode:leaving_one, match pattern:"^\\d+ (.+)", match subpattern 
> key:all_subpatterns} output options {deleting duplicates:true, duplicates to 
> new document:true}
> end tell
> 
> Of course you could change the options to your likings (it could be an option 
> to copy the Duplicates to the clipboard and add an additional step to remove 
> the line numbers in the original document.
> (And just a friendly reminder: it is always a good idea to try such stuff on 
> a copy, not on the original data – I cannot be responsible for the integrety 
> of your data and potential mischief …)
> 
> 
> 
> On Wed, Jul 20, 2022 at 10:47 PM James Reynolds  <mailto:justanotherta...@gmail.com>> wrote:
> I use the Process Duplicate Lines feature a lot and I'm discovering I'm 
> trying to count them more and more. Does anyone know if there is a way to 
> remove duplicate lines and put the number of lines that were removed next to 
> them?
> 
> James Reynolds
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com 
> <mailto:supp...@barebones.com>" rather than posting here. Follow @bbedit on 
> Twitter: <https://twitter.com/bbedit <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 
> <mailto:bbedit%2bunsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/6E420F07-C8F8-47C7-8903-8ADEC3F8931A%40gmail.com
>  
> <https://groups.google.com/d/msgid/bbedit/6E420F07-C8F8-47C7-8903-8ADEC3F8931A%40gmail.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 <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 
> <mailto:bbedit+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/CABybPXbSr_0COpBkHuKnR857mrc_OOhig9GQacHm-0%2B27az%3DtA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/bbedit/CABybPXbSr_0COpBkHuKnR857mrc_OOhig9GQacHm-0%2B27az%3DtA%40mail.gmail.com?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 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/6689EBEB-DF3A-4320-B7FB-92BF3598FF03%40gmail.com.


Process Duplicate Lines and count them

2022-07-20 Thread James Reynolds
I use the Process Duplicate Lines feature a lot and I'm discovering I'm trying 
to count them more and more. Does anyone know if there is a way to remove 
duplicate lines and put the number of lines that were removed next to them?

James Reynolds

-- 
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/6E420F07-C8F8-47C7-8903-8ADEC3F8931A%40gmail.com.


Small feature request

2022-07-11 Thread James Reynolds
One thing that really confuses me when I have a folder open in BBEdit is 
that the "Project" sidebar highlights files that aren't currently 
displayed in the editor. I used to think this was a bug but I've finally 
realized that the "Currently Open Documents" is the true reflection of 
what's shown in the editor. It would be nice if the "Project" sidebar 
removes highlighting a file when that file is no longer shown in the 
editor. It would also be nice if the "Currently Open Documents" panel 
could be dragged above the "Projects" panel.


James Reynolds

--
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/9a93c63f-94df-1cea-c4c7-a061a9d08dff%40gmail.com.


Re: Open Terminal Window to directory

2022-05-12 Thread James Reynolds
Ok, I feel like an idiot. I should've looked before I sent the email. I 
found it by right clicking the filename when I've got a directory open.


James

On 5/12/22 11:30 AM, James Reynolds wrote:
Is there a way for BBEdit to open a Terminal (or iTerm2) window to the 
directory containing the file I'm editing?


James



--
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/d6cdc295-3f66-322c-8144-4498d75c5082%40gmail.com.


Open Terminal Window to directory

2022-05-12 Thread James Reynolds
Is there a way for BBEdit to open a Terminal (or iTerm2) window to the 
directory containing the file I'm editing?


James

--
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/9c9712d2-5c69-af46-ea32-5571c17c7e73%40gmail.com.


Re: Using BBEdit for markdown presentation?

2021-04-20 Thread James Reynolds
Ok, I've got to say this. The original WorldWideWeb (Nexus) browser from 1990 
had the ability to edit, link, and browse documents. And didn't HyperCard have 
this functionality too? Basically a rich text editor, browser, and note 
organizer? The internet is massive now but I think the original purpose behind 
the whole thing was kind of lost. I mean, I don't know of anything that really 
has this functionality that is targeted for power users and works rock solid. 
I've never used Evernote. Maybe it can do it? It is hard for me to buy into it, 
especially if it locks me into their product. Maybe this broke down because 
nobody could decide what the best editor was (we still have vi) and well, 
Netscape vs Microsoft and now Google.

James


> On Apr 20, 2021, at 10:26 AM, James Reynolds  
> wrote:
> 
> I've been watching this thread and because someone mentioned Joplin I tried 
> it out. I'm having so many problems with it I'm afraid of using it now. It is 
> constantly losing the undo history. When I performed an undo, it wouldn't 
> zoom to the location that was undid so I had to copy the before and after 
> text out of Joplin and put it in BBEdit to do diff to see what changed! I 
> even set BBEdit to the external editor and tried working exclusively that way 
> but if I did anything in Joplin at all it was just a huge liability. I can't 
> even see the point of using it now. I have to reread my entire document now 
> because I don't know what Joplin has done to my document.
> 
> I think BBEdit has spoiled me because it has so many rock solid less-popular 
> features that I've used to work faster and be more productive but they don't 
> transfer to other text editors. And in this case I've learned to use undo and 
> redo to do maybe crazy things like navigate around my document and when I 
> tried it in Joplin it actually put my document in peril.
> 
> I'll just add the only reason I tried Joplin is because I want something that 
> is like Apple's Notes but with Markdown, synchronizes to a cloud of my 
> choosing, and it runs on macOS, iOS, and Linux . It looked like Joplin had 
> all of those things. But yeah, I don't think it's going to work out. I'm 
> wondering if replacing Apple Notes is also the goal of the person who started 
> this thread.
> 
> James
> 
>> On Apr 20, 2021, at 9:54 AM, Tibor Páli  wrote:
>> 
>> Dear Patrick,
>> 
>> many hanks for clarification!
>> 
>> Interestingly, the situation is the same with Devonthink on .md files. I can 
>> open an md. file and it gets rendered but clicking on a link to another .md 
>> file will be opened in BBEdit editor mode. (Some time ago, I could use DT as 
>> browser on rtf documents, but it is its internal doc format). The situation 
>> is same even with Obsidian whose document format is .md, but any time I 
>> activate and external .md file it gets opened with BBEdit :) . (Within the 
>> app I can of course browse over the internal .md files).
>> 
>> So, my best bet right know for presentation/browsing over arbitrary 
>> interlinked markdown files (without living preview mode) is to try Marked 2 
>> or a similar program.
>> 
>> Best regards,
>> 
>> Tibor
>> 
>>> On 2021. Apr 20., at 17:39, Patrick Woolsey  wrote:
>>> 
>>> On 4/19/21 at 12:00 PM, palitiborlas...@gmail.com (Tibor Páli) wrote:
>>> 
>>>> Is it possible to have the BBEdit preview to open new .md files by 
>>>> clicking to links and REMAIN WITHIN THE BBEdit Preview, preferably in full 
>>>> screen mode (and opening the .md files in the background)?.
>>>> 
>>> 
>>> I regret it is not currently possible to work with Markdown documents in 
>>> the manner you describe above.
>>> 
>>> In broad terms, when you preview a Markdown document, BBEdit will 
>>> automatically generate an HTML temp file from that document and open the 
>>> resulting file in the Preview window.
>>> 
>>> The Preview window is however 'not a browser' i.e. its sole purpose is to 
>>> display the contents of the associated Markdown file (as rendered), and 
>>> thus though any links you click within this window will be externally 
>>> resolved, you cannot use the Preview window to browse through other 
>>> documents, no matter how they're related.
>>> 
>>> That all said, the ability to work with 'sets' of associated Markdown files 
>>> is a matter we have given some thought to over time, and if any of you 
>>> folks have any _specific_ requests or suggestions[*] then you know the 
>>> drill... ;-)
>>> 
>>> [*: emphasis intentional :-) ]
>

Re: Using BBEdit for markdown presentation?

2021-04-20 Thread James Reynolds
I've been watching this thread and because someone mentioned Joplin I tried it 
out. I'm having so many problems with it I'm afraid of using it now. It is 
constantly losing the undo history. When I performed an undo, it wouldn't zoom 
to the location that was undid so I had to copy the before and after text out 
of Joplin and put it in BBEdit to do diff to see what changed! I even set 
BBEdit to the external editor and tried working exclusively that way but if I 
did anything in Joplin at all it was just a huge liability. I can't even see 
the point of using it now. I have to reread my entire document now because I 
don't know what Joplin has done to my document.

I think BBEdit has spoiled me because it has so many rock solid less-popular 
features that I've used to work faster and be more productive but they don't 
transfer to other text editors. And in this case I've learned to use undo and 
redo to do maybe crazy things like navigate around my document and when I tried 
it in Joplin it actually put my document in peril.

I'll just add the only reason I tried Joplin is because I want something that 
is like Apple's Notes but with Markdown, synchronizes to a cloud of my 
choosing, and it runs on macOS, iOS, and Linux . It looked like Joplin had all 
of those things. But yeah, I don't think it's going to work out. I'm wondering 
if replacing Apple Notes is also the goal of the person who started this thread.

James

> On Apr 20, 2021, at 9:54 AM, Tibor Páli  wrote:
> 
> Dear Patrick,
> 
> many hanks for clarification!
> 
> Interestingly, the situation is the same with Devonthink on .md files. I can 
> open an md. file and it gets rendered but clicking on a link to another .md 
> file will be opened in BBEdit editor mode. (Some time ago, I could use DT as 
> browser on rtf documents, but it is its internal doc format). The situation 
> is same even with Obsidian whose document format is .md, but any time I 
> activate and external .md file it gets opened with BBEdit :) . (Within the 
> app I can of course browse over the internal .md files).
> 
> So, my best bet right know for presentation/browsing over arbitrary 
> interlinked markdown files (without living preview mode) is to try Marked 2 
> or a similar program.
> 
> Best regards,
> 
> Tibor
> 
>> On 2021. Apr 20., at 17:39, Patrick Woolsey  wrote:
>> 
>> On 4/19/21 at 12:00 PM, palitiborlas...@gmail.com (Tibor Páli) wrote:
>> 
>>> Is it possible to have the BBEdit preview to open new .md files by clicking 
>>> to links and REMAIN WITHIN THE BBEdit Preview, preferably in full screen 
>>> mode (and opening the .md files in the background)?.
>>> 
>> 
>> I regret it is not currently possible to work with Markdown documents in the 
>> manner you describe above.
>> 
>> In broad terms, when you preview a Markdown document, BBEdit will 
>> automatically generate an HTML temp file from that document and open the 
>> resulting file in the Preview window.
>> 
>> The Preview window is however 'not a browser' i.e. its sole purpose is to 
>> display the contents of the associated Markdown file (as rendered), and thus 
>> though any links you click within this window will be externally resolved, 
>> you cannot use the Preview window to browse through other documents, no 
>> matter how they're related.
>> 
>> That all said, the ability to work with 'sets' of associated Markdown files 
>> is a matter we have given some thought to over time, and if any of you folks 
>> have any _specific_ requests or suggestions[*] then you know the drill... ;-)
>> 
>> [*: emphasis intentional :-) ]
>> 
>> 
>> Regards
>> 
>> Patrick Woolsey
>> ==
>> Bare Bones Software, Inc. 
> 
> -- 
> 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/CD66FA9E-FE27-4F66-88BA-C1AC5478BD42%40gmail.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/D67E4F17-EF35-47EC-9C2D-073BA3AF2EE1%40gmail.com.


Re: Sorting transcripts

2021-03-11 Thread James Reynolds
When I do something like this I usually get rid of the returns by searching for 
"\n" or "\r" and replacing it with garbage text like asdf. Then I would search 
for "[" and replace it with "\n[". Then sort. Then replace "asdf" with "\r". 
You'll be back to where you started but everything will be sorted.

James Reynolds
Sr Systems Administrator
School of Biological Sciences
The University of Utah
801-585-3086

> On Mar 11, 2021, at 2:39 PM, ajames  wrote:
> 
> Complete novice here exploring an option for a workflow, thank you for the 
> help. Totally out of my area here.
> 
> Trying to combine on set television logging scripts into a master script. 2 
> seperate loggers concentrating on different talent, producing seperate 
> scripts e.g
> 
> LOGGER 1
> 
> [15:57:13.22]
> PRODUCER:
> WHERE ARE YOU FROM? 
> 
> [18:57:15:00]
> CONTESTANT 1:
> I'm from Austin Texas. Wait should I say
> 
> [18:57:16.13]
> PRODUCER:
> I THINK YOU SHOULD SAY AUSTIN AS ONE. YOU ARE EARING A COBOYS HAT. 
> 
> [15:57:27:03]
> CONTESTANT 2:
> Or should I say both? I'm from Austin but I live in Vegas. 
> 
> LOGGER 2
> 
> [15:57:14.22] 
> PRODUCER 2:
> TELL ME, TELL ME.
> 
> [15:57:15.22] 
> CONTESTANT 2: 
> I run the junior program at my country club, I help with event set ups and I 
> do all the retail buying for the country club.
> 
> [15:57:20.22] 
> PRODUCER 2:
> CAN WE NOW PUT YOUR INTRO ALL TOGETHER? SO YOU'RE BASICALLY IN ONE THOUGHT 
> 'MY NAME'S CONTESTANT 2, I'M FROM CALIFORNIA AND THIS IS WHAT I DO.'
> 
> [15:57:31.22] 
> CONTESTANT 2: 
> Okay, um. I'm contestant 2, I'm from California and I'm a golf shop manager 
> in New York.
> 
> I need to sort by combine these scripts into a single document for our edit 
> software to read, but I need to keep the spacing and format of each small 
> block of text, just need to sort by time e.g.
> 
> [15:57:13.22]
> PRODUCER:
> WHERE ARE YOU FROM? 
> 
> [15:57:14.22] 
> PRODUCER 2:
> TELL ME, TELL ME.
> 
> [18:57:15:00]
> CONTESTANT 1:
> I'm from Austin Texas. Wait should I say
> 
> [15:57:15.22] 
> CONTESTANT 2: 
> I run the junior program at my country club, I help with event set ups and I 
> do all the retail buying for the country club.
> 
> [18:57:16.13]
> PRODUCER:
> I THINK YOU SHOULD SAY AUSTIN AS ONE. YOU ARE EARING A COBOYS HAT. 
> 
> [15:57:20.22] 
> PRODUCER 2:
> CAN WE NOW PUT YOUR INTRO ALL TOGETHER? SO YOU'RE BASICALLY IN ONE THOUGHT 
> 'MY NAME'S CONTESTANT 2, I'M FROM CALIFORNIA AND THIS IS WHAT I DO.'
> 
> [15:57:27:03]
> CONTESTANT 2:
> Or should I say both? I'm from Austin but I live in Vegas. 
> 
> [15:57:31.22] 
> CONTESTANT 2: 
> Okay, um. I'm contestant 2, I'm from California and I'm a golf shop manager 
> in New York.
> 
> Thank you.
> 
> -- 
> 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/3568a4be-95d5-4d3c-800a-4774e5daf1a0n%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: <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/05356528-0E7C-4B84-82DB-877AA6511B2A%40gmail.com.


Can BBEdit format code like it formats HTML?

2020-09-18 Thread James Reynolds
I know BBEdit has an HTML formatter. Can it also format code? Like what 
https://beautifier.io/ does for JavaScript?

James Reynolds
Sr Systems Administrator
School of Biological Sciences
The University of Utah
801-585-3086

-- 
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/0F089104-5A7A-4BE0-A750-5B7965AE443B%40gmail.com.


Re: Pinning finding differences in a large file, bad html highlighting?

2020-08-23 Thread James Reynolds
I guess code folding will work. Thanks.
James

> On Aug 23, 2020, at 6:23 AM, Greg Raven  wrote:
> 
> I don't understand the first part of your question, but as to the second part 
> I have a question of my own: How would BBEdit know that the last closing DIV 
> (in your example) is incorrect? What if that last DIV is in fact correct, but 
> you erroneously left a closing DIV elsewhere in the document? FWIW, I use 
> code folding to find the incorrect tags in situations such as this. This 
> works especially well if your closing DIVs have comments after them as to 
> which opening DIV they are supposed to match.

-- 
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/D6C9D366-E7DC-44B6-BE7B-CDB2B699%40gmail.com.


Re: Pinning finding differences in a large file, bad html highlighting?

2020-08-23 Thread James Reynolds
Oh man, block comments are a no brainer. I feel so dumb now. Thank you! That's 
exactly the type of tip I was hoping for! Lua does have them.

For what it's worth, the difference engine in BBEdit is something I've learned 
to live on and I can't find any application that does anything as good as it 
(I've looked so I can have something on Linux). I've become so dependent on it 
that it's kind of forcing me to keep using the Mac platform.

James

> On Aug 23, 2020, at 12:42 PM, Darren Duncan  wrote:
> 
> Low hanging fruit for your specific scenario that's good anyway is to use 
> block comments rather than line comments.  If Lua supports block comments 
> then use them, as then the actual number of changed lines would be very 
> minimized, just an insertion at the top and bottom of the large commented 
> blocks.  If Lua doesn't support block comments I would consider that a 
> language design flaw.

-- 
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/ADBC42AD-9CAE-4C83-9CBE-336EEB269860%40gmail.com.


Pinning finding differences in a large file, bad html highlighting?

2020-08-22 Thread James Reynolds
I have 2 questions. I have a very large Lua file. I duplicated it and 
commented most of it out. Then I made some changes. I am trying to find the 
changes between the 2 documents but the difference engine keeps gobbling up 
more on one side than the other and then the comparison is useless because 
it's no longer in sync. This seems to happen most when one side has lines 
with just new lines and the other side has a comment "--". Is it possible 
to tell BBEdit to pin text in both documents at certain places so that no 
matter what the text is on either side, it will restart it's comparison at 
that point? Or is there some other way to manipulate how it's comparing 
things?

Second, it would be so nice if a text editor showed when an html tag was 
not correct, like
. If the last one was highlighted in red or 
something it would be great. Is this possible now?

-- 
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/d10908ea-b718-4d46-ab3f-83fd2098bf92n%40googlegroups.com.