mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:00:37 +00:00
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:
parent
4e176b6c97
commit
daef4555d2
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue