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

Chris Thomas chris at cjack.com
Thu Mar 22 00:20:11 UTC 2007


On Mar 18, 2007, at 10:01 PM, Ryan Wilcox wrote:

> 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).

Either way, I'll make sure that it doesn't show up in the Symbol List.

Chris



More information about the textmate mailing list