[Adium-devl] Auto alignment of message input field

Peter Hosey prh at boredzo.org
Thu Jan 10 00:17:43 UTC 2008


On 2008-01-09, at 14:41, Ofri Wolfus wrote:
> … the entire string is being sent a -baseWritingDirection which is  
> quite cheap in most cases.

How cheap is -[NSTextStorage string]? Keeping in mind that, IIRC,  
insertText: gets called with nearly every keypress when the text view  
is active.

> This is needed in order to handle the case where a use types  
> something, deletes everything, and then types again in a different  
> language, or when moving the typing marker to the beginning and  
> inserting new text there.

Is it broken currently? If so, is there a ticket?





More information about the devel mailing list