Something I will say is that while I've found the codeless language module
functionality very helpful, and I have written and maintain a few of my own, I
have also, perhaps partly due to ignorance, ran into their limitations quite a bit.
I really appreciate BBEdit's new support for language
Chris,
I've also made my own CLM for Fish. Instead of using
BBLMPredefinedNameList for as additional commands, I'm using it for
"special" variables: PATH, fish_greeting, fish_color_*, etc. Basically
everything listed here:
https://fishshell.com/docs/current/language.html#special-variables
> On Aug 13, 2021, at 21:30, e2o wrote:
>
> Howdy! Is there an easy way to copy a chunk of text matched with a regular
> expression to the clipboard only? No search/replace.
>
> I have an expression that selects everything at the beginning of a document
> up to but not including the first
On Aug 14, 2021, at 20:17, e2o wrote:
>
> Oh, excellent stuff - thank you both. Now as I try to figure out how I'll
> script this, my initial ideas are fairly cumbersome. Yeah, I could bring up
> the Find dialog, paste in the search criteria and [ ⌘ ⌥ ⌃ G ], but is there
> a repeatable way
Hi Eric,
This snippet of AppleScript might help you.
try
tell application "BBEdit"
set vText to ""
tell first document of first window
set vRegex to "(?s)\\A(.*?)\n\\s*\n" -- Captures everything at the
beginning of a document up to but not including the first blank line.
set vMatch to find