> Wouldn't it be possible to just define the elements that you wish to
> fold as 'functions' in a CLM?

Lasso allows definition of what it calls "Custom Tags" and "Custom
Types", which are in some respects similar to PHP functions. These can
named whatever the coder chooses, and can be created in a separate file
for loading when the server process starts, or these can be done within
the contents of a Lasso file. It would be handy to have code folding
points at all of the major structures of the language. Is what you
suggest flexible enough to allow for these?


No idea. It depends on whether you can catch all the 'major structures
of the language' in one regular expression, I guess. Seth is right
that it would be a somewhat hackish solution, though. Basically it's
'overloading' the function pattern to do something it wasn't meant to
do, with possibly unwanted side effects like the function popup menu
becoming unusable.

JP

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to