mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:50:47 +00:00
A miriad of changes, look at ChangeLogs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4497 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1b6925558e
commit
6df630c781
19 changed files with 1658 additions and 561 deletions
|
@ -43,9 +43,27 @@
|
|||
|
||||
// This variant will create the text network (textStorage, layoutManager, and a container).
|
||||
- initWithFrame:(NSRect)frameRect
|
||||
{ return [self initWithFrame:frameRect textContainer:nil];
|
||||
{ return [self initWithFrame:frameRect textContainer:nil];
|
||||
}
|
||||
|
||||
#ifdef 0
|
||||
- initWithFrame:(NSRect)frameRect
|
||||
{
|
||||
|
||||
textStorage = [NSTextStorage new];
|
||||
// layoutManager = [NSLayoutManager new];
|
||||
// [textStorage addLayoutManager:layoutManager];
|
||||
// [layoutManager release];
|
||||
|
||||
textContainer = [[NSTextContainer alloc]
|
||||
initWithContainerSize:frameRect];
|
||||
// [layoutManager addTextContainer:textContainer];
|
||||
[textContainer release];
|
||||
|
||||
return [self initWithFrame:frameRect textContainer:textContainer];
|
||||
}
|
||||
#endif
|
||||
|
||||
/***************** Get/Set the container and other stuff *****************/
|
||||
|
||||
-(NSTextContainer*) textContainer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue