NSText

Authors

Scott Christley( scottc@net-community.com )
Felipe A. Rodriguez( far@ix.netcom.com )
( boehring@biomed.ruhr-uni-bochum.de )
Fred Kiefer( FredKiefer@gmx.de )
Nicola Pero( n.pero@mi.flashnet.it )
The RTFD text class

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSText class

NSText : NSView

Declared: AppKit/NSText.h
Conform: NSChangeSpelling
Conform: NSIgnoreMisspelledWords

RTFDFromRange:

- (NSData*) RTFDFromRange: (NSRange)aRange;


RTFFromRange:

- (NSData*) RTFFromRange: (NSRange)aRange;


alignCenter:

- (void) alignCenter: (id)sender;


alignLeft:

- (void) alignLeft: (id)sender;


alignRight:

- (void) alignRight: (id)sender;


alignment

- (NSTextAlignment) alignment;


backgroundColor

- (NSColor*) backgroundColor;


changeFont:

- (void) changeFont: (id)sender;


changeSpelling:

- (void) changeSpelling: (id)sender;


checkSpelling:

- (void) checkSpelling: (id)sender;


copy:

- (void) copy: (id)sender;


copyFont:

- (void) copyFont: (id)sender;


copyRuler:

- (void) copyRuler: (id)sender;


cut:

- (void) cut: (id)sender;


delegate

- (id) delegate;


delete:

- (void) delete: (id)sender;


drawsBackground

- (BOOL) drawsBackground;


encodeWithCoder:

- (void) encodeWithCoder: (NSCoder*)aCoder;


font

- (NSFont*) font;


ignoreSpelling:

- (void) ignoreSpelling: (id)sender;


importsGraphics

- (BOOL) importsGraphics;


initWithCoder:

- (id) initWithCoder: (NSCoder*)aDecoder;


isEditable

- (BOOL) isEditable;


isFieldEditor

- (BOOL) isFieldEditor;


isHorizontallyResizable

- (BOOL) isHorizontallyResizable;


isRichText

- (BOOL) isRichText;


isRulerVisible

- (BOOL) isRulerVisible;


isSelectable

- (BOOL) isSelectable;


isVerticallyResizable

- (BOOL) isVerticallyResizable;


maxSize

- (NSSize) maxSize;


minSize

- (NSSize) minSize;


paste:

- (void) paste: (id)sender;


pasteFont:

- (void) pasteFont: (id)sender;


pasteRuler:

- (void) pasteRuler: (id)sender;


readRTFDFromFile:

- (BOOL) readRTFDFromFile: (NSString*)path;


replaceCharactersInRange:withRTF:

- (void) replaceCharactersInRange: (NSRange)aRange withRTF: (NSData*)rtfData;


replaceCharactersInRange:withRTFD:

- (void) replaceCharactersInRange: (NSRange)aRange withRTFD: (NSData*)rtfdData;


replaceCharactersInRange:withString:

- (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString;


replaceRange:withRTF:

- (void) replaceRange: (NSRange)aRange withRTF: (NSData*)rtfData;


replaceRange:withRTFD:

- (void) replaceRange: (NSRange)aRange withRTFD: (NSData*)rtfdData;


replaceRange:withString:

- (void) replaceRange: (NSRange)aRange withString: (NSString*)aString;


scrollRangeToVisible:

- (void) scrollRangeToVisible: (NSRange)aRange;


selectAll:

- (void) selectAll: (id)sender;


selectedRange

- (NSRange) selectedRange;


setAlignment:

- (void) setAlignment: (NSTextAlignment)mode;


setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)color;


setColor:ofRange:

- (void) setColor: (NSColor*)color ofRange: (NSRange)aRange;


setDelegate:

- (void) setDelegate: (id)anObject;


setDrawsBackground:

- (void) setDrawsBackground: (BOOL)flag;


setEditable:

- (void) setEditable: (BOOL)flag;


setFieldEditor:

- (void) setFieldEditor: (BOOL)flag;


setFont:

- (void) setFont: (NSFont*)font;


setFont:ofRange:

- (void) setFont: (NSFont*)font ofRange: (NSRange)aRange;


setHorizontallyResizable:

- (void) setHorizontallyResizable: (BOOL)flag;


setImportsGraphics:

- (void) setImportsGraphics: (BOOL)flag;


setMaxSize:

- (void) setMaxSize: (NSSize)newMaxSize;


setMinSize:

- (void) setMinSize: (NSSize)newMinSize;


setRichText:

- (void) setRichText: (BOOL)flag;


setSelectable:

- (void) setSelectable: (BOOL)flag;


setSelectedRange:

- (void) setSelectedRange: (NSRange)range;


setString:

- (void) setString: (NSString*)aString;


setText:

- (void) setText: (NSString*)string;


setText:range:

- (void) setText: (NSString*)aString range: (NSRange)aRange;


setTextColor:

- (void) setTextColor: (NSColor*)color;


setTextColor:range:

- (void) setTextColor: (NSColor*)color range: (NSRange)aRange;


setUsesFontPanel:

- (void) setUsesFontPanel: (BOOL)flag;


setVerticallyResizable:

- (void) setVerticallyResizable: (BOOL)flag;


showGuessPanel:

- (void) showGuessPanel: (id)sender;


sizeToFit

- (void) sizeToFit;


string

- (NSString*) string;


subscript:

- (void) subscript: (id)sender;


superscript:

- (void) superscript: (id)sender;


text

- (NSString*) text;


textColor

- (NSColor*) textColor;


toggleRuler:

- (void) toggleRuler: (id)sender;


underline:

- (void) underline: (id)sender;


unscript:

- (void) unscript: (id)sender;


usesFontPanel

- (BOOL) usesFontPanel;


writeRTFDToFile:atomically:

- (BOOL) writeRTFDToFile: (NSString*)path atomically: (BOOL)flag;


Software documentation for the NSObject(NSTextDelegate) category

NSObject(NSTextDelegate)

Declared: AppKit/NSText.h

textDidBeginEditing:

- (void) textDidBeginEditing: (NSNotification*)notification;


textDidChange:

- (void) textDidChange: (NSNotification*)notification;


textDidEndEditing:

- (void) textDidEndEditing: (NSNotification*)notification;


textShouldBeginEditing:

- (BOOL) textShouldBeginEditing: (NSText*)textObject;


textShouldEndEditing:

- (BOOL) textShouldEndEditing: (NSText*)textObject;


Software documentation for the NSText(GNUstepExtensions) category

NSText(GNUstepExtensions)

Declared: AppKit/NSText.h

replaceRange:withAttributedString:

- (void) replaceRange: (NSRange)aRange withAttributedString: (NSAttributedString*)attrString;


textLength

- (unsigned) textLength;