<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Jul 16, 2006, at 4:35 PM, Allan Odgaard wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 16/7/2006, at 20:14, Thomas Aylott wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">A <SPAN class="Apple-converted-space">  </SPAN>trunk/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Preferences/JS Indent.tmPreferences</DIV> </BLOCKQUOTE><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 believe these should be in the JavaScript bundle. So should any pure JS snippets as well.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Done.</DIV><BR><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">A <SPAN class="Apple-converted-space">  </SPAN>trunk/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript + Prototype Bracketed.tmLanguage</DIV> </BLOCKQUOTE><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; ">This bracketed thing, that’s to markup brackets with meta scopes for your special nested coloring? I think to keep confusion down (two syntaxes for the same thing) either this or the standard should be removed.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>There's a lot more to it than that.</DIV><DIV>It's really meant to be for Javascript what the XHTML strict syntax is for xhtml.</DIV><DIV>The idea is that it should better understand the larger parts of the language.</DIV><DIV>I just upgraded it to scope the {…} of functions separately from javascript object {…}.</DIV><DIV>The first useful upshot of all that is the fancy coloring possibilities that it allows.</DIV><DIV>But you could use the scopes to make function block specific snippets or what-have-you.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The reason i don't just use it for prototype or javascript itself is that it drastically reduced parsing performance on large and complex scripts (like the prototype library).</DIV><DIV>Other than that, it doesn't hurt anything.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Maybe I should move it into Experimental?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">A <SPAN class="Apple-converted-space">  </SPAN>trunk/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript + Prototype.tmLanguage</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">A <SPAN class="Apple-converted-space">  </SPAN>trunk/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/Prototype & Scriptaculous.tmLanguage</DIV> </BLOCKQUOTE><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; ">We probably want to be consistent and either use + or &. Probably though just name them “Prototype” and “Prototype & Scriptaculous” as the latter also includes JavaScript!?!</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Changed to use "&". Sharing a single repo should help keep inconsistencies from cropping up in the future.</DIV><DIV>Thought i'd fixed that before i posted it. Guess i didn't. Sorry.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I wasn't going to use JavaScript in the name, but... I wanted to use the <B>⌘⌥⇧J</B> keystroke for all the javascript dialects (<SPAN class="Apple-style-span" style="font-size: 10px; ">Prototype, MochiKit, Script.aculo.us, Moo.FX, jWhatever, etc...</SPAN>). Without JavaScript in the name it wouldn't make as much sense to have that keystroke. I guess that's pretty stupid reasoning though.</DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please also never add new languages which has a file types array containing extensions already taken by default languages.</DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Fixed.</DIV><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; "><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; "><SPAN class="Apple-style-span" style="font-size: 14px; ">thomas Aylott—</SPAN></SPAN></SPAN></FONT><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">subtleGradient</SPAN></SPAN></B></DIV></SPAN><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV><BR><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; "><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-size: 14px; "><SPAN class="Apple-style-span" style="font-size: 14px; "><SPAN class="Apple-style-span" style="font-size: 14px; ">thomas Aylott</SPAN></SPAN></DIV><DIV><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">subtleGradient</SPAN></SPAN></B></DIV><SPAN class="Apple-style-span" style="text-decoration: underline;; -khtml-text-decorations-in-effect: underline; "></SPAN></SPAN><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>