[TxMt] Oddity with "Insert Open/Close Tag (With Current Word)"

Trevor Harmon trevor at vocaro.com
Wed May 3 05:33:57 UTC 2006


On May 2, 2006, at 10:18 PM, Eric O'Brien wrote:

> "pudding" gives me
>
>    <pudding></pudding>  but
>
> "chocolatepudding" gives me
>
>    <chocolatepudding />

It has to do with the fact that "col" (which needs no closing tag in  
HTML) is a substring of the second one. However, looking at the regex  
in the bundle, I still don't see how this could happen.

Trevor




More information about the textmate mailing list