[Previous]
[Up]
[Next]
NSTextView
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSTextView.h
Inherits from: NSText
Conforms to: NSTextInput
Instance Variables
Methods
Class Methods
+ (void) registerForServices;
Instances Methods
- (NSArray*) acceptableDragTypes;
- (void) alignJustified: (id)sender;
- (BOOL) allowsUndo;;
- (NSColor*) backgroundColor;
- (BOOL) becomeFirstResponder;
- (void) changeColor: (id)sender;
- (void) cleanUpAfterDragOperation;
- (void) clickedOnLink: (id)link atIndex: (unsigned int)charIndex;
- (id) delegate;
- (void) didChangeText;
- (unsigned int) dragOperationForDraggingInfo: (id<NSDraggingInfo>)dragInfo;
- (void) drawInsertionPointInRect: (NSRect)aRect color: (NSColor *)aColor turnedOn: (BOOL)flag;
- (BOOL) drawsBackground;
- (void) encodeWithCoder: (NSCoder*)encoder;
- (BOOL) importsGraphics;
- (id) initWithCoder: (NSCoder*)decoder;
- (id) initWithFrame: (NSRect)frameRect;
- (id) initWithFrame: (NSRect)frameRect textContainer: (NSTextContainer*)aTextContainer;
- (void) insertText: (NSString*)aString;
- (NSColor*) insertionPointColor;
- (void) invalidateTextContainerOrigin;
- (BOOL) isEditable;
- (BOOL) isFieldEditor;
- (BOOL) isRichText;
- (BOOL) isRulerVisible;
- (BOOL) isSelectable;
- (NSLayoutManager*) layoutManager;
- (void) loosenKerning: (id)sender;
- (void) lowerBaseline: (id)sender;
- (NSRange) markedRange;
- (NSDictionary*) markedTextAttributes;
- (void) pasteAsPlainText: (id)sender;
- (void) pasteAsRichText: (id)sender;
- (NSString*) preferredPasteboardTypeFromArray: (NSArray*)availableTypes restrictedToTypesFromArray: (NSArray*)allowedTypes;
- (void) raiseBaseline: (id)sender;
- (NSArray*) readablePasteboardTypes;
- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
- (void) replaceTextContainer: (NSTextContainer*)aTextContainer;
- (BOOL) resignFirstResponder;
- (void) rulerView: (NSRulerView*)aRulerView didAddMarker: (NSRulerMarker*)aMarker;
- (void) rulerView: (NSRulerView*)aRulerView didMoveMarker: (NSRulerMarker*)aMarker;
- (void) rulerView: (NSRulerView*)aRulerView didRemoveMarker: (NSRulerMarker*)aMarker;
- (void) rulerView: (NSRulerView*)aRulerView handleMouseDown: (NSEvent*)theEvent;
- (BOOL) rulerView: (NSRulerView*)aRulerView shouldAddMarker: (NSRulerMarker*)aMarker;
- (BOOL) rulerView: (NSRulerView*)aRulerView shouldMoveMarker: (NSRulerMarker*)aMarker;
- (BOOL) rulerView: (NSRulerView*)aRulerView shouldRemoveMarker: (NSRulerMarker*)aMarker;
- (float) rulerView: (NSRulerView*)aRulerView willAddMarker: (NSRulerMarker*)aMarker atLocation: (float)location;
- (float) rulerView: (NSRulerView*)aRulerView willMoveMarker: (NSRulerMarker*)aMarker toLocation: (float)location;
- (NSRange) selectedRange;
- (NSDictionary*) selectedTextAttributes;
- (NSSelectionAffinity) selectionAffinity;
- (NSSelectionGranularity) selectionGranularity;
- (NSRange) selectionRangeForProposedRange: (NSRange)proposedSelRange;
- (void) setAllowsUndo: (BOOL)flag;
- (void) setAlignment: (NSTextAlignment)alignment;
- (void) setBackgroundColor: (NSColor*)aColor;
- (void) setConstrainedFrameSize: (NSSize)desiredSize;
- (void) setDelegate: (id)anObject;
- (void) setDrawsBackground: (BOOL)flag;
- (void) setEditable: (BOOL)flag;
- (void) setFieldEditor: (BOOL)flag;
- (void) setImportsGraphics: (BOOL)flag;
- (void) setInsertionPointColor: (NSColor*)aColor;
- (void) setMarkedTextAttributes: (NSDictionary*)attributes;
- (void) setNeedsDisplayInRect: (NSRect)aRect avoidAdditionalLayout: (BOOL)flag;
- (void) setRichText: (BOOL)flag;
- (void) setRulerVisible: (BOOL)flag;
- (void) setSelectable: (BOOL)flag;
- (void) setSelectedRange: (NSRange)charRange;
- (void) setSelectedRange: (NSRange)charRange affinity: (NSSelectionAffinity)affinity stillSelecting: (BOOL)flag;
- (void) setSelectedTextAttributes: (NSDictionary*)attributes;
- (void) setSelectionGranularity: (NSSelectionGranularity)granularity;
- (void) setSmartInsertDeleteEnabled: (BOOL)flag;
- (void) setTextContainerInset: (NSSize)inset;
- (void) setTypingAttributes: (NSDictionary*)attributes;
- (void) setUsesFontPanel: (BOOL)flag;
- (void) setUsesRuler: (BOOL)flag;
- (BOOL) shouldChangeTextInRange: (NSRange)affectedCharRange;
- (BOOL) shouldDrawInsertionPoint;
- (NSRange) smartDeleteRangeForProposedRange: (NSRange)proposedCharRange;
- (NSString*) smartInsertAfterStringForString: (NSString*)aString replacingRange: (NSRange)charRange;
- (NSString*) smartInsertBeforeStringForString: (NSString*)aString replacingRange: (NSRange)charRange;
- (int) spellCheckerDocumentTag;
- (NSTextContainer*) textContainer;
- (NSSize) textContainerInset;
- (NSPoint) textContainerOrigin;
- (NSTextStorage*) textStorage;
- (void) tightenKerning: (id)sender;
- (void) turnOffKerning: (id)sender;
- (void) turnOffLigatures: (id)sender;
- (NSDictionary*) typingAttributes;
- (void) updateDragTypeRegistration;
- (void) updateFontPanel;
- (void) updateInsertionPointStateAndRestartTimer: (BOOL)flag;
- (void) updateRuler;
- (void) useAllLigatures: (id)sender;
- (BOOL) usesFontPanel;
- (BOOL) usesRuler;
- (void) useStandardKerning: (id)sender;
- (void) useStandardLigatures: (id)sender;
- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
- (NSArray*) writablePasteboardTypes;
- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard;
- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard;
- (void) textView: (NSTextView*)aTextView clickedOnCell: (id<NSTextAttachmentCell>)attachmentCell;
- (void) textView: (NSTextView*)textView clickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame;
- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link;
- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link atIndex: (unsigned int)charIndex;
- (BOOL) textView: (NSTextView*)aTextView doCommandBySelector: (SEL)aSelector;
- (void) textView: (NSTextView*)aTextView doubleClickedOnCell: (id<NSTextAttachmentCell>)attachmentCell;
- (void) textView: (NSTextView*)textView doubleClickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame;
- (void) textView: (NSTextView*)aTextView draggedCell: (id<NSTextAttachmentCell>)attachmentCell inRect: (NSRect)aRect event: (NSEvent*)theEvent;
- (void) textView: (NSTextView*)view draggedCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)rect event: (NSEvent*)event atIndex: (unsigned int)charIndex;
- (BOOL) textView: (NSTextView*)aTextView shouldChangeTextInRange: (NSRange)affectedCharRange;
- (NSRange) textView: (NSTextView*)aTextView willChangeSelectionFromCharacterRange: (NSRange)oldSelectedCharRange;
- (void) textViewDidChangeSelection: (NSNotification*)aNotification;
- (NSUndoManager*) undoManagerForTextView: (NSTextView*)view;