| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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?
|
|
|
|
| |
- type "text" now displays \n and \t correctly
|
| |
|
|
|
|
| |
• some work on the SPFieldEditor's undo manager (has to be continued)
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
- not yet finished
• added svn property "Id"
|
|
- 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
|