(-textStorage:edited:range:changeInLength:invalidatedRange:): Tell the text views to resize if their text has changed.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15728 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-01-26 20:18:04 +00:00
parent 8a98cb98a8
commit ecfebfecfc
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-01-26 21:16 Alexander Malmberg <alexander@malmberg.org>
* 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 <alexander@malmberg.org>
* Source/NSLayoutManager.m

View file

@ -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];
}
}