mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Correction of the declarations for the methods to handle temporary attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31205 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8cf8790c24
commit
6f2c2f94ea
3 changed files with 49 additions and 15 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-08-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSLayoutManager.h,
|
||||
* Source/NSLayoutManager.m: Correction of the declarations for the methods
|
||||
to handle temporary attributes.
|
||||
|
||||
2010-08-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSGModelLoader.m: Add hack to get GModel loading working again.
|
||||
|
|
|
@ -190,14 +190,30 @@ GNUstep extension.
|
|||
@end
|
||||
|
||||
@interface NSLayoutManager (temporaryattributes)
|
||||
- (void) addTemporaryAttributes: (NSDictionary *)attrs forCharacterRange: (NSRange)range;
|
||||
- (void) addTemporaryAttribute: (NSString *)attr value: (id)value forCharacterRange: (NSRange)range;
|
||||
- (void) setTemporaryAttributes:forCharacterRange: (NSRange)range;
|
||||
- (void) removeTemporaryAttribute: (NSString *)attr forCharacterRange: (NSRange)range;
|
||||
- (id) temporaryAttribute: (NSString *)attr atCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range;
|
||||
- (id) temporaryAttribute: (NSString *)attr atCharacterIndex: (unsigned int)index longestEffectiveRange: (NSRange*)longestRange inRange: (NSRange)range;
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range;
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int) longestEffectiveRange: (NSRange*)longestRange inRange: (NSRange)range;
|
||||
- (void) addTemporaryAttributes: (NSDictionary *)attrs
|
||||
forCharacterRange: (NSRange)range;
|
||||
- (void) removeTemporaryAttribute: (NSString *)attr
|
||||
forCharacterRange: (NSRange)range;
|
||||
- (void) setTemporaryAttributes: (NSDictionary *)attrs
|
||||
forCharacterRange: (NSRange)range;
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (NSUInteger)index
|
||||
effectiveRange: (NSRange*)range;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
- (void) addTemporaryAttribute: (NSString *)attr
|
||||
value: (id)value
|
||||
forCharacterRange: (NSRange)range;
|
||||
- (id) temporaryAttribute: (NSString *)attr
|
||||
atCharacterIndex: (NSUInteger)index
|
||||
effectiveRange: (NSRange*)range;
|
||||
- (id) temporaryAttribute: (NSString *)attr
|
||||
atCharacterIndex: (NSUInteger)index
|
||||
longestEffectiveRange: (NSRange*)longestRange
|
||||
inRange: (NSRange)range;
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (NSUInteger)index
|
||||
longestEffectiveRange: (NSRange*)longestRange
|
||||
inRange: (NSRange)range;
|
||||
#endif
|
||||
@end
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2369,40 +2369,52 @@ no_soft_invalidation:
|
|||
// to be implemented
|
||||
}
|
||||
|
||||
- (void) addTemporaryAttribute: (NSString *)attr value: (id)value forCharacterRange: (NSRange)range
|
||||
- (void) addTemporaryAttribute: (NSString *)attr
|
||||
value: (id)value
|
||||
forCharacterRange: (NSRange)range
|
||||
{
|
||||
// to be implemented
|
||||
}
|
||||
|
||||
- (void) setTemporaryAttributes:forCharacterRange: (NSRange)range
|
||||
- (void) setTemporaryAttributes: (NSDictionary *)attrs
|
||||
forCharacterRange: (NSRange)range
|
||||
{
|
||||
// to be implemented
|
||||
}
|
||||
|
||||
- (void) removeTemporaryAttribute: (NSString *)attr forCharacterRange: (NSRange)range
|
||||
- (void) removeTemporaryAttribute: (NSString *)attr
|
||||
forCharacterRange: (NSRange)range
|
||||
{
|
||||
// to be implemented
|
||||
}
|
||||
|
||||
- (id) temporaryAttribute: (NSString *)attr atCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range
|
||||
- (id) temporaryAttribute: (NSString *)attr
|
||||
atCharacterIndex: (NSUInteger)index
|
||||
effectiveRange: (NSRange*)range
|
||||
{
|
||||
// to be implemented
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id) temporaryAttribute: (NSString *)attr atCharacterIndex: (unsigned int)index longestEffectiveRange: (NSRange*)longestRange inRange: (NSRange)range
|
||||
- (id) temporaryAttribute: (NSString *)attr
|
||||
atCharacterIndex: (NSUInteger)index
|
||||
longestEffectiveRange: (NSRange*)longestRange
|
||||
inRange: (NSRange)range
|
||||
{
|
||||
// to be implemented
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (NSUInteger)index
|
||||
effectiveRange: (NSRange*)longestRange
|
||||
{
|
||||
// to be implemented
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int) longestEffectiveRange: (NSRange*)longestRange inRange: (NSRange)range
|
||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (NSUInteger)index
|
||||
longestEffectiveRange: (NSRange*)longestRange
|
||||
inRange: (NSRange)range
|
||||
{
|
||||
// to be implemented
|
||||
return nil;
|
||||
|
|
Loading…
Reference in a new issue