Moved two methods from NSTextAttachment.h here

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6563 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2000-05-04 22:37:53 +00:00
parent 4e176b6c97
commit daef4555d2

View file

@ -33,6 +33,8 @@
#import <AppKit/NSFontManager.h>
#import <AppKit/NSText.h>
@class NSTextAttachment;
// global NSString attribute names used in accessing
// the respective property in a text attributes
// dictionary. if the key is not in the dictionary
@ -57,6 +59,9 @@ enum
};
@interface NSAttributedString (AppKit)
+ (NSAttributedString*) attributedStringWithAttachment:
(NSTextAttachment*)attachment;
- (BOOL) containsAttachments;
- (NSDictionary*) fontAttributesInRange: (NSRange)range;
- (NSDictionary*) rulerAttributesInRange: (NSRange)range;
@ -89,6 +94,7 @@ enum
- (void) unscriptRange: (NSRange)range;
- (void) applyFontTraits: (NSFontTraitMask)traitMask range: (NSRange)range;
- (void) setAlignment: (NSTextAlignment)alignment range: (NSRange)range;
- (void) updateAttachmentsFromPath:(NSString *)path;
- (void) fixAttributesInRange: (NSRange)range;
- (void) fixFontAttributeInRange: (NSRange)range;