[TxMt] Re: [Pascal Bundle] Better Function Pattern Suggestion

Ryan Wilcox ryanwilcox at mac.com
Mon Mar 19 02:01:51 UTC 2007


On 3/16/07, at 10:04 AM, Chris Thomas said:

>
>> Can we make the Pascal bundle use the following regular expression  
>> in the meta.function.prototype.pascal scope (so then we can use a  
>> preference to turn off their appearance in the symbol list?
>
>Would this one work as well?
>
>	'\b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.*?\))?;\s*(?=(? 
>i:attribute|forward|external))';

Yes please. Thank you for cleaning up the regex ;)

One question: These won't be listed in the Symbol List anymore right? Or do we have to set a preference on that scope? (I'm not certain how the symbol list works).

Thanks,
_Ryan Wilcox

-- 
Wilcox Development Solutions:          <http://www.wilcoxd.com>
Toolsmiths for the Internet Age            PGP: 0x2F4E9C31



More information about the textmate mailing list