Date: Mon, 30 Jan 2012 11:10:32 +0000
From: "ld@ldaley.com" <ld@ldaley.com>
To: "TextMate users" <textmate@lists.macromates.com>
Subject: [TxMt] Re: TM Bundle for Java - Improved Java Properties
grammar
Message-ID: <6ACE76A4-AF40-4943-AA54-0805C2990BDA@ldaley.com>
Content-Type: text/plain; format=flowed
On 29 Jan 2012, at 6:15, John Joyce wrote:
Hello List,
After ages of consternation with viewing Java Properties files that
had multiline values in KVPs not properly syntax colored, I have
created a better language grammar for Java Properties.
It does several things...
First it captures comments of course.
Then single-line KVPs
Then KVPs with dangling spaces or tabs between the key and the = sign.
(These stand out awesomely during fast scrolling to find where they
are and fix them)
Then multi-line-value KVPs.
One can never be 100% sure of these things, but I feel fairly
confident with it because the multi-line-value KVPs I have dealt with
are actually HTML emails stored in KVPs. :)
By the way, it looks best in Sunburst them.
Please consider it for inclusion.
If you submit a pull request for
https://github.com/textmate/java.tmbundle I'll happily include it.
Thanks!
LD.
Submitted pull request.