I'm trying to make some changes to the Language without losing the ability to get updates (to the language).  I just want to add in a couple extra things.  I want to have my documentation a different color from the commented out code.  Also, i want to have a (space)* inserted at the beginning of newlines when I'm using the docblock format.
<br><br>Here's what I've come up with:<br><br>I created a new Language under JavaScript with this:<br>{    scopeName = 'source.js.dave';<br>    fileTypes = ( 'js' );<br>    foldingStartMarker = '^.*\bfunction\s*(\w+\s*)?\([^\)]*\)(\s*\{[^\}]*)?\s*$';
<br>    foldingStopMarker = '^\s*\}';<br>    patterns = (<br>        {    name = 'comment.documentation.docblock.js';<br>            begin = '/\*\*';<br>            end = '\*/';<br>            captures = { 0 = { name = 'punctuation.definition.comment.js
'; }; };<br>        },<br>        {    name = 'comment.documentation.line.triple-slash.js';<br>            match = '(///).*$\n?';<br>            captures = { 1 = { name = 'punctuation.definition.comment.js'; }; };<br>        },
<br>        {    include = 'source.js'; },<br>    );<br>}<br><br>Is there a better way to do this?<br>thanks<br><br>-dave<br><br><div><span class="gmail_quote">On 10/26/06, <b class="gmail_sendername">Allan Odgaard</b> <
<a href="mailto:throw-away-1@macromates.com">throw-away-1@macromates.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 27. Oct 2006, at 03:44, Dave Grijalva wrote:<br><br>> Is it true that if I make changes to any of my bundles, they will<br>> no longer<br>> be updated by TextMate updates?<br><br>No<br><br>> Is it possible to make a separate bundle that just encompases my
<br>> changes and have them apply to another bundle?<br><br>Depends on what exactly you wish to change.<br><br>> If I've missed this in the manual, can you point me at where I can<br>> find it?<br><br><a href="http://macromates.com/textmate/manual/">
http://macromates.com/textmate/manual/</a><br>bundles#editing_default_bundles_items<br><br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">
textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate
</a><br></blockquote></div><br>