aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTooltip.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix a number of memory leaks, and over-releases, as both a result of manual ↵rowanbeentje2010-02-101-1/+1
| | | | inspection of leaks and Clang static analysis.
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-14/+15
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* Updates to the 'use monospaced font' preference, making it a lot more ↵stuconnolly2009-11-141-1/+1
| | | | consistent across all table views. Also includes live updating when the preference is changed as well as its implementation in the query console, process list and variables table views.
* Tidy up.stuconnolly2009-11-071-2/+6
|
* - When a SPTooltip is showing, ensure that events are always passed on to ↵rowanbeentje2009-09-141-1/+4
| | | | the app - this fixes keyboard shortcuts not working when a tooltip is visible
* • SPFieldEditorSheetBibiko2009-08-271-1/+2
| | | | | | - ESC and ENTER will close a non-editable sheet * SPTooltip - first check if tooltip should be closed and then forward the current event (this fixes an issue if a tooltip is shown while a modal window appears which could block the closing of the tooltip
* • SPTooltip: added type "image"Bibiko2009-08-181-9/+57
| | | | | - show images directly as a NSImage in a NSImageView (this decreases the memory usage enormously) • applied new tooltip invocation for image blob data in Content Pane and Custom Query table
* • added SPTooltips for cell content in Content TableBibiko2009-08-141-1/+1
| | | | | | | | | - text strings are display with line breaks and tabs - if cell content represents image data display that image as transparent thumbnail (by using base64 encoded HTML img tag) Notes: - SPTooltip implementation to show an image via a NSImageView will be implemented soon (the HTML way needs too much memory due to base64 encoded string) - to discuss: Should we add a preference setting to display these tooltips?
* • improved SPTooltipBibiko2009-08-141-2/+4
| | | | - type "text" now displays \n and \t correctly
* • improved the closing behaviour of the SPTooltipBibiko2009-08-141-3/+7
|
* • minor changes to SPTooltipBibiko2009-08-141-2/+9
| | | | • some work on the SPFieldEditor's undo manager (has to be continued)
* • SPFieldEditor sheet now runs in a NSModalSession run loop to allow the ↵Bibiko2009-08-121-8/+8
| | | | | | | | | | | execution of code in NSDefaultRunLoopMode (including showing Tooltips) - improved max text length checking while inserting a text chunk if a selection is given (now it truncates it correctly) - instead of using NSBeep() while text length checking a Tooltip will be shown • fine-tuned SPTooltip: • max text validation in TableContent (cell editing) shows now a tooltip if text too long Note: Tooltip messages are tentative so far
* • finished implementation of SPTooltipBibiko2009-08-121-65/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: #import "SPTooltip.h" [SPTooltip showWithObject:@"<h1>Hello</h1>I am a <b>tooltip</b>" ofType:@"html" displayOptions:[NSDictionary dictionaryWithObjectsAndKeys: @"Monaco", @"fontname", @"#EEEEEE", @"backgroundcolor", @"20", @"fontsize", @"transparent", @"transparent", nil]]; [SPTooltip showWithObject:(id)content atLocation:(NSPoint)point ofType:(NSString *)type displayOptions:(NSDictionary *)displayOptions] content: a NSString with the actual content point: n NSPoint where the tooltip should be shown if not given it will be shown under the current caret position or if no caret could be found in the upper left corner of the current window type: a NSString of: "text", or "html"; no type - 'text' is default displayOptions: a NSDictionary with the following keys (all values must be of type NSString): fontname, fontsize, backgroundcolor (as #RRGGBB), transparent (any value) if no displayOptions are passed or if a key doesn't exist the following default are taken: "Lucida Grande", "10", "#F9FBC5", NO See more possible syntaxa in SPTooltip to init a tooltip
* • implemented the first working copy of SPTooltipBibiko2009-08-111-0/+280
| | | | | - not yet finished • added svn property "Id"
* • added SPTooltip classBibiko2009-08-111-0/+34
- initial setup - display a text or HTML tooltip for general messages under the caret position or located somewhere via initializing • fixed naming issue in SPNarrowDownCompletion