aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
Commit message (Collapse)AuthorAgeFilesLines
* Add a new SPAppController SPWindowManagement.stuconnolly2012-07-071-0/+1
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-071-9/+9
| | | | dependency on SP specific code and all the tests to build successfully.
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+4
|
* silence compiler warning about id return typesqlprodev2012-03-261-3/+3
|
* - Roll back r3453 to avoid future license issuesrowanbeentje2012-01-101-3/+3
|
* - Fix compilation errors reported by pornelski in Issue #1253rowanbeentje2012-01-041-3/+3
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-141-3/+2
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-141-4/+4
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-9/+4
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-2/+9
| | | | UI code from functional code
* - Add Command-0 as the shortcut to restore the default font size in the ↵rowanbeentje2011-04-111-0/+12
| | | | HTML output window and bundle and field editors, adding commands for the equivalent functionality. This standardises text views with the custom query view and other applications
* - Fix more warningsrowanbeentje2011-03-141-20/+21
|
* fixed compiler warningssqlprodev2011-03-011-1/+2
|
* • some minor code cleaning and improvementsBibiko2011-01-241-1/+5
|
* • removed temporary method getRangeForCurrentWordForCompletionBibiko2011-01-211-72/+0
|
* • sped up getRangeForCurrentWordBibiko2011-01-211-0/+61
| | | | | | | - fixes also the short interruption of the cursor blinking - for completion the old method is used, since it's fine-tuned to use it - fix will come soon - preparation for user-defined word symbols • fixed issue for soft indent if user uses deleteForward: selector (⇧⌫)
* • improved replacing selection of Bundle commands - intersect ranges in ↵Bibiko2011-01-191-2/+3
| | | | | | beforehand for safety reasons • removed Serialize/Prettify JSON Bundles by Toggle JSON Format which auto-detects the JSON format to decide whether to serialize or pretty print
* • fixed bug for Bundle input data selected text or entire contentBibiko2011-01-191-1/+2
|
* • fixed issue to highlight the correct current query after undoing, i.e. ↵Bibiko2011-01-141-0/+2
| | | | | | | do not using the cache • added SP_SELECTED_TEXT_RANGE shell variable for Bundle support of scope Input Text • added 'insertText', 'setText', 'setSelectedTextRange' JavaScript functions to window.system bridge
* • fixed bug for Bundle commands to detect if current textview is the Query ↵Bibiko2011-01-051-1/+1
| | | | | | Editor • added some more Default Bundles
* • fixed issue form redirecting output actions via exit codes if Bundle's ↵Bibiko2010-12-211-3/+4
| | | | | | default output action was None • renamed constants to avoid confusing
* • Bundle supportBibiko2010-12-141-1/+1
| | | | | - fixed updating of a Bundle with the same UUID - fixed issue of Output action "Replace Selection"
* • fixed GUI problem for line numbering in Query EditorBibiko2010-12-141-1/+1
| | | | | | • improved Bundle command script editor • sped up a bit the NoodleLineNumbering by pre-calculation of constants used in a loop • fixed issue to detect the scope Query Editor better and safer for Bundle commands
* • made usage of more constants to avoid double-storing stringsBibiko2010-12-121-1/+1
| | | | • fixed JavaScript alert and confirm window in HTML output window
* • HTML output window's JavaScript supportBibiko2010-12-121-4/+4
| | | | | | - 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
* • Bundle commandsBibiko2010-12-091-2/+9
| | | | - added the shell vars for edited field info as well if Field Editor sheet is used
* • Bundle CommandsBibiko2010-12-091-0/+25
| | | | | | - added shell vars SP_CURRENT_EDITED_COLUMN_NAME, SP_CURRENT_EDITED_TABLE for Input Field scoped commands if invoked from a table cell field editor - added shell var SP_TABLE_DATA_SOURCE (content or query) - fixed table row change trigger for custom query tableView
* • Bundle commandsBibiko2010-12-081-4/+44
| | | | | | | - reworked invocation via keyboard short-cut to allow to fall back to General scope - added chance to redirect the output action via command exit codes; useful if the normal output is an HTML window but an error occurred, now one can display the error as tooltip for instance - unified file hand-shake file names by one uuid - made usage of more constants and renamed some shell vars
* • Bundle CommandsBibiko2010-12-011-0/+1
| | | | | - make sure that each HTML output window will be released - if a triggered command will outputs its result in an HTML window invoke it only if the HTML output window is already open; this enables the user to "switch on/off" such a trigger
* • added chance to cancel an activity - up to now a running Bundle command ↵Bibiko2010-12-011-1/+8
| | | | | | - from the Activities pane (toggable via double-clicking at Table Information header); it's still tentative and the correct cancel icon will follow asap • added notification system for updating the activities pane (SPActivitiesUpdateNotification)
* • Bundle commandsBibiko2010-11-301-1/+1
| | | | | | - before closing a db doc window kill all commands associated to this doc - suppress an error message if a bash command was killed via code 9 - added a temporary and preliminary table view to display command activities (double-click at TABLE INFO header to toggle and refresh it - only for testing purposes - it shows all commands started from that db doc and a General command names)
* • Bundle commandsBibiko2010-11-291-1/+1
| | | | | - register running commands for each SPDatabaseDocument or if the command runs via 'General' for NSApp delegate - kill all running commands before SP will be terminated
* • Bundle Command supportBibiko2010-11-261-2/+15
| | | | | | - added shell var SP_ICON_FILE - a bundle command which outputs its result as HTML window will write the data in the same window, ie it won't be create each time a new window; the window will be identified by the bundle's uuid - fixed issue while saving a short-cut in keybinding.dict format, now it ignores possible diacritics - maybe bug in ShortcutRecorder for method [aRecorder keyCharsIgnoringModifiers] since in the objectValue it's set correctly
* • Bundle EditorBibiko2010-11-231-2/+2
| | | | | | | - fixed gui arragement - suppress error message if no ouptut key found in command.plist • added sequelpro://ID@/passToDoc/SelectTableRows/1/3/4/.. scheme command which selects given rows in current table if a SPCopyTable is the first responder; not valid given rows are ignored • added SP_SELECTED_ROW_INDICES as passed shell variable for Data Table scope
* • Bundle EditorBibiko2010-11-231-36/+47
| | | | | | | - bailed out from approach to assign more than one scope to Bundle commands; now there're three scopes available: Input Field (incl. Query Editor since it only differs in current_query and insert_as_snippet which falls back to current_line and tooltip message), Data Table, and General (which means that these commands are available app-wide) - moved "Disable Command" to scope popup menu since it's related - Input Field and Data Table commands will be shown as submenus in the Bundles main menu; all General commands will be added without creating a special submenu (only Category submenus will be generated) - fixed and simplified several issues
* • Bundle EditorBibiko2010-11-221-0/+6
| | | | | | | | | | - added output action "Show as HTML" • Bundle HTML output - finished implementation - added print support (eg for printing reports) - added text size resizing - added link support - added new window support
* • added line numbering and current line highlighting to Bundle Editor's ↵Bibiko2010-11-211-4/+5
| | | | | | | command text view • made each Bundle in/ouptut file name unique to allow to run different Bundle commands at the same time • fixed minor issues for Bundle Editor
* • Bundle supportBibiko2010-11-161-34/+1
| | | | | | - further simplifications and centralizations - runBashCommandWithEnvironment: now it can execute each script command whose first line begins with #!/... natively - added some more shell variables
* • Bundle supportBibiko2010-11-161-38/+40
| | | | | - added skeleton for scope datatable support - removed unnecessary code
* • Bundle supportBibiko2010-11-151-5/+22
| | | | | | - started to populate the main menu item Bundles [still hidden] - enabled key equivalents for NSTextViews - distinguishes between Query Editor scope and text input scope via menu item validation inside main menu Bundles
* • Bundle supportBibiko2010-11-151-0/+261
| | | | | | | - outsourced code to SPAppController to centralise Bundle support and make it available for different scopes (query editor, input text fields, data tables etc.) - store bundle info scope-based - added input text field support - made usage of constants
* • fixed bug in Move Line DownBibiko2010-10-251-1/+1
| | | | - fixes issue in 873
* • added to each NSTextView the possibility to move the current line or the ↵Bibiko2010-10-251-2/+60
| | | | | | selected lines one line up or down by using the short-cuts ^⌘↑/↓ - fixes issue 873
* • improved "Select Line"Bibiko2010-10-251-2/+5
| | | | - it selects the entire current line even if it's wrapped
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-3/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Add missing SVN properties and general comments tidy up.stuconnolly2010-09-211-1/+0
|
* Rename CMCopyTable to SPCopyTable.stuconnolly2010-08-191-2/+2
|
* • removed initial transition of insertion NSNull into table's dataSource ↵Bibiko2010-02-191-8/+0
| | | | from last commit r1824 since that part should be moved maybe into SPTableTextFieldCell
* • fixed color setting for editing a table cell which is set to NULL if ↵Bibiko2010-02-191-0/+9
| | | | | | | | table columns are reordered by the user • initial transition to insert via - up to now - ^⇧N a [NSNull null] object into the table's data source directly without parsing a possible @"NULL" string - it's a first test - and works only for CMCopyTable subclassed tables