/***************************************************************************
NSAttributedStringAdditions.h
-------------------
begin : Mon Apr 28 06:48:06 CDT 2003
copyright : (C) 2005 by Andrew Ruder
email : aeruder@ksu.edu
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef OUTPUT_NS_ATTRIBUTED_STRING_ADDITIONS_H
#define OUTPUT_NS_ATTRIBUTED_STRING_ADDITIONS_H
#import <Foundation/NSAttributedString.h>
extern NSString *TypeOfColor;
extern NSString *InverseTypeForeground;
extern NSString *InverseTypeBackground;
@class NSFont, NSColor;
@interface NSAttributedString (OutputAdditions)
- (NSMutableAttributedString *)substituteColorCodesIntoAttributedStringWithFont:
(NSFont *)aFont withBoldFont: (NSFont *)aBoldFont;
@end
@interface NSMutableAttributedString (OutputAdditions2)
+ (NSMutableAttributedString *)attributedStringWithGNUstepOutputPreferences: (id)aString;
- (void)updateAttributedStringForGNUstepOutputPreferences: (NSString *)aKey;
- (void)chopNumberOfLines: (int)numLines;
@end
#endif
syntax highlighted by Code2HTML, v. 0.9.1