[SVN] Javascript Punctuation Scopes

thomas Aylott oblivious at subtlegradient.com
Wed Aug 23 17:29:46 UTC 2006


On Aug 23, 2006, at 11:11 AM, David Powers wrote:
> On 8/23/06, thomas Aylott <oblivious at subtlegradient.com> wrote:
>> String feels like it should be a root element.
>> Logically it might make a lot of sense to move it in under  
>> something more
>> broad.
>> But i can't conceive of an actual use for it.
>>
>> When would i ever want to color all data a single color?
>> When would i ever want a snippet that only works in all of data,  
>> including
>> strings?
>> It just wouldn't ever get used like that, afaik. And would  
>> unnecessarily
>> complicate the user's experience.
>>
>> However, the contents of arrays and objects and tables and all  
>> kinds of
>> other random data structures would certainly all be grouped  
>> together in a
>> theme all the time.
>>
>>  thomas Aylott — subtleGradient — CrazyEgg
>
> The most obvious use I can think of for a meta.data type of scope is
> to grab the current data structure in a single cut/copy.

Well, how would you do that?
You could use the Select Current Scope action.
But that would let you select the current scope no matter what it is,  
string or data.string.

thomas Aylott — subtleGradient — CrazyEgg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20060823/e0c91c12/attachment.html>


More information about the textmate-dev mailing list