[TxMt] [ANN] Select Balanced HTML Tag!!!2!
Hans-Jörg Bibiko
bibiko at eva.mpg.de
Thu Nov 22 20:21:42 UTC 2007
On 22.11.2007, at 20:53, Thomas Aylott - subtleGradient wrote:
> Works better than mine sofar.
> Except when between any kind of quotes.
>
What do you mean?
I found it quite convient to do this [ '|' := cursor]:
<span id="bla|bla">foo</span>
invoke the macro and it selects:
<span id="blabla">
do it again and it selects:
<span id="blabla">foo</span>
This is also quite useful if one is in XML mode.
> I recommend looking into existing html parsing solutions. This is
> not the first time people have needed to parse all kinds of crazy
> html.
Yes. I will look for it. For now I'm glad that I found a method to
select something by using a macro ;)
--Hans
More information about the textmate
mailing list