aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-12 13:32:48 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-12 13:32:48 +0000
commite8f4c4a9e16b0747647cc914c13d7597800b108d (patch)
treede3b19850afe7b07c5d84e0321e5bbb63fde8877 /Source/SPConstants.m
parente3a67c9070a9c331c68503be481a6eda18402d96 (diff)
downloadsequelpro-e8f4c4a9e16b0747647cc914c13d7597800b108d.tar.gz
sequelpro-e8f4c4a9e16b0747647cc914c13d7597800b108d.tar.bz2
sequelpro-e8f4c4a9e16b0747647cc914c13d7597800b108d.zip
• HTML output window's JavaScript support
- changed the approach to make the HTML output window the key window; now it could be done directly via a JavaScript command: window.system.makeHTMLOutputWindowKeyWindow() - added the chance to ask Sequel Pro via JavaScript for run-time shell variables via window.system.getShellEnvironmentForName('shell_var_name') • more usage of constants
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r--Source/SPConstants.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m
index 67c51b53..e6ce8771 100644
--- a/Source/SPConstants.m
+++ b/Source/SPConstants.m
@@ -320,6 +320,11 @@ NSString *SPBundleShellVariableCurrentEditedColumnName = @"SP_CURRENT_EDITE
NSString *SPBundleShellVariableSelectedTable = @"SP_SELECTED_TABLE";
NSString *SPBundleShellVariableCurrentEditedTable = @"SP_CURRENT_EDITED_TABLE";
NSString *SPBundleShellVariableDataTableSource = @"SP_DATA_TABLE_SOURCE";
+NSString *SPBundleShellVariableCurrentQuery = @"SP_CURRENT_QUERY";
+NSString *SPBundleShellVariableSelectedText = @"SP_SELECTED_TEXT";
+NSString *SPBundleShellVariableCurrentWord = @"SP_CURRENT_WORD";
+NSString *SPBundleShellVariableCurrentLine = @"SP_CURRENT_LINE";
+NSString *SPBundleShellVariableSelectedRowIndices = @"SP_SELECTED_ROW_INDICES";
const NSInteger SPBundleRedirectActionNone = 200;
const NSInteger SPBundleRedirectActionReplaceSection = 201;