From b5a63ed3fc9ec5f4ea9255b9afd83271960794b2 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Thu, 17 Apr 2014 09:58:04 +0200 Subject: [PATCH] style --- AppKit/CPTextView/CPTextContainer.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextView/CPTextContainer.j b/AppKit/CPTextView/CPTextContainer.j index 6b450a37a..19f8fc47a 100755 --- a/AppKit/CPTextView/CPTextContainer.j +++ b/AppKit/CPTextView/CPTextContainer.j @@ -125,7 +125,7 @@ CPLineMovesUp = 4; [_textView setPostsFrameChangedNotifications:flag]; if (flag) - { + { [[CPNotificationCenter defaultCenter] addObserver:self selector:@selector(textViewFrameChanged:) name:CPViewFrameDidChangeNotification @@ -141,7 +141,7 @@ CPLineMovesUp = 4; - (void) textViewFrameChanged:(CPNotification)aNotification { - var newSize=CPMakeSize([_textView frame].size.width, _size.height); + var newSize=CPMakeSize([_textView frame].size.width, _size.height); debugger [self setContainerSize:newSize]; }