Hi All, BBEdit 13.1 beta..
Messing around with a CLM here, trying to follow this: http://www.barebones.com/support/develop/clm.html <http://www.barebones.com/support/develop/clm.html> Comments If I understand this correctly: http://www.barebones.com/support/develop/clm.html#UnCommentMarkers We should not use these ‘old’ types any more: <key>Open Line Comments</key> <string>-- </string> <key>Open Block Comments</key> <string><![CDATA[<!-- ]]></string> <key>Close Block Comments</key> <string><![CDATA[-->]]></string> But use the new BBLMCommentLineDefault, BBLMCommentPrefixDefault/BBLMCommentSuffixDefault? <key>BBLMCommentLineDefault </key> <string>-- </string> <key>BBLMCommentPrefixDefault</key> <string><![CDATA[<!-- ]]></string> <key>BBLMCommentSuffixDefault</key> <string><![CDATA[-->]]></string> If I use the old tags, comments are color coded just fine and blocks are foldable, not if I use the new ones. In any case Un/Comment line/Block does not seem to work. What am I missing? Do I need to make a Comment Pattern? ‘Functions/Parts of the file' The configuration files I try to make a CLM for, has special areas in the file, inclosed in HTML-like tags: <area-one> ..config here.. </area-one> <another-area> ..config here.. </another-area> It seems like I can’t do like this: <key>BBLMKeywordList</key> <array> <string><![CDATA[<area-one>]]></string> <string><![CDATA[</area-one>]]></string> So I guess I need to make a Structural Element with a Function Pattern, that would also make it foldable, and make the RegEx specific enough to find the open & close tags.. Am I on the right path? ;-) -- Jakob Peterhänsel "Be a part of the Love Generation - carry a smile, not a gun." - JP, May 2006 Phone: +45 29808600 -- 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: <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 bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/124F4B48-1D53-4C83-AF3B-75BD154A2FFB%40gmail.com.