Hello,

I’m curious about BBLMRunColors.

I imagine it would be implemented something like this:

<key>BBLMRunColors</key>
<array>
        <string>com.run.kind.name</string>
</array> 

But this crashes BBEdit.

This is pulled from this technote: 
https://www.barebones.com/support/technotes/language-module-changes.html 
<https://www.barebones.com/support/technotes/language-module-changes.html>

> The BBLMKeywords key is an array of dictionaries. In each dictionary, there 
> is a RunKindkey that specifies the run kind to be used (one of the 
> factory-supplied run kinds, or one defined in your language module's 
> BBLMRunColors array),...

...
> The run kinds you can use are not limited to the built-in ones; you can 
> define your own run kinds and color mappings using a BBLMRunColors key, as 
> previously described. You must also add a BBLMRunNames key which maps those 
> run kinds to human-readable names, so that users can adjust the color 
> settings.


This isn’t explicit as to whether this BBLMRunColors is a “coded” only language 
module feature or if it works with the codeless variety.

The only example I could find was in the built in Python module, where it was 
mapping built in run kinds to custom ones.

- Does it work with codeless language modules?

- If it does, does anyone have an example?

Thanks
—C. Waterman



-- 
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/99DDE2D0-CB7D-4581-8D71-69EC14F2E556%40rustydogink.com.

Reply via email to