mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:50:37 +00:00
Lots of fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4844 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44dc7234b5
commit
6ef83b3719
12 changed files with 352 additions and 214 deletions
|
@ -939,12 +939,23 @@ container, returning the modified location. */
|
|||
[textStorage replaceCharactersInRange:[self selectedRange]
|
||||
withAttributedString:(NSAttributedString *)aString];
|
||||
|
||||
[self sizeToFit]; // ScrollView interaction
|
||||
|
||||
[self setSelectedRange:NSMakeRange([self
|
||||
selectedRange].location+[aString length],0)];
|
||||
|
||||
[self display];
|
||||
[window update];
|
||||
[self textDidChange: nil]; // broadcast notification
|
||||
|
||||
NSLog(@"%@", [textStorage string]);
|
||||
}
|
||||
|
||||
- (void)sizeToFit
|
||||
{
|
||||
NSLog(@"sizeToFit called.\n");
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect
|
||||
{
|
||||
if(tv_backGroundColor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue