[TxMt] Bundle; REMARK question

Allan Odgaard throw-away-1 at macromates.com
Tue Jan 24 12:32:20 UTC 2006

On 24/1/2006, at 11:04, Patrick Mast wrote:

> I'm making a "DOS command prompt". It uses REM in front of a line  
> to "remark" that line.
> How can I set this into the bundle.

Did you read about language grammars [1]?

The rule would be something like (I assume one whitespace character  
is required behind REM):

    {  name = "comment.line.dos";
       match = "^\s*REM\s.*$";

[1] http://macromates.com/textmate/manual/language_grammars

More information about the textmate mailing list