Christopher, For what I know Function Patterns use named subpatterns in order to capture function names and ranges for the navigation bar Functions menu and for the code folding.
It is not clear to me what will be the use of keyword subpattern captures. If you don't find an answer to your question in the documentation, you should send an mail to the BBEdit support team ([email protected]) with a clear description of your question and what you intend to do, including examples, expected results, etc. Codeless Language Modules documentation is available here: https://www.barebones.com/support/develop/clm.html https://www.barebones.com/support/technotes/language-module-changes.html Best regards, Jean On Thursday, August 26, 2021 at 8:47:40 AM UTC+2 Christopher Waterman wrote: > Jean > > Again thanks for the help with BBLMRunColors. That really got me off of > the right foot. > I’ve discover how you can map them to each other and to builtin RunKinds. > Pretty neat. > > I have a question regarding BBLMKeywordPatterns. Do you know if you can > make it match a named sub-pattern for coloring? > Similar to the way Function Pattern works. Maybe there is a magic name or > something. 😉 > > Thanks, > — Chris(topher)? > > > > On Aug 24, 2021, at 1:43 AM, jj <[email protected]> wrote: > > > Hi Christopher, > > Here is a minimal Codeless Language Module for an hypothetical > "Christopher" language that demonstrates the use of color runs. > Save it as Christopher.plist in ~/Library/Application > Support/BBEdit/Language Modules. > > ... > > > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/770e89c3-91bc-44b6-8b83-021f92b9e388n%40googlegroups.com.
