I was able to resolve this by removing the local bundle, then entering the grammer again via the bundle editor.



On Tue, Sep 11, 2012 at 7:15 PM, Curt Sellmer <sellmerfud@gmail.com> wrote:
More information:

I have a local java bundle with grammer for java property files that overrides the one in the distributed java bundle.  It seems that my local bundle is no longer being recognized and so the grammer from the distributed bundle is being used which contains the "kvp" scopes.  (Still not sure where this is being stored on disk). 

I tried moving my local bundle and restarting TM2. Then quitting, moving my bundle back into place (~/Library/Application Support/Avian/Bundles/Java.tmbundle) then restarting TM2 again, but it still does not recognize my bundle.

My bundle contains an info.plist file with <key>isDelta</key><true /> and this was working in previous builds.

Any ideas?  

Thanks.

On Tue, Sep 11, 2012 at 6:58 PM, Curt Sellmer <sellmerfud@gmail.com> wrote:
Not sure in what build that started happening because I haven't edited a java properties file in some time.  But with my current build (9307) when I set the file scope to "java.properties"  I'm seeing incorrect scoping.  In a empty file if I type ctrl-shift-P it displays the follow scopes:

source.java.properties
kvp.multiline.properties
string.kvp.multiline.properties
attr.untitled
attr.os-version.10.7.4

The source.java.properties is expected, but I'm not sure where kvp.multiline.properties is getting picked up.  

It is wreaking havoc with my properties files and assigning a scope of kvp.dangling.space.between.key.and.equalsign.properties when I enter a valid property value.

Any idea where these kvp scopes are being applied?

I searched all of the files (using ack --all kvp) in:
/Users/curt/Library/Application Support/Avian/Prinstine Copy
/Users/curt/Library/Application Support/Avian/Bundles
/Users/curt/Library/Application Support/TextMate/Pristine Copy
/Users/curt/Library/Application Support/TextMate/Bundles
/Library/Application Support/TextMate/Bundles

This did not find a single instance of "kvp".