diff --git a/ChangeLog b/ChangeLog index 0affd7597..893d9654d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-26 21:16 Alexander Malmberg + + * Source/NSLayoutManager.m + (-textStorage:edited:range:changeInLength:invalidatedRange:): Tell + the text views to resize when their text has changed. + 2003-01-26 21:08 Alexander Malmberg * Source/NSLayoutManager.m diff --git a/Source/NSLayoutManager.m b/Source/NSLayoutManager.m index aac0b2d64..e4bd5c2a2 100644 --- a/Source/NSLayoutManager.m +++ b/Source/NSLayoutManager.m @@ -995,6 +995,7 @@ TODO: not really clear what these should do g < textcontainers[i].pos + textcontainers[i].length) continue; + [[textcontainers[i].textContainer textView] sizeToFit]; /* TODO? */ [[textcontainers[i].textContainer textView] setNeedsDisplay: YES]; } }