On 5/15/20 at 11:26 AM,
maroo...@gmail.com (Jakob
>We should not use these ‘old’ types any more: [...]
>
>But use the new BBLMCommentLineDefault, BBLMCommentPrefixDefault/BBLMCommentSuffixDefault?
The "Open Line Comments", "Open Block Comments", and "Close
Block Comments" values are used for interpreting the text, so
you need them. They do not affect the behavior of Un/Comment Lines/Block.
The "BBLMCommentLineDefault", "BBLMCommentPrefixDefault", and
"BBLMCommentSuffixDefault" values alter the behavior of
Un/Comment Lines/Block, and do not play any part in syntax
coloring or function scanning.
So, you need them both (and their values may be the same).
>‘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: [...]
>
>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? ;-)
Probably. :-) Trying to parse HTML-like things with regular
expressions, or expressing them with a codeless language module,
is generally a losing battle; but if you constrain things enough
you may be able to make it work.
R.
--
Rich Siegel Bare Bones Software, Inc.
<
sie...@barebones.com> <
https://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.