Files
textmate/Frameworks/BundleEditor/default.rave
Allan Odgaard 866ae0f770 Add TMFileReference framework
The motivation is to have a universal type for a file that knows whether or not the file is open/modified, if it has SCM status, what icon to use for the file, and supporting bindings for the latter (incase icon is updated).

This does sound like a “document” but there are many places where we just want to show a file icon (with SCM and “modified” status) without instantiating a full document, for example folder pop-up menus.

We would also like a way to “close” the file, incase it is open, for example from file browser or “open quickly”, which is not really a document action per se, furthermore, we may delete the file from the file browser, which again, is more of a file than document action, but if the file is “open” somewhere, it should be notified about the delete operation.
2021-05-17 21:19:18 +02:00

10 lines
306 B
Plaintext

target "${dirname}" {
require BundlesManager OakAppKit OakFoundation OakTextView TMFileReference bundles cf command document io ns plist regexp settings text
headers src/BundleEditor.h
files resources/* templates/*.plist gfx/**/*.png "Resources"
sources src/*.{cc,mm}
frameworks Cocoa AddressBook
}