From 2c110f779603fc8a8a02eeee9cdea9e8ed59ab71 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Wed, 6 Aug 2014 13:17:35 +0200 Subject: [PATCH] fixed: display error at bottom in case of resizing --- AppKit/CPTextView/CPTextContainer.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPTextView/CPTextContainer.j b/AppKit/CPTextView/CPTextContainer.j index 259a58d1f..32f153d46 100755 --- a/AppKit/CPTextView/CPTextContainer.j +++ b/AppKit/CPTextView/CPTextContainer.j @@ -120,6 +120,7 @@ CPLineMovesUp = 4; actualCharacterRange:NULL]; [_layoutManager _validateLayoutAndGlyphs]; + [_textView sizeToFit]; // this is necessary to adopt the height of CPTextView in case of rewrapping } }