<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Apr 12, 2006, at 12:31 PM, Martin Ström wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm currently extending the JavaScript and the "Prototype & Scriptaculous" bundles [1] but noticed one thing. When a language has a "sub scope" like in this case (since prototype is a JavaScript framework, the parent scope is JavaScript") shouldn't the scopeName be 'source.js.prototype' instead of 'source.prototype.js'?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Otherwise the reglar JavaScript bundle items wouldn't work, would they? See the attached plist file,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ciao</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Martin</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[1] <A href="http://encytemedia.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle">http://encytemedia.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle</A></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You might want to check out my JavaScript extras stuff.</DIV><DIV>I have much better folding rules, for instance. (better K&R style support & comment folding)</DIV><DIV>I also just added a completion pref for prototype (not yet complete).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://textmate.svn.subtlegradient.com/Bundles/Javascript%20Extras%20">http://textmate.svn.subtlegradient.com/Bundles/Javascript%20Extras%20</A>—%20subtleGradient.tmbundle/</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It's in a SVN repo, so you could just do an export of that url.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Are you expanding the JavaScript syntax, the Prototype & Scriptaculous syntax or making a new one? If yours is any good, i'll probly want to have my wrappers use yours instead.</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style=""><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><SPAN class="Apple-style-span" style="font-size: 14px; ">thomas Aylott—</SPAN></SPAN></FONT><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">subtleGradient—</SPAN></B><FONT class="Apple-style-span" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;"><SPAN class="Apple-style-span" style="text-decoration: underline;; font-size: 9px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="font-size: 9px; -khtml-text-decorations-in-effect: underline; "><A href="mailto:oblivious@subtleGradient.com">oblivious@subtleGradient.com</A></SPAN></SPAN></SPAN></FONT></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>