mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 18:31:20 +00:00
(-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:
parent
8a98cb98a8
commit
ecfebfecfc
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue