[TxMt] Folding ruby =begin ... =end documentation

Harrison Reiser y2kbugxp90 at gmail.com
Tue Mar 13 13:50:34 UTC 2007


Hey everyperson, I just noticed that the change Allan made isn't quite
accurate to the syntax of =begin and =end.  Ruby only checks that the
start of the line matches; any characters after the 'n' in =begin are
considered part of the embedded document, and anything after =end is
considered Ruby code.  Thus, it should be "^=begin" and "^=end".

Thanks,
Harrison

Simion Ruderich wrote:
> Allan Odgaard wrote:
> > Sorry, this wasn't clear from my message, but I did not checkin this
> > change, I just tested that it would work -- I wasn't sure if folding on
> > these keywords would generally be good.
> >
> > Here is the patch for the change I did, I may check it in later:
>
> I noticed you committed the change to the repository.
> Thanks for this,
> Simon



More information about the textmate mailing list