aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditSheetTextView.m
Commit message (Collapse)AuthorAgeFilesLines
* - Rework edit sheet find/replace handling; instead of altering the main ↵rowanbeentje2012-04-241-17/+0
| | | | window's firstResponder, which only worked under certain NSTextView focus conditions, allow the field edit sheet to become the main window. This fixes issues with the Find/Replace dialog not fully working correctly in the edit sheet.
* - Add Command-0 as the shortcut to restore the default font size in the ↵rowanbeentje2011-04-111-0/+6
| | | | 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
* fixed compiler warningssqlprodev2011-03-011-2/+1
|
* • Bundle EditorBibiko2010-11-231-21/+0
| | | | | | | - 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
* • added SPBundleCommandTextView and use it instead of SPEditSheetTextVIew ↵Bibiko2010-11-201-3/+10
| | | | | | | | since it works in a sheet only and due to future extensions • fixed init in SPEditSheetTextView • Bundle Editor: minor bug fixing
* • Bundle EditorBibiko2010-11-191-2/+12
| | | | | | | - minor fixes - command textView is now a SPEditSheetTextView for better undo behaviour and font storing in the Prefs if changed - if Bundle Editor is already opened ^⌥⌘B brings it to the front • the installation of spTheme and spBundle files (via eg double-clicking at them in Finder) now moves the files to SP's application folder (if successful)
* • Bundle supportBibiko2010-11-161-76/+0
| | | | | - added skeleton for scope datatable support - removed unnecessary code
* • Bundle supportBibiko2010-11-151-0/+91
| | | | | | | - 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
* • enabled Find Panel inside Field Editor Sheet's textViewBibiko2010-10-291-0/+17
| | | | | | | | - to enable Find Panel in such a NSTextView which will be displayed in a sheet one has to do the following: * [main problem is that Find Panel validates its buttons against [[NSApp mainWindow] firstResponder] == NSTextView] * subclass the NSTextView and add the methods becomeFirstResponder and resignFirstResponder which has to return YES * since the last first responder remains the first mainWindow responder status one has to set [[NSApp mainWindow] makeFirstResponder:theTextView] directly after displaying the sheet • corrected SPUserManager message in (IBAction)removeHost:
* • convert the Field Editor Sheet into a document-modal sheet, i.e. now the ↵Bibiko2010-10-291-3/+10
| | | | | | | | sheet doesn't block the entire app - fixed various layout issues - fixed some tiny memory leaks • fixed tiny memory leak in MCPStreamingResult
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* • added key stroke CTRL+= to increasing the font size to be consistent ↵Bibiko2010-08-101-1/+1
| | | | with the Mac standard
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-1/+2
| | | | | | | • further Save Session progress - store "saved as session accessory view data" globally to support "Save Session" - delete global "saved as session accessory view data" if last SP window will be closed - added to info.plist which tab is currently selected
* Change filesize units to base 2 rather than base 10. Fixes issue #690. Patch ↵stuconnolly2010-05-181-2/+2
| | | | provided by Max Lohrmann, thanks Max!.
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-5/+5
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* Update Localizable.strings by running genstrings and remove use of multiple ↵stuconnolly2009-08-281-1/+1
| | | | comments for a single string.
* • further improvement to SPFieldEditor's undo managerBibiko2009-08-141-0/+4
| | | | - try to trap the speed of typing better to create larger undo groups
* • minor changes to SPTooltipBibiko2009-08-141-0/+12
| | | | • some work on the SPFieldEditor's undo manager (has to be continued)
* • added to the SPFieldEditorController's text editor view its own ↵Bibiko2009-08-141-3/+43
| | | | | | | | | undoManager which runs in the same modal run loop - RETURN or a ' ' forms a undo group - undo groups will be formed after 5 run loops (to form longer block while writing quickly) Note: Has to be tested and fine-tuned if necessary
* • in Table Content the button status of "edit spreadsheet or sheet-like" ↵Bibiko2009-08-111-0/+17
| | | | | | | | | will be saved in the Prefs • font settings in the Field Editor Sheet will be saved in the Prefs • improved max text length checking while using other InputManager (eg Japanese etc.) - still a bit under construction Note: each Beep() wil be replaced by a tooltip soon.
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-1/+0
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* • added support to drag&drop textClipping files to Custom Query Editor and ↵Bibiko2009-06-191-1/+10
| | | | | | | to editSheet • fixed tiny issue for narrow-down completion
* • subclassed the editSheet textViewBibiko2009-06-151-0/+242
- added drag&drop feature of file content or path resp. - added feature to in/decrease font size via ⌘+/- or two-finger zoom gesture