diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-10 16:38:54 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-10 16:38:54 +0000 |
commit | 2c7f2098004f5fe90189c536affc73dfe67393e9 (patch) | |
tree | 0e9c2de229d366c07311a536249757696a138423 /Source/SPFieldEditorController.h | |
parent | f083576763c6c97b03943e335a6948411e7214ef (diff) | |
download | sequelpro-2c7f2098004f5fe90189c536affc73dfe67393e9.tar.gz sequelpro-2c7f2098004f5fe90189c536affc73dfe67393e9.tar.bz2 sequelpro-2c7f2098004f5fe90189c536affc73dfe67393e9.zip |
• added to the FieldEditorSheet a max text length validation
• added the max text length validation for the TableContent while editing in the FieldEditorSheet
• reinvoked the validation of the max text length for TableContent editing while editing in a cell
• fixed in TableContent: prevent the editing of data cells in gray if the cell displays the gray NULL value
Diffstat (limited to 'Source/SPFieldEditorController.h')
-rw-r--r-- | Source/SPFieldEditorController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPFieldEditorController.h b/Source/SPFieldEditorController.h index 76e8a86e..f7b669f4 100644 --- a/Source/SPFieldEditorController.h +++ b/Source/SPFieldEditorController.h @@ -49,6 +49,7 @@ NSString *tmpFileName; int counter; + unsigned long long maxTextLength; NSUserDefaults *prefs; } @@ -65,6 +66,8 @@ - (id)editWithObject:(id)data fieldName:(NSString*)fieldName usingEncoding:(NSStringEncoding)anEncoding isObjectBlob:(BOOL)isFieldBlob isEditable:(BOOL)isEditable withWindow:(NSWindow *)tableWindow; +- (void)setTextMaxLength:(unsigned long long)length; + - (void)processPasteImageData; - (void)processUpdatedImageData:(NSData *)data; |