[TxMt] assigning a scope to an empty line

Oliver Taylor oliver at ollieman.net
Sun Dec 18 00:12:20 UTC 2005


Il giorno 17/dic/05, alle ore 22:22, Oliver Taylor ha scritto:

>> I would assume that the following would assign a scope to an empty
>> line, but it's not working. Any ideas? Is this possible?
>>
>> {	name = 'splay.empty';
>> 	match = '^$';
>> },
>
> IIRC you have to match the \n as well in order to match the whole line

Yeah, I've tried every iteration, \n^$, ^\n$, ^$\n ... as you might  
be able to tell I'm really bad with regexp.

any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20051217/6f6fc752/attachment.html>


More information about the textmate mailing list