mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-03 10:10:55 +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
9036113878
commit
06926e7adb
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>
|
2010-08-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/GSGModelLoader.m: Add hack to get GModel loading working again.
|
* Source/GSGModelLoader.m: Add hack to get GModel loading working again.
|
||||||
|
|
|
@ -190,14 +190,30 @@ GNUstep extension.
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSLayoutManager (temporaryattributes)
|
@interface NSLayoutManager (temporaryattributes)
|
||||||
- (void) addTemporaryAttributes: (NSDictionary *)attrs forCharacterRange: (NSRange)range;
|
- (void) addTemporaryAttributes: (NSDictionary *)attrs
|
||||||
- (void) addTemporaryAttribute: (NSString *)attr value: (id)value forCharacterRange: (NSRange)range;
|
forCharacterRange: (NSRange)range;
|
||||||
- (void) setTemporaryAttributes:forCharacterRange: (NSRange)range;
|
- (void) removeTemporaryAttribute: (NSString *)attr
|
||||||
- (void) removeTemporaryAttribute: (NSString *)attr forCharacterRange: (NSRange)range;
|
forCharacterRange: (NSRange)range;
|
||||||
- (id) temporaryAttribute: (NSString *)attr atCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range;
|
- (void) setTemporaryAttributes: (NSDictionary *)attrs
|
||||||
- (id) temporaryAttribute: (NSString *)attr atCharacterIndex: (unsigned int)index longestEffectiveRange: (NSRange*)longestRange inRange: (NSRange)range;
|
forCharacterRange: (NSRange)range;
|
||||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range;
|
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (NSUInteger)index
|
||||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int) longestEffectiveRange: (NSRange*)longestRange inRange: (NSRange)range;
|
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
|
@end
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2369,40 +2369,52 @@ no_soft_invalidation:
|
||||||
// to be implemented
|
// 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
|
// to be implemented
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setTemporaryAttributes:forCharacterRange: (NSRange)range
|
- (void) setTemporaryAttributes: (NSDictionary *)attrs
|
||||||
|
forCharacterRange: (NSRange)range
|
||||||
{
|
{
|
||||||
// to be implemented
|
// to be implemented
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) removeTemporaryAttribute: (NSString *)attr forCharacterRange: (NSRange)range
|
- (void) removeTemporaryAttribute: (NSString *)attr
|
||||||
|
forCharacterRange: (NSRange)range
|
||||||
{
|
{
|
||||||
// to be implemented
|
// 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
|
// to be implemented
|
||||||
return nil;
|
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
|
// to be implemented
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (unsigned int)index effectiveRange: (NSRange)range
|
- (NSDictionary *) temporaryAttributesAtCharacterIndex: (NSUInteger)index
|
||||||
|
effectiveRange: (NSRange*)longestRange
|
||||||
{
|
{
|
||||||
// to be implemented
|
// to be implemented
|
||||||
return nil;
|
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
|
// to be implemented
|
||||||
return nil;
|
return nil;
|
||||||
|
|
Loading…
Reference in a new issue