[TxMt] folding issue with loop ... end loop (vhdl bundle)

Andreas Wahlin andreaswahlin at bredband.net
Mon Aug 15 22:02:20 UTC 2005


And while we request folding stuff, how about javascript's

this.func = function(possible, arguments) { ... code ... };

I'm sure there are others as well, but it's the one I use ..
oh, yes ...

Object.prototype.func = function (possible, arguments) { ... code ... };

and

Object.func = function (possible, arguments) { ... code ... };

seems that
... = function (possible, arguments) { ... code ... };
really is the trigger

this can also be
... = new Function("possible", "arguments", "code");

Andreas


On Aug 15, 2005, at 15:16 , Jeroen van der Ham wrote:

> On 15-08-2005 15:12, Peter Vohmann wrote:
>
>>     foldingStartMarker = "(?i:^\\s*(\w+:)?((entity|architecture|
>> configuration|component|package|process|function|procedure|case|if|
>> for|while|loop)\\b))";
>>
>
> Watch out: you need to escape \'s in the regexp and you have "\w+"  
> there
> which should be "\\w+".
>
> Jeroen.
>
> -- 
>             <http://www.je-ju.net/~jeroen/blog/>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>




More information about the textmate mailing list