mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 21:57:54 -05:00
For example the bundle item “Execute Line / Selection” will (without a selection) show as “Execute Line” in the menu, and now also if the command causes the error sheet to appear or the user press ⌃C / ⌘. to prematurely kill it.
12 lines
571 B
Objective-C
12 lines
571 B
Objective-C
#ifndef DOCUMENT_COMMAND_H_KLPQDYHU
|
|
#define DOCUMENT_COMMAND_H_KLPQDYHU
|
|
|
|
#import <document/document.h>
|
|
#import <document/collection.h>
|
|
#import <command/parser.h>
|
|
|
|
void run_impl (bundle_command_t const& command, ng::buffer_t const& buffer, ng::ranges_t const& selection, document::document_ptr document, std::map<std::string, std::string> env, std::string const& pwd);
|
|
void show_command_error (std::string const& message, oak::uuid_t const& uuid, NSWindow* window = nil, std::string commandName = NULL_STR);
|
|
|
|
#endif /* end of include guard: DOCUMENT_COMMAND_H_KLPQDYHU */
|