Support, Continuing my previous message, I was reading the SDK documentation. There I found that there are additional color codes available:
TagColor, AnchorTagColor, ImagetagColor, AttributeNameColor, AttributeValueColor, ProcessingInstructionColor Is it possible to define a regex key that will allow the definition of these objects. What I'm getting at is that there are many instances where a language will have more interesting bits than just keywords, comments and strings (to which is the limit we can define in a CLM) that would be helpful to colorize. Since you already have color codes defined for these items it would be a great help if we could define them in a CLM and make our color coding more robust. Thanks, Matt >From the SDK Documentation: There are some predefined color codes, in addition to the ones mentioned in “Generating Syntax Runs”, that are used by the built-in HTML language module. kBBLMSGMLTagColor kBBLMSGMLAnchorTagColor kBBLMSGMLImageTagColor kBBLMSGMLAttributeNameColor kBBLMSGMLAttributeValueColor kBBLMXMLProcessingInstructionColor On Jan 19, 2011, at 11:53 PM, Matt Martini wrote: > Support, > > I am working on a few Codeless Language Modules and I had some questions. > > In the plist we can define Keywords, Comments, and String Constants (see > below). > In addition to these attributes, if we look at the color scheme for a > language we can set > color attributes for Predefined names, ctags Symbols, and Numeric constants. > My question is > how do I define these elements? What is the "key" that will activate them? > > Also, Is there a reason that we can't use regexes to define keywords? We can > use them for > Comments and Sting constants, so you have the code available, is there any > reason not > to make regex avail for keywords? Are there any plans for this going forward? > > Thanks, > > Matt > > > > > Keywords <key>BBLMKeywordList</key> > Comments <key>Comment Pattern</key> > String constants <key>String Pattern</key> > > Predefined names ??? > ctags Symbols ??? > Numeric constants ??? > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
