Fixed.  I had to add the Language Feature: Identifier and Keyword Character 
Class:






































*<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC 
"-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";><plist 
version="1.0"><dict> <key>BBEditDocumentType</key> 
<string>CodelessLanguageModule</string> <key>BBLMLanguageDisplayName</key> 
<string>Passenger Log</string> <key>BBLMLanguageCode</key> 
<string>PLOG</string> <key>BBLMFileNamesToMatch</key> <array> 
<string>passenger_log.pog</string> </array> <key>name</key> 
<string>PassengerLogs</string> <key>BBLMColorsSyntax</key> <true/> 
<key>BBLMIsCaseSensitive</key> <false/> <key>Language Features</key> <dict> 
<key>SyntaxColoring</key> <true/> <key>Identifier and Keyword Character 
Class</key> <string>A-Za-z0-9_\?!</string> </dict> 
<key>BBLMKeywordList</key> <array> <string>error</string> 
<string>GET</string> <string>POST</string> <string>NameError</string> 
<string>undefined</string> <string>Exception</string> 
</array></dict></plist>*

On Sunday, November 19, 2023 at 4:56:46 PM UTC-5 BeeRich33 wrote:

> Ok that entry should have been this:
>
> *<key>Language Features</key>*
>
> So this is what I currently have, and the settings has the assigned .pog 
> suffic mapped to this language.  However, no syntax colouring.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> * <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC 
> "-//Apple//DTD PLIST 1.0//EN" 
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
> <http://www.apple.com/DTDs/PropertyList-1.0.dtd>"><plist 
> version="1.0"><dict> <key>BBEditDocumentType</key> 
> <string>CodelessLanguageModule</string> <key>BBLMLanguageDisplayName</key> 
> <string>Passenger Log</string> <key>BBLMLanguageCode</key> 
> <string>PLOG</string> <key>name</key> <string>PassengerLogs</string> 
> <key>BBLMColorsSyntax</key> <true/> *
> *<key>BBLMKeywordList</key>*
>
>
>
>
>
>
>
>
>
> * <array> <string>error</string> <string>GET</string> 
> <string>POST</string> <string>NameError</string> <string>undefined</string> 
> <string>Exception</string> </array> *
> *<key>Language Features</key>*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> * <dict> <key>SyntaxColoring</key> <true/> <key>FunctionNavigation</key> 
> <true/> <key>SymbolCompletion</key> <true/> </dict> <key>language</key> 
> <dict> <key>name</key> <string>PassengerLogs</string> 
> <key>fileExtensions</key> <array> <string>pog</string> </array> *
>
>
> *</dict></dict></plist>*
>
> On Sunday, November 19, 2023 at 4:34:49 PM UTC-5 BeeRich33 wrote:
>
>> Ya I validated it but I’m using the Dropbox alternative location for this 
>> file.  When I use the menu option to open the Language Module directory, 
>> the Dropbox path is the path that opens up.  
>>
>> /Users/rich/Library/CloudStorage/Dropbox/Application 
>> Support/BBEdit/Language Modules/PassengerLogs.plist
>>
>> So that CLM log says the following, even with the edited version.  That 
>> BBLMLanguageFeatures 
>> is now in the file.  The log isn’t specific other than that.
>>
>> —————————
>>
>> The following problem(s) were encountered while loading the language 
>> module at /Users/rich/Library/CloudStorage/Dropbox/Application 
>> Support/BBEdit/Language Modules/PassengerLogs.plist:
>> The Language Features key is missing.
>> The reported problems will prevent the language module from loading.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
>> http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
>> <plist version="1.0">
>> <dict>
>>     <key>BBEditDocumentType</key>
>>     <string>CodelessLanguageModule</string>
>>     <key>BBLMLanguageDisplayName</key>
>>     <string>Passenger Log</string>
>>     <key>BBLMLanguageCode</key>
>>     <string>PLOG</string>
>>     <key>name</key>
>>     <string>PassengerLogs</string>
>>     <key>BBLMColorsSyntax</key>
>>     <true/>
>>     <key>BBLMLanguageFeatures</key>
>>     <dict>
>> <key>SyntaxColoring</key>
>> <true/>
>> <key>FunctionNavigation</key>
>> <true/>
>> <key>SymbolCompletion</key>
>> <true/>
>>     </dict>
>>     <key>language</key>
>>     <dict>
>> <key>name</key>
>> <string>PassengerLogs</string>
>> <key>fileExtensions</key>
>> <array>
>> <string>pog</string>
>> </array>
>> <key>keywords</key>
>> <array>
>> <string>error</string>
>> <string>GET</string>
>> <string>POST</string>
>> <string>NameError</string>
>> <string>undefined</string>
>> <string>Exception</string>
>> </array>
>>     </dict>
>> </dict>
>> </plist>
>>
>>
>>
>>
>> Cheers
>> [email protected]
>>
>>
>>
>> On Nov 19, 2023, at 4:10 PM, Rich Siegel <[email protected]> wrote:
>>
>> Likely it's in the wrong place, or it's malformed.
>>
>> To see if it's in the right place: choose "Language Modules" from the 
>> Folders submenu of the BBEdit application menu. If your plist file isn't in 
>> the Finder window that opens, it's in the wrong place.
>>
>> If it's in the right place, choose "Logs" from the Folders submenu. If 
>> there's a log file for language module errors, open it up and look inside; 
>> the recent entries (if any) may contain diagnostic information.
>>
>>
>>

-- 
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/9e402afd-364c-4dbf-9e1c-6bceef41ed34n%40googlegroups.com.

Reply via email to