#205 new
Thomas Aylott

Rq: Parser: Scope Injection

Reported by Thomas Aylott | February 1st, 2011 @ 09:01 PM

Espresso.app and TextMate 2 (lol, vaporware) allow Scope Injection.

e.g. You can write an HTML language parser that know nothing about CSS or ERB or PHP or JS. And then you can write a CSS language file that injects CSS scopes into the style="…" attributes and <STYLE>…</STYLE> tags.

In TextMate 1.x there is no support for Scope Injection.
That drastically complicates languages like HTML. It must include support for CSS and JS and PHP and ERB and ASP, etc… or else you must fork the language parser in order to add support for those things.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket