Re: Creating new language file - Not getting all syntax highlighting

2013-02-05 Thread Bob Rockefeller
On Sunday, December 30, 2012 5:29:08 PM UTC-5, Emil Vaughan wrote:

 I spent some time today implementing a (far from perfect) codeless 
 language module for Cython (http://cython.org/), only to find that I 
 can't get my numbers highlighted.

 (Side rant: I stopped using BBEdit after getting a Retina MacBookPro, and 
 I'd like to return to it now it has retina support. But the syntax 
 highlighting in Sublime Text 2 is so much better. I don't like the rest of 
 it though...)


Emil,

Did you get what you needed?

I have a feature request in for improved syntax coloring. As you mention, 
Sublime Text 2 (and TextMate 2) have much better control of color and 
scope. But Sublime Text 2 is just not Mac enough.

Bob

-- 
-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.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 bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Creating new language file - Not getting all syntax highlighting

2012-12-31 Thread Emil Vaughan
On Friday, July 29, 2011 10:36:36 PM UTC+1, Gregg Thomason wrote:

 There was a message in another thread, IIRC, that said they're more than a 
 little backlogged on support right now. They're usually good about getting 
 back to support requests.


I'd just like to give this a bump.

I spent some time today implementing a (far from perfect) codeless language 
module for Cython (http://cython.org/), only to find that I can't get my 
numbers highlighted.

(Side rant: I stopped using BBEdit after getting a Retina MacBookPro, and 
I'd like to return to it now it has retina support. But the syntax 
highlighting in Sublime Text 2 is so much better. I don't like the rest of 
it though...)

Emil 

-- 
-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Creating new language file - Not getting all syntax highlighting

2011-07-29 Thread JD
Nothing on why numerics wouldn't be getting syntax highlighted?   I
also tried BBEdit's direct support a week or so ago. No response yet.

On Jul 23, 10:51 am, JD j...@donnici.com wrote:
 Hello,

 I just started a trial of BBEdit 10 and am trying to create a language
 plist file forArduino(www.arduino.cc). I've found lots of examples
 online and have read the chapter on Codeless Language Modules in the
 manual... I'm *almost* there. I've got a file in the right place and I
 know it's being read -- it shows up in the language list and I can
 make changes to it and see them reflected on re-start.

 The problem is that I can't get 'Numeric Constants' to show up in a
 color at all. I don't see anything in the plist files that relates to
 this and have compared the Java file in the app's package contents as
 well. When I have anArduinofile open and change the language to C or
 C++ (which is quite similar), then the numeric values in the code ARE
 colored.

 I've copied the contents of theArduino.plist file below, but removed
 a bunch of the keywords from that array to save space. Once I have it
 working, I'm happy to re-post the full file's contents for future
 generations. ;)

 Any advice on getting numbers to color correctly?

 Thanks,

 JD

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN 
 http://www.apple.com/DTDs/PropertyList-1.0.dtd;
 plist version=1.0
 dict
         keyBBEditDocumentType/key
         stringCodelessLanguageModule/string
         keyBBLMColorsSyntax/key true/
         keyBBLMIsCaseSensitive/key true/
         keyBBLMKeywordList/key
         array
                 stringif/string
                 stringelse/string
                 !-- edited for brevity --
                 stringsetup/string
                 stringloop/string
         /array
         keyBBLMLanguageCode/key
         stringArdu/string
         keyBBLMLanguageDisplayName/key
         stringArduino/string
         keyBBLMScansFunctions/key true/

 keyBBLMPredefinedNameList/key
         array
                 stringHIGH/string
                 stringLOW/string
                 stringINPUT/string
                 stringOUTPUT/string
                 !-- edited for brevity --
         /array

         keyBBLMSuffixMap/key
         array
                 dict
                         keyBBLMLanguageSuffix/key
                         string.pde/string
                         keyBBLMIsSourceKind/key
                         true/
                 /dict
         /array

         keyLanguage Features/key
         dict
                 keyClose Block Comments/key
                 string*//string
                 keyClose Parameter Lists/key
                 string)/string
                 keyClose Statement Blocks/key
                 string}/string
                 keyClose Strings 1/key
                 string'/string
                 keyClose Strings 2/key
                 string/string
                 keyEnd-of-line Ends Strings 1/key
                 true/
                 keyEnd-of-line Ends Strings 2/key
                 true/
                 keyEscape Char in Strings 1/key
                 string\/string
                 keyEscape Char in Strings 2/key
                 string\/string
                 keyIdentifier and Keyword Characters/key

 string0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz/
 string
                 keyOpen Block Comments/key
                 string/*/string
                 keyOpen Line Comments/key
                 string///string
                 keyOpen Parameter Lists/key
                 string(/string
                 keyOpen Statement Blocks/key
                 string{/string
                 keyOpen Strings 1/key
                 string'/string
                 keyOpen Strings 2/key
                 string/string
                 keyPrefix for Functions/key
                 string/string
                 keyPrefix for Procedures/key
                 string/string
                 keyTerminator for Prototypes 1/key
                 string/string
                 keyTerminator for Prototypes 2/key
                 string/string
         /dict
 /dict
 /plist

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Creating new language file - Not getting all syntax highlighting

2011-07-29 Thread Gregg Thomason
There was a message in another thread, IIRC, that said they're more than a 
little backlogged on support right now. They're usually good about getting 
back to support requests.

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Creating new language file - Not getting all syntax highlighting

2011-07-23 Thread JD
Hello,

I just started a trial of BBEdit 10 and am trying to create a language
plist file for Arduino (www.arduino.cc). I've found lots of examples
online and have read the chapter on Codeless Language Modules in the
manual... I'm *almost* there. I've got a file in the right place and I
know it's being read -- it shows up in the language list and I can
make changes to it and see them reflected on re-start.

The problem is that I can't get 'Numeric Constants' to show up in a
color at all. I don't see anything in the plist files that relates to
this and have compared the Java file in the app's package contents as
well. When I have an Arduino file open and change the language to C or
C++ (which is quite similar), then the numeric values in the code ARE
colored.

I've copied the contents of the Arduino.plist file below, but removed
a bunch of the keywords from that array to save space. Once I have it
working, I'm happy to re-post the full file's contents for future
generations. ;)

Any advice on getting numbers to color correctly?

Thanks,

JD


?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://
www.apple.com/DTDs/PropertyList-1.0.dtd
plist version=1.0
dict
keyBBEditDocumentType/key
stringCodelessLanguageModule/string
keyBBLMColorsSyntax/key true/
keyBBLMIsCaseSensitive/key true/
keyBBLMKeywordList/key
array
stringif/string
stringelse/string
!-- edited for brevity --
stringsetup/string
stringloop/string
/array
keyBBLMLanguageCode/key
stringArdu/string
keyBBLMLanguageDisplayName/key
stringArduino/string
keyBBLMScansFunctions/key true/

keyBBLMPredefinedNameList/key
array
stringHIGH/string
stringLOW/string
stringINPUT/string
stringOUTPUT/string
!-- edited for brevity --
/array

keyBBLMSuffixMap/key
array
dict
keyBBLMLanguageSuffix/key
string.pde/string
keyBBLMIsSourceKind/key
true/
/dict
/array

keyLanguage Features/key
dict
keyClose Block Comments/key
string*//string
keyClose Parameter Lists/key
string)/string
keyClose Statement Blocks/key
string}/string
keyClose Strings 1/key
string'/string
keyClose Strings 2/key
string/string
keyEnd-of-line Ends Strings 1/key
true/
keyEnd-of-line Ends Strings 2/key
true/
keyEscape Char in Strings 1/key
string\/string
keyEscape Char in Strings 2/key
string\/string
keyIdentifier and Keyword Characters/key

string0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz/
string
keyOpen Block Comments/key
string/*/string
keyOpen Line Comments/key
string///string
keyOpen Parameter Lists/key
string(/string
keyOpen Statement Blocks/key
string{/string
keyOpen Strings 1/key
string'/string
keyOpen Strings 2/key
string/string
keyPrefix for Functions/key
string/string
keyPrefix for Procedures/key
string/string
keyTerminator for Prototypes 1/key
string/string
keyTerminator for Prototypes 2/key
string/string
/dict
/dict
/plist

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit