discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSText and the font panel. (II)


From: Fred Kiefer
Subject: Re: NSText and the font panel. (II)
Date: Mon, 27 Feb 2006 17:20:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921

Marko Riedel wrote:
> 
> I would
> still like to be able to let the user edit text attributes but not
> characters. I guess I could do this by overriding cut:, paste: and
> insertText:. Is there an easier way?
> 

You could try with a delegate that implements
textView:shouldChangeTextInRange:replacementString: and only retruns YES
when the replacement string is nil.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]