[TxMt] Re: Spelling in comments

Mikael Høilund mikael at hoilund.org
Fri Aug 8 16:44:26 UTC 2008


Personally, I use the convention of "#" to start a code comment, and  
"# " to start a text comment. I'm not sure if it's possible to modify  
the Ruby grammar to allow only spell checking for only lines with "#  
", nor how difficult that would be.

-- 
a,b=%Q=Z,O^NPO\r4_PV\\PI\x15^-\x0\v=,email=%\%%%c\%115%%# Mikael  
Hoilund, CTO
okay=%#;hmm=(0...a.size).map{|i|((a[i]-email[i]+2)%128).# of Meta.io  
ApS from
chr}.join;!email.gsub!'o',"%c%c"%[3+?0.<<(2),?G.~@];aha=#############  
Denmark
hmm.scan(/#{'(.)'*5}/);!puts(email[1..-12]+aha.shift.zip(*aha).join)#  
Ruby <3




More information about the textmate mailing list