CPU spikes on Lion editing a Plugin.groovy file
any one else having issues editing a *Plugin.groovy. Textmate spikes 100% of the CPU Is it just me?
This means there's a recursion in the grammar. I can't fix it without concrete steps to reproduce.
I can help if you point me in the right direction. All I do on Lion is open any *Plugin.groovy file and it spikes.
Send me one of the files that has this for you and I'll take a look.
https://github.com/nebolsin/grails-quartz/blob/master/QuartzGrailsPlugin.groovy I narrowed it down to this def generateTriggerName = {-> if I remove the "->" everything is fine. as soon as I add "->" back in textmate spikes CPU to 100%
so its not specific to a plugin file if I add def someClosure{-> to any groovy file its goes into the loop and freezes texmate