Re: Language Module for Logs

2023-11-20 Thread BeeRich33
Fixed.  I had to add the Language Feature: Identifier and Keyword Character 
Class:






































*http://www.apple.com/DTDs/PropertyList-1.0.dtd";> BBEditDocumentType 
CodelessLanguageModule BBLMLanguageDisplayName 
Passenger Log BBLMLanguageCode 
PLOG BBLMFileNamesToMatch  
passenger_log.pog  name 
PassengerLogs BBLMColorsSyntax  
BBLMIsCaseSensitive  Language Features  
SyntaxColoring  Identifier and Keyword Character 
Class A-Za-z0-9_\?!  
BBLMKeywordList  error 
GET POST NameError 
undefined Exception 
*

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

> Ok that entry should have been this:
>
> *Language Features*
>
> So this is what I currently have, and the settings has the assigned .pog 
> suffic mapped to this language.  However, no syntax colouring.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *  "-//Apple//DTD PLIST 1.0//EN" 
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
> "> version="1.0"> BBEditDocumentType 
> CodelessLanguageModule BBLMLanguageDisplayName 
> Passenger Log BBLMLanguageCode 
> PLOG name PassengerLogs 
> BBLMColorsSyntax  *
> *BBLMKeywordList*
>
>
>
>
>
>
>
>
>
> *  error GET 
> POST NameError undefined 
> Exception  *
> *Language Features*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *  SyntaxColoring  FunctionNavigation 
>  SymbolCompletion   language 
>  name PassengerLogs 
> fileExtensions  pog  *
>
>
> **
>
> 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.
>>
>> 
>> > http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
>> 
>> 
>> BBEditDocumentType
>> CodelessLanguageModule
>> BBLMLanguageDisplayName
>> Passenger Log
>> BBLMLanguageCode
>> PLOG
>> name
>> PassengerLogs
>> BBLMColorsSyntax
>> 
>> BBLMLanguageFeatures
>> 
>> SyntaxColoring
>> 
>> FunctionNavigation
>> 
>> SymbolCompletion
>> 
>> 
>> language
>> 
>> name
>> PassengerLogs
>> fileExtensions
>> 
>> pog
>> 
>> keywords
>> 
>> error
>> GET
>> POST
>> NameError
>> undefined
>> Exception
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>> Cheers
>> bee...@gmail.com
>>
>>
>>
>> On Nov 19, 2023, at 4:10 PM, Rich Siegel  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 "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/9e402afd-364c-4dbf-9e1c-6bceef41ed34n%40googlegroups.com.


Re: Language Module for Logs

2023-11-19 Thread BeeRich33
Ok that entry should have been this:

*Language Features*

So this is what I currently have, and the settings has the assigned .pog 
suffic mapped to this language.  However, no syntax colouring.











































* http://www.apple.com/DTDs/PropertyList-1.0.dtd";> BBEditDocumentType 
CodelessLanguageModule BBLMLanguageDisplayName 
Passenger Log BBLMLanguageCode 
PLOG name PassengerLogs 
BBLMColorsSyntax  BBLMKeywordList  
error GET POST 
NameError undefined 
Exception  Language Features  
SyntaxColoring  FunctionNavigation  
SymbolCompletion   language  
name PassengerLogs fileExtensions 
 pog  *

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.
>
> 
>  http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
> 
> 
> BBEditDocumentType
> CodelessLanguageModule
> BBLMLanguageDisplayName
> Passenger Log
> BBLMLanguageCode
> PLOG
> name
> PassengerLogs
> BBLMColorsSyntax
> 
> BBLMLanguageFeatures
> 
> SyntaxColoring
> 
> FunctionNavigation
> 
> SymbolCompletion
> 
> 
> language
> 
> name
> PassengerLogs
> fileExtensions
> 
> pog
> 
> keywords
> 
> error
> GET
> POST
> NameError
> undefined
> Exception
> 
> 
> 
> 
>
>
>
>
> Cheers
> bee...@gmail.com
>
>
>
> On Nov 19, 2023, at 4:10 PM, Rich Siegel  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 "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/7a7ac4f7-9644-4269-a788-84c945dd1d7dn%40googlegroups.com.


Re: Language Module for Logs

2023-11-19 Thread BeeRich33
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.


http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


BBEditDocumentType
CodelessLanguageModule
BBLMLanguageDisplayName
Passenger Log
BBLMLanguageCode
PLOG
name
PassengerLogs
BBLMColorsSyntax

BBLMLanguageFeatures

SyntaxColoring

FunctionNavigation

SymbolCompletion


language

name
PassengerLogs
fileExtensions

pog

keywords

error
GET
POST
NameError
undefined
Exception








Cheers
beer...@gmail.com



> On Nov 19, 2023, at 4:10 PM, Rich Siegel  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 "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/DB57DAE9-7423-4ABA-82B0-0D88EEE6E942%40gmail.com.


Re: Language Module for Logs

2023-11-19 Thread Rich Siegel
On 19 Nov 2023, at 14:28, BeeRich33 wrote:

> So I've tried many plist entries and I've not been able to get this going
> for some reason.  I'm not sure if it's the plist structure or the BBEdit
> preferences.  Here is my plist, which is the most simple I have come up
> with:

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.

R.

-- 
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/8489B013-DE8C-420F-8AED-2A8A264660CF%40barebones.com.


Re: Language Module for Logs

2023-11-19 Thread BeeRich33
So I've tried many plist entries and I've not been able to get this going 
for some reason.  I'm not sure if it's the plist structure or the BBEdit 
preferences.  Here is my plist, which is the most simple I have come up 
with:



































*http://www.apple.com/DTDs/PropertyList-1.0.dtd";>BBEditDocumentType
CodelessLanguageModule
BBLMLanguageDisplayNamePassenger Log
BBLMLanguageCodePLOGname
PassengerLogsBBLMColorsSyntax
languagename
PassengerLogsfileExtensions
pog
keywordserror
GETPOST
NameErrorundefined
Exception*
I was hoping for the following BB setting:


*Languages: Custom filename extension mappings: .pog => Passenger Log*
I can't see Passenger Log as an option.

Not sure where to go from here.  Any advice?

Cheers


On Friday, November 17, 2023 at 12:08:23 PM UTC-5 BeeRich33 wrote:

> Excellent.  Will take a look.  Thank you.  
>
> On Friday, November 17, 2023 at 8:31:49 AM UTC-5 Darren Duncan wrote:
>
>> You may also find useful this codeless language module I made, for 
>> reference. 
>>
>>
>> https://github.com/muldis/Muldis_Object_Notation/blob/master/tooling/BBEdit/BBEdit_LM_Muldis_Object_Notation_Plain_Text.plist
>>  
>>
>> -- Darren Duncan 
>>
>> On 2023-11-16 12:29 p.m., BeeRich33 wrote: 
>> > Hi Ben.  Thanks for the file. 
>> > 
>> > I’ve been looking at the other CLMs and that’s pretty much what I’ve 
>> come up 
>> > with as well.  Not active yet. 
>> > 
>> > 
>> > Cheers 
>> > bee...@gmail.com 
>> > 
>> > 
>> > 
>> >> On Nov 16, 2023, at 8:12 AM, Benjamin Irwin  
>> wrote: 
>> >> 
>> >> BeeRich33 
>> >> 
>> >> I have attached a very simple Language Module that you may be able to 
>> modify 
>> >> for your needs. 
>> >> 
>> >> It is in ~/Library/Application Support/BEdit/Language Modules 
>> >> 
>> >> Modifying the command list in the BBLMKeywordList 
>> and BBLMPredefinedNameList 
>> >> would cause those words to be colored to "pop out" when viewing the 
>> logs. 
>> >> 
>> >> Hope this helps, 
>> >> Ben 
>>
>>

-- 
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/ecb8efbb-c061-43ae-a2b5-c64b546e5510n%40googlegroups.com.


Re: Language Module for Logs

2023-11-17 Thread BeeRich33
Excellent.  Will take a look.  Thank you.  

On Friday, November 17, 2023 at 8:31:49 AM UTC-5 Darren Duncan wrote:

> You may also find useful this codeless language module I made, for 
> reference.
>
>
> https://github.com/muldis/Muldis_Object_Notation/blob/master/tooling/BBEdit/BBEdit_LM_Muldis_Object_Notation_Plain_Text.plist
>
> -- Darren Duncan
>
> On 2023-11-16 12:29 p.m., BeeRich33 wrote:
> > Hi Ben.  Thanks for the file.
> > 
> > I’ve been looking at the other CLMs and that’s pretty much what I’ve 
> come up 
> > with as well.  Not active yet.
> > 
> > 
> > Cheers
> > bee...@gmail.com
> > 
> > 
> > 
> >> On Nov 16, 2023, at 8:12 AM, Benjamin Irwin  wrote:
> >>
> >> BeeRich33
> >>
> >> I have attached a very simple Language Module that you may be able to 
> modify 
> >> for your needs.
> >>
> >> It is in ~/Library/Application Support/BEdit/Language Modules
> >>
> >> Modifying the command list in the BBLMKeywordList 
> and BBLMPredefinedNameList 
> >> would cause those words to be colored to "pop out" when viewing the 
> logs.
> >>
> >> Hope this helps,
> >> Ben
>
>

-- 
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/8631513f-4248-4fdb-8fe8-10ce8f2d5eb6n%40googlegroups.com.


Re: Language Module for Logs

2023-11-17 Thread Darren Duncan

You may also find useful this codeless language module I made, for reference.

https://github.com/muldis/Muldis_Object_Notation/blob/master/tooling/BBEdit/BBEdit_LM_Muldis_Object_Notation_Plain_Text.plist

-- Darren Duncan

On 2023-11-16 12:29 p.m., BeeRich33 wrote:

Hi Ben.  Thanks for the file.

I’ve been looking at the other CLMs and that’s pretty much what I’ve come up 
with as well.  Not active yet.



Cheers
beer...@gmail.com




On Nov 16, 2023, at 8:12 AM, Benjamin Irwin  wrote:

BeeRich33

I have attached a very simple Language Module that you may be able to modify 
for your needs.


It is in ~/Library/Application Support/BEdit/Language Modules

Modifying the command list in the BBLMKeywordList and BBLMPredefinedNameList 
would cause those words to be colored to "pop out" when viewing the logs.


Hope this helps,
Ben


--
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/0e5675e2-a061-414b-9fc8-a60aeb5d8bd1%40darrenduncan.net.


Re: Language Module for Logs

2023-11-16 Thread BeeRich33
Hi Ben.  Thanks for the file.  

I’ve been looking at the other CLMs and that’s pretty much what I’ve come up 
with as well.  Not active yet.  


Cheers
beer...@gmail.com



> On Nov 16, 2023, at 8:12 AM, Benjamin Irwin  wrote:
> 
> BeeRich33
> 
> I have attached a very simple Language Module that you may be able to modify 
> for your needs.
> 
> It is in ~/Library/Application Support/BEdit/Language Modules
> 
> Modifying the command list in the BBLMKeywordList and BBLMPredefinedNameList 
> would cause those words to be colored to "pop out" when viewing the logs.
> 
> Hope this helps,
> Ben

-- 
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/4FED1A71-6ABF-4DAB-9C38-AD5E68A277A0%40gmail.com.


Re: Language Module for Logs

2023-11-16 Thread Benjamin Irwin
BeeRich33

I have attached a very simple Language Module that you may be able to 
modify for your needs.

It is in ~/Library/Application Support/BEdit/Language Modules

Modifying the command list in the BBLMKeywordList 
and BBLMPredefinedNameList would cause those words to be colored to "pop 
out" when viewing the logs.

Hope this helps,
Ben

On Tuesday, November 14, 2023 at 9:38:48 AM UTC-5 BeeRich33 wrote:

> I'm trying to make some logs more visible as currently they are just a sea 
> of white text.  Is there a way to provide a *plist* and match this up to 
> log files?  Am I correct in assuming it should be in the *Language 
> Modules* directory and be named *log.plist*?
>
> Cheers
>

-- 
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/2b46b33c-2022-458d-a822-832d9b496f9bn%40googlegroups.com.

http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


	BBEditDocumentType
	CodelessLanguageModule
	BBLMLanguageDisplayName
	MUMPS
	BBLMLanguageCode
	MUMP
	BBLMSuffixMap
	
		
			BBLMLanguageSuffix
			.m
		
	
BBLMPreferredFilenameExtension
d
	BBLMIsCaseSensitive
	
	BBLMScansFunctions
	
	BBLMColorsSyntax
	
	BBLMKeywordList
	
		Break
		Close
		Do
		Else
		For
		Goto
		Hang
		If
		Justify
		Kill
		Lock
		Merge
		New
		Open
		Quit
		Read
		Set
		Use
		View
		Write
		Xecute
	
	BBLMPredefinedNameList
	
		$Ascii
		$Char
		$Data
		$Extract
		$Find
		$Get
		$Justify
		$Length
		$Name
		$Order
		$Piece
		$Query
		$Random
		$Select
		$Text
		$Translate
		$View
		$Horolog
		$Io
		$Job
	

	Language Features
	
		Identifier and Keyword Characters
		$0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
		Open Parameter Lists
		(
		Close Parameter Lists
		)
		Open Line Comments
		;
		Open Strings 1
		"
		Close Strings 1
		"
		End-of-line Ends Strings 1
		
	



Language Module for Logs

2023-11-14 Thread BeeRich33
I'm trying to make some logs more visible as currently they are just a sea 
of white text.  Is there a way to provide a *plist* and match this up to 
log files?  Am I correct in assuming it should be in the *Language Modules* 
directory and be named *log.plist*?

Cheers

-- 
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/f4980004-c41f-4b79-b97f-20b2dd4f873dn%40googlegroups.com.