aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-02-06 12:29:56 +0000
committerBibiko <bibiko@eva.mpg.de>2010-02-06 12:29:56 +0000
commit80e609859d582b518b29735ad5314a687ee10abb (patch)
treeb810cea8846a74f9f919d80fb608fafedd4deac1 /Source/CMTextView.h
parentcc40f75fbe1896eb69d84a8f00ed20b6bb70bd28 (diff)
downloadsequelpro-80e609859d582b518b29735ad5314a687ee10abb.tar.gz
sequelpro-80e609859d582b518b29735ad5314a687ee10abb.tar.bz2
sequelpro-80e609859d582b518b29735ad5314a687ee10abb.zip
• further preparations to allow to run any bash command(s) incl. any scripts like Perl, Ruby, AppleScript etc inside the text macro snippets of the query favorites and insert the result for such a bash command as snippet à la:
SELECT ${1:$(cat ~/Desktop/foo.txt)} or ${1:$(open 'http://www.sequelpro.com')} - such a task can be interrupted by pressing ⌘ + . anytime - if the task doesn't exit successfully the error will be written into the the standard Console log - not yet activate
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index a7c0ccea..c278c2c3 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -139,4 +139,6 @@ static inline id NSMutableAttributedStringAttributeAtIndex (NSMutableAttributedS
- (BOOL)isSnippetMode;
+- (NSString *)runBashCommand:(NSString *)command;
+
@end