[SVN] Punctuation Scope

Michael Sheets mummer at whitefalls.org
Tue Aug 22 08:26:40 UTC 2006


On Aug 21, 2006, at 8:28 AM, David Powers wrote:

> So, punctuation always delimits in some way, but we also want to  
> have some indication of it's real use... at the same time we want  
> to indicate the textual manner in which the punctuation is used.   
> Maybe splitting the scope's second and thir levels up into  
> syntax.function makes sense - as in:

I like it, the simplification seems to provide the same power with  
less complexity. I vote we accept yours and move forward :)

> * punctuation.other...
>
>     Every scope needs an other.  There are simply too many  
> languages and too many uses to
>     be confident that a set second level will capture everything  
> appropriately.  It should, of course
>     be highly limited in its use.

On this I say we leave it in for the moment, but see if it's really  
needed as we transition over the current languages. If we can't find  
a need for it in 125 languages we never will, and with the highly  
generalized scope you laid out I can't see any reason we should.

I'll expound a bit on your proposal to outline the sub-scopes for the  
common items then we can hopefully move on. :)

And a final note, I also liked your begin/end better than starting/ 
ending that I had in there; if only because that's what the language  
grammars use so probably best to keep the same terminology.



More information about the textmate-dev mailing list