diff -r bcf880b29bc3 -r decc6bf584aa ui/cocoa/text.h --- a/ui/cocoa/text.h Thu Apr 03 14:16:41 2014 +0200 +++ b/ui/cocoa/text.h Fri Apr 04 11:29:17 2014 +0200 @@ -31,10 +31,12 @@ #import "../../ucx/list.h" @interface TextChangeMgr : NSObject { - UiText* value; + UiContext *context; + UiText *value; + int last_length; } -- (TextChangeMgr*)initWithValue:(UiText*)text; +- (TextChangeMgr*)initWithValue:(UiText*)text context:(UiContext*)ctx; - (NSUndoManager*)undoManagerForTextView:(NSTextView*)textview;