mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
While it’s easier to execute bundle items from a text view, it doesn’t work when saving documents that are not in the current text view. This is an intermediate refactoring step — handling should (likely) end up in the DocumentSaveHelper class, but we need to improve dealing with command execution first, and by having the callback piggyback on the normal performBundleItem: method, we (temporarily) limit the code which use the command execution API, making refactoring easier.