Re: Need Grep help to get first digit (or letter) in each row

2022-01-17 Thread Howard
Thanks Tom and Christopher.
Howard

On Sunday, 16 January 2022 at 8:38:24 pm UTC-5 Christopher Waterman wrote:

> Hello Howard,
>
> Find: ^[^0-9A-Z]?([0-9A-Z]).*
>
> Replace: \1
>
>
>
> — Chris(topher)?
>
>

-- 
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/2331a3f2-4ec1-466a-9545-ee40976e6604n%40googlegroups.com.


Re: Custom Completion List?

2022-01-17 Thread Rich Siegel
On 17 Jan 2022, at 18:50, Shawn Liebling wrote:

> Thanks for the tip on how to enable text completion! However, it still
> doesn't appear to be working for me. I added those lines to the language
> PLIST file, but perhaps I did something wrong?

Sorry I wasn't clearer - you still need to add a list of things to the module 
to complete. (Also, don't forget that if you edit your language module, you 
have to quit and relaunch BBEdit for the changes to take effect.)

To add a list of predefined names, use the "BBLMPredefinedNameList" key:

BBLMPredefinedNameList

John Lennon
Paul McCartney
George Harrison
Ringo Starr


(NOTE: These won't be colored correctly because of the spaces, and I don't 
actually know :-) whether they'll behave as desired for completion, but if they 
don't, please write to Tech Support.)

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/DEBF5955-46E5-4806-8DCD-A81E07D5D32D%40barebones.com.


Re: Custom Completion List?

2022-01-17 Thread Shawn Liebling
Thanks for the tip on how to enable text completion! However, it still 
doesn't appear to be working for me. I added those lines to the language 
PLIST file, but perhaps I did something wrong? I will attach the PLIST file 
for your inspection. Oh, and I do have a paid license through an App Store 
subscription.

Also, how so I add character names as predefined symbols?

Thanks!
Shawn

On Monday, January 17, 2022 at 2:16:07 PM UTC-8 sie...@barebones.com wrote:

> Since you have a custom language module, make sure that it specifies that 
> it supports completion:
>
> BBLMSupportsTextCompletion
> 
>
> (And of course, completion isn't available in Free Mode, but if you have a 
> paid license or active Mac App Store subscription, that won't be the issue 
> here.)
>
> As to the character names: offhand, I'm thinking that you could add your 
> character names as predefined symbols in the language module. That way, 
> completion would present them to you as such. (Multi-word names with spaces 
> in them can be a challenge, though.)
>
> Auto-replacement using external tools (TypeIt4Me, Text Expander, 
> Typinator, etc) might be an option, as well.
>
> Good luck,
>
> 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/efe74831-7277-40b0-a5b1-38d9d889a8f2n%40googlegroups.com.


Shawn.plist
Description: Binary data


Re: Custom Completion List?

2022-01-17 Thread Rich Siegel
Since you have a custom language module, make sure that it specifies that it 
supports completion:

BBLMSupportsTextCompletion


(And of course, completion isn't available in Free Mode, but if you have a paid 
license or active Mac App Store subscription, that won't be the issue here.)

As to the character names: offhand, I'm thinking that you could add your 
character names as predefined symbols in the language module. That way, 
completion would present them to you as such. (Multi-word names with spaces in 
them can be a challenge, though.)

Auto-replacement using external tools (TypeIt4Me, Text Expander, Typinator, 
etc) might be an option, as well.

Good luck,

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/8A2D134B-6DF9-42F6-B12F-4A97DC18539E%40barebones.com.