diff options
author | rowanbeentje <rowan@beent.je> | 2012-08-06 01:06:27 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-08-06 01:06:27 +0000 |
commit | bec9204f21160fe4c001df75050e5d0ec8e42a2f (patch) | |
tree | c9d5b570ed0fda96d320dd6ea4b2da850aa46f21 /Source/SPDataCellFormatter.h | |
parent | 6b79f6517a56c96c272cd4c2583f3431418385a9 (diff) | |
download | sequelpro-bec9204f21160fe4c001df75050e5d0ec8e42a2f.tar.gz sequelpro-bec9204f21160fe4c001df75050e5d0ec8e42a2f.tar.bz2 sequelpro-bec9204f21160fe4c001df75050e5d0ec8e42a2f.zip |
- Add linebreak display in the database processes list, preventing display of truncated queries for clarity (Issue #1407)
- If SHOW FULL PROCESSLIST isn't on, and the query appears to be truncated (length == 100), add a trailing ellipsis to suggest more content
Diffstat (limited to 'Source/SPDataCellFormatter.h')
-rw-r--r-- | Source/SPDataCellFormatter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPDataCellFormatter.h b/Source/SPDataCellFormatter.h index 00cc85bb..d1f9c7d4 100644 --- a/Source/SPDataCellFormatter.h +++ b/Source/SPDataCellFormatter.h @@ -33,10 +33,12 @@ @interface SPDataCellFormatter : NSFormatter { NSInteger textLimit; + NSUInteger displayLimit; NSString *fieldType; } @property (readwrite, assign) NSInteger textLimit; +@property (readwrite, assign) NSUInteger displayLimit; @property (readwrite, retain) NSString* fieldType; @end |