Re: NSTextView: text length limitation
Re: NSTextView: text length limitation
- Subject: Re: NSTextView: text length limitation
- From: Andrew Platzer <email@hidden>
- Date: Fri, 22 Jun 2001 13:48:13 -0700
On Friday, June 22, 2001, at 09:00 , Stiphane Sudre wrote:
Since NSTextView doesn't support the method setFormatter:, what should I
use to limit the size of the text that can be typed ?
@interface NSObject (NSTextViewDelegate)
...
- (BOOL)textView:(NSTextView *)textView
shouldChangeTextInRange:(NSRange)affectedCharRange
replacementString:(NSString *)replacementString;
Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e