mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Add methods for scriptability for completeness
This commit is contained in:
parent
0255a191e9
commit
20650d869c
2 changed files with 66 additions and 0 deletions
|
@ -188,6 +188,31 @@ enum
|
|||
*/
|
||||
- (NSFont*) font;
|
||||
- (void) setFont: (NSFont*)font;
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of attribute runs.
|
||||
*/
|
||||
- (NSArray *)attributeRuns;
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of paragraphs.
|
||||
*/
|
||||
- (NSArray *)paragraphs;
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of words.
|
||||
*/
|
||||
- (NSArray *)words;
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of characters.
|
||||
*/
|
||||
- (NSArray *)characters;
|
||||
|
||||
/*
|
||||
* The font color used when drawing text.
|
||||
*/
|
||||
- (NSColor *)foregroundColor;
|
||||
@end
|
||||
|
||||
/**** Notifications ****/
|
||||
|
|
|
@ -398,4 +398,45 @@ static NSNotificationCenter *nc = nil;
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of attribute runs.
|
||||
*/
|
||||
- (NSArray *)attributeRuns
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of paragraphs.
|
||||
*/
|
||||
- (NSArray *)paragraphs
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of words.
|
||||
*/
|
||||
- (NSArray *)words
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
/*
|
||||
* The text storage contents as an array of characters.
|
||||
*/
|
||||
- (NSArray *)characters
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
/*
|
||||
* The font color used when drawing text.
|
||||
*/
|
||||
- (NSColor *)foregroundColor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue