Howdy. Currently textmate supports Descendant selectors and Grouping. I would like to request support for Child selectors as well.
That would be like "string>source" instead of "string source"
<img style="<%= "stuff and #{ "things" }" %>" /> the word "things" is scoped as "meta.tag string source string source string"
The Descendant selector "meta.tag string" affects both of the tag attribute string and all of the embedded source strings. But if it were a Child selector of "meta.tag>string", it would only affect the tag attribute string.
thomas Aylott—subtleGradient
On 14/8/2006, at 18:34, thomas Aylott wrote:
[...] <img style="<%= "stuff and #{ "things" }" %>" /> the word "things" is scoped as "meta.tag string source string source string"
The Descendant selector "meta.tag string" affects both of the tag attribute string and all of the embedded source strings. But if it were a Child selector of "meta.tag>string", it would only affect the tag attribute string.
But the attribute string contains the embedded code string, so I am not sure it works as you think it does, or I do not understand what you want. Is this for styling? Could you please give exact examples of what you want to achieve.
There is a request for child selectors [1] but my view has so far been that these do not solve the majority of problem I see -- I want a way to limit the depth, so to speak, of the match, sort of like negative look-ahead -- this will be very important for scope injection, so I definitely want to extend on scope selectors, but currently do not see child selectors as offering much of a solution (I might provide them anyway, but I am moving slowly so to not use up all the good characters on operators which will not see much use, and then be left with weird operators for what we actually will use ;) )
On Aug 14, 2006, at 10:29 PM, Allan Odgaard wrote:
There is a request for child selectors [1] but my view has so far been that these do not solve the majority of problem I see -- I want a way to limit the depth, so to speak, of the match, sort of like negative look-ahead -- this will be very important for scope injection, so I definitely want to extend on scope selectors, but currently do not see child selectors as offering much of a solution (I might provide them anyway, but I am moving slowly so to not use up all the good characters on operators which will not see much use, and then be left with weird operators for what we actually will use ;) )
I repent. And eagerly await whatever you come up with. I'm sure you have way more time to think it through that I do.
Thanks
thomas Aylott—subtleGradient