On Friday, March 14, 2014 7:25:48 PM UTC-4, ascarter wrote:
 

> pmuellr (https://gist.github.com/pmuellr/1004413) and evandavis (
> https://gist.github.com/evandavis/3219871). The function/method names 
> seem to be working but I've been unable to come up with the right regex for 
> capturing the full function block so folding doesn't work yet.
>

Andrew,

I've struggled with this myself for a while. The best thing I came up with 
is writing tests for the various Coffeescript behaviors around folding, 
then write a regex to pass the tests.

I've created a gist of my initial work - mostly created on Pythonista on my 
iPad, so excuse the formatting. Gist: 
(https://gist.github.com/rwilcox/9599091). I hope it helps in some way.

Later,
_Ryan Wilcox 

-- 
This is the BBEdit Talk public discussion group. 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>

--- 
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 [email protected].
To post to this group, send email to [email protected].

Reply via email to