Super stuff - works like a charm! I'm always pleasantly surprised at how helpful and responsive the Textmate community is - many thanks, Michael.
Nigel
On 23 Jan 2008, at 06:49, Michael Sheets wrote:
On Jan 16, 2008, at 9:52 AM, Nigel Green wrote:
Is it possible to change the language grammar so that the headings with no blank line above are picked up? At the moment I have to leave a blank line between all my folded text and I'd like not to have to. I've had a go at this but my regex-fu is not strong and I ended up breaking all the highlighting...
Just committed a fix for this. If your interested the reason it didn't work was the meta.paragraph block needed to look ahead to make sure it ended if a heading started the following line.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate