mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 22:40:54 +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
eef5009214
commit
f7460d1d63
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>
|
2003-01-26 21:08 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/NSLayoutManager.m
|
* Source/NSLayoutManager.m
|
||||||
|
|
|
@ -995,6 +995,7 @@ TODO: not really clear what these should do
|
||||||
g < textcontainers[i].pos + textcontainers[i].length)
|
g < textcontainers[i].pos + textcontainers[i].length)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
[[textcontainers[i].textContainer textView] sizeToFit]; /* TODO? */
|
||||||
[[textcontainers[i].textContainer textView] setNeedsDisplay: YES];
|
[[textcontainers[i].textContainer textView] setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue