[TxMt] Single Quote as Comment

michael at sacisolutions.com michael at sacisolutions.com
Wed Oct 3 12:10:51 UTC 2007


I'm trying to create a bundle for RealBasic.  I've made some  
progress, but I keep getting stumped in trying to create a single  
line comment, (which in RealBasic is either  //  or '
The double-forward slash works fine, but the single quote doesn't.


This is the code:

{	name = 'comment.line.single-quote.myRB';
			match = "(\').*$\n?";
			captures = { 1 = { name =  
'punctuation.definition.comment.myRB'; }; };
		},



Thanks,

mvreade


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20071003/7f39054b/attachment.html>


More information about the textmate mailing list