[TxMt Plugins] TmCodeBrowser as plugin problems
Allan Odgaard
throw-away-1 at macromates.com
Thu Nov 3 12:58:59 UTC 2005
On 03/11/2005, at 12.26, Allan Odgaard wrote:
> I can fire a notification for this (in next build). [...]
And here are the constants:
NSString* TMDocumentLanguageDidChange = @"TMDocumentLanguageDidChange";
The name of the actual notification. The user info contains:
NSString* TMDocumentURL = @"TMDocumentURL";
The (file) URL of the document. This key is not present for untitled
documents.
NSString* TMDocumentLanguageName = @"TMDocumentLanguageName";
The display name of the language (e.g. “Objective-C”).
NSString* TMDocumentLanguageScope = @"TMDocumentLanguageScope";
The root scope for that language (e.g. “source.objc”).
NSString* TMDocumentWindow = @"TMDocumentWindow";
The NSWindow object which holds the document.
This is available starting with r687 (which is online).
More information about the textmate-plugins
mailing list