[TxMt] [ANN] Select Balanced HTML Tag!!!3!

Hans-Jörg Bibiko bibiko at eva.mpg.de
Fri Nov 23 23:38:23 UTC 2007

On 24.11.2007, at 00:15, Thomas Aylott - subtleGradient wrote:

> On Nov 23, 2007, at 5:11 PM, Hans-Jörg Bibiko wrote:
>> Please try it out and give a feedback ;)
> Try it out inside the XML of the tmMacro file itself. Odd behavior.

Do you mean that <string>\xFFF3</string> will be selected?

Delete this line and it'll work because the first command in that  
macro searches for \xFFF3 to set the seach parameters for findNext.

Maybe I will change this to a real unused Unicode character.

> Any way to make it select the insides of the tag instead? Like BBEdit.
Do you mean:
['|' := caret]

<img src="fo|o">

to select the <img src="foo">

> Maybe it would make sense to make a different Macro for that so  
> that they can have different triggers
Yes, I agree because that macro is called "Select balanced tags"

I will see ;)


More information about the textmate mailing list