Up

NSTextView

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 )

Copyright: (C) 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSTextView class
  2. Software documentation for the NSObject(NSTextViewDelegate) category
  3. Software documentation for the NSTextView(GSTextViewUpdateMultipleViews) category
  4. Software documentation for the NSTextView(NSSharing) category

Software documentation for the NSTextView class

NSTextView : NSText

Declared in:
AppKit/NSTextView.h
Conforms to:
NSTextInput
Standards:

Description forthcoming.

Method summary

registerForServices

+ (void) registerForServices;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


acceptableDragTypes

- (NSArray*) acceptableDragTypes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


alignJustified:

- (void) alignJustified: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


changeColor:

- (void) changeColor: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


cleanUpAfterDragOperation

- (void) cleanUpAfterDragOperation;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dragImageForSelectionWithEvent:origin:

- (NSImage*) dragImageForSelectionWithEvent: (NSEvent*)event origin: (NSPoint*)origin;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dragOperationForDraggingInfo:type:

- (unsigned int) dragOperationForDraggingInfo: (id)dragInfo type: (NSString*)type;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dragSelectionWithEvent:offset:slideBack:

- (BOOL) dragSelectionWithEvent: (NSEvent*)event offset: (NSSize)mouseOffset slideBack: (BOOL)slideBack;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawInsertionPointInRect:color:turnedOn:

- (void) drawInsertionPointInRect: (NSRect)rect color: (NSColor*)color turnedOn: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


initWithFrame:

- (id) initWithFrame: (NSRect)frameRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


initWithFrame:textContainer:

- (id) initWithFrame: (NSRect)frameRect textContainer: (NSTextContainer*)aTextContainer;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


insertText:

- (void) insertText: (NSString*)insertString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


invalidateTextContainerOrigin

- (void) invalidateTextContainerOrigin;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


layoutManager

- (NSLayoutManager*) layoutManager;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


loosenKerning:

- (void) loosenKerning: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


lowerBaseline:

- (void) lowerBaseline: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


pasteAsPlainText:

- (void) pasteAsPlainText: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


pasteAsRichText:

- (void) pasteAsRichText: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


preferredPasteboardTypeFromArray:restrictedToTypesFromArray:

- (NSString*) preferredPasteboardTypeFromArray: (NSArray*)availableTypes restrictedToTypesFromArray: (NSArray*)allowedTypes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


raiseBaseline:

- (void) raiseBaseline: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


readSelectionFromPasteboard:

- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


readSelectionFromPasteboard:type:

- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard type: (NSString*)type;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


readablePasteboardTypes

- (NSArray*) readablePasteboardTypes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


replaceTextContainer:

- (void) replaceTextContainer: (NSTextContainer*)aTextContainer;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:didAddMarker:

- (void) rulerView: (NSRulerView*)ruler didAddMarker: (NSRulerMarker*)marker;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:didMoveMarker:

- (void) rulerView: (NSRulerView*)aRulerView didMoveMarker: (NSRulerMarker*)aMarker;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:didRemoveMarker:

- (void) rulerView: (NSRulerView*)aRulerView didRemoveMarker: (NSRulerMarker*)aMarker;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:handleMouseDown:

- (void) rulerView: (NSRulerView*)aRulerView handleMouseDown: (NSEvent*)theEvent;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:shouldAddMarker:

- (BOOL) rulerView: (NSRulerView*)aRulerView shouldAddMarker: (NSRulerMarker*)aMarker;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:shouldMoveMarker:

- (BOOL) rulerView: (NSRulerView*)aRulerView shouldMoveMarker: (NSRulerMarker*)aMarker;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:shouldRemoveMarker:

- (BOOL) rulerView: (NSRulerView*)aRulerView shouldRemoveMarker: (NSRulerMarker*)aMarker;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:willAddMarker:atLocation:

- (float) rulerView: (NSRulerView*)aRulerView willAddMarker: (NSRulerMarker*)aMarker atLocation: (float)location;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rulerView:willMoveMarker:toLocation:

- (float) rulerView: (NSRulerView*)aRulerView willMoveMarker: (NSRulerMarker*)aMarker toLocation: (float)location;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


selectionRangeForProposedRange:granularity:

- (NSRange) selectionRangeForProposedRange: (NSRange)proposedCharRange granularity: (NSSelectionGranularity)granul;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAlignment:range:

- (void) setAlignment: (NSTextAlignment)alignment range: (NSRange)aRange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setConstrainedFrameSize:

- (void) setConstrainedFrameSize: (NSSize)desiredSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setNeedsDisplayInRect:avoidAdditionalLayout:

- (void) setNeedsDisplayInRect: (NSRect)aRect avoidAdditionalLayout: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setRulerVisible:

- (void) setRulerVisible: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setTextContainer:

- (void) setTextContainer: (NSTextContainer*)aTextContainer;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setTextContainerInset:

- (void) setTextContainerInset: (NSSize)inset;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


shouldDrawInsertionPoint

- (BOOL) shouldDrawInsertionPoint;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textContainer

- (NSTextContainer*) textContainer;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textContainerInset

- (NSSize) textContainerInset;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textContainerOrigin

- (NSPoint) textContainerOrigin;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textStorage

- (NSTextStorage*) textStorage;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


tightenKerning:

- (void) tightenKerning: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


toggleTraditionalCharacterShape:

- (void) toggleTraditionalCharacterShape: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


turnOffKerning:

- (void) turnOffKerning: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


turnOffLigatures:

- (void) turnOffLigatures: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


updateDragTypeRegistration

- (void) updateDragTypeRegistration;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


updateFontPanel

- (void) updateFontPanel;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


updateRuler

- (void) updateRuler;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


useAllLigatures:

- (void) useAllLigatures: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


useStandardKerning:

- (void) useStandardKerning: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


useStandardLigatures:

- (void) useStandardLigatures: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


writablePasteboardTypes

- (NSArray*) writablePasteboardTypes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


writeSelectionToPasteboard:type:

- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard type: (NSString*)type;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


writeSelectionToPasteboard:types:

- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard types: (NSArray*)types;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


Software documentation for the NSObject(NSTextViewDelegate) category

NSObject(NSTextViewDelegate)

Declared in:
AppKit/NSTextView.h
Standards:

Description forthcoming.

Method summary

textView:clickedOnCell:inRect:

- (void) textView: (NSTextView*)textView clickedOnCell: (id)cell inRect: (NSRect)cellFrame;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:clickedOnCell:inRect:atIndex:

- (void) textView: (NSTextView*)textView clickedOnCell: (id)cell inRect: (NSRect)cellFrame atIndex: (unsigned)charIndex;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:clickedOnLink:

- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:clickedOnLink:atIndex:

- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link atIndex: (unsigned)charIndex;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:doCommandBySelector:

- (BOOL) textView: (NSTextView*)textView doCommandBySelector: (SEL)commandSelector;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:doubleClickedOnCell:inRect:

- (void) textView: (NSTextView*)textView doubleClickedOnCell: (id)cell inRect: (NSRect)cellFrame;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:doubleClickedOnCell:inRect:atIndex:

- (void) textView: (NSTextView*)textView doubleClickedOnCell: (id)cell inRect: (NSRect)cellFrame atIndex: (unsigned)charIndex;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:draggedCell:inRect:event:

- (void) textView: (NSTextView*)view draggedCell: (id)cell inRect: (NSRect)rect event: (NSEvent*)event;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:draggedCell:inRect:event:atIndex:

- (void) textView: (NSTextView*)view draggedCell: (id)cell inRect: (NSRect)rect event: (NSEvent*)event atIndex: (unsigned)charIndex;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:shouldChangeTextInRange:replacementString:

- (BOOL) textView: (NSTextView*)textView shouldChangeTextInRange: (NSRange)affectedCharRange replacementString: (NSString*)replacementString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textView:willChangeSelectionFromCharacterRange:toCharacterRange:

- (NSRange) textView: (NSTextView*)textView willChangeSelectionFromCharacterRange: (NSRange)oldSelectedCharRange toCharacterRange: (NSRange)newSelectedCharRange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textViewDidChangeSelection:

- (void) textViewDidChangeSelection: (NSNotification*)notification;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


undoManagerForTextView:

- (NSUndoManager*) undoManagerForTextView: (NSTextView*)view;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


Software documentation for the NSTextView(GSTextViewUpdateMultipleViews) category

NSTextView(GSTextViewUpdateMultipleViews)

Declared in:
AppKit/NSTextView.h
Standards:

Description forthcoming.

Method summary

_updateMultipleTextViews

- (void) _updateMultipleTextViews;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


Software documentation for the NSTextView(NSSharing) category

NSTextView(NSSharing)

Declared in:
AppKit/NSTextView.h
Standards:

Description forthcoming.

Method summary

allowsUndo

- (BOOL) allowsUndo;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


backgroundColor

- (NSColor*) backgroundColor;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


becomeFirstResponder

- (BOOL) becomeFirstResponder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


delegate

- (id) delegate;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


didChangeText

- (void) didChangeText;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawsBackground

- (BOOL) drawsBackground;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


importsGraphics

- (BOOL) importsGraphics;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


insertionPointColor

- (NSColor*) insertionPointColor;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isContinuousSpellCheckingEnabled

- (BOOL) isContinuousSpellCheckingEnabled;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isEditable

- (BOOL) isEditable;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isFieldEditor

- (BOOL) isFieldEditor;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isRichText

- (BOOL) isRichText;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isRulerVisible

- (BOOL) isRulerVisible;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isSelectable

- (BOOL) isSelectable;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


markedRange

- (NSRange) markedRange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


markedTextAttributes

- (NSDictionary*) markedTextAttributes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rangeForUserCharacterAttributeChange

- (NSRange) rangeForUserCharacterAttributeChange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rangeForUserParagraphAttributeChange

- (NSRange) rangeForUserParagraphAttributeChange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rangeForUserTextChange

- (NSRange) rangeForUserTextChange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


resignFirstResponder

- (BOOL) resignFirstResponder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


selectedRange

- (NSRange) selectedRange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


selectedTextAttributes

- (NSDictionary*) selectedTextAttributes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


selectionAffinity

- (NSSelectionAffinity) selectionAffinity;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


selectionGranularity

- (NSSelectionGranularity) selectionGranularity;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAllowsUndo:

- (void) setAllowsUndo: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)color;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setContinuousSpellCheckingEnabled:

- (void) setContinuousSpellCheckingEnabled: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setDelegate:

- (void) setDelegate: (id)anObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setDrawsBackground:

- (void) setDrawsBackground: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setEditable:

- (void) setEditable: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFieldEditor:

- (void) setFieldEditor: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setImportsGraphics:

- (void) setImportsGraphics: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setInsertionPointColor:

- (void) setInsertionPointColor: (NSColor*)color;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setMarkedTextAttributes:

- (void) setMarkedTextAttributes: (NSDictionary*)attributeDictionary;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setRichText:

- (void) setRichText: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setRulerVisible:

- (void) setRulerVisible: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSelectable:

- (void) setSelectable: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSelectedRange:

- (void) setSelectedRange: (NSRange)charRange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSelectedRange:affinity:stillSelecting:

- (void) setSelectedRange: (NSRange)charRange affinity: (NSSelectionAffinity)affinity stillSelecting: (BOOL)stillSelectingFlag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSelectedTextAttributes:

- (void) setSelectedTextAttributes: (NSDictionary*)attributeDictionary;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSelectionGranularity:

- (void) setSelectionGranularity: (NSSelectionGranularity)granularity;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSmartInsertDeleteEnabled:

- (void) setSmartInsertDeleteEnabled: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setTypingAttributes:

- (void) setTypingAttributes: (NSDictionary*)attrs;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setUsesFontPanel:

- (void) setUsesFontPanel: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setUsesRuler:

- (void) setUsesRuler: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


shouldChangeTextInRange:replacementString:

- (BOOL) shouldChangeTextInRange: (NSRange)affectedCharRange replacementString: (NSString*)replacementString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


smartDeleteRangeForProposedRange:

- (NSRange) smartDeleteRangeForProposedRange: (NSRange)proposedCharRange;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


smartInsertDeleteEnabled

- (BOOL) smartInsertDeleteEnabled;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


smartInsertForString:replacingRange:beforeString:afterString:

- (void) smartInsertForString: (NSString*)aString replacingRange: (NSRange)charRange beforeString: (NSString**)beforeString afterString: (NSString**)afterString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


spellCheckerDocumentTag

- (int) spellCheckerDocumentTag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


toggleContinuousSpellChecking:

- (void) toggleContinuousSpellChecking: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


typingAttributes

- (NSDictionary*) typingAttributes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


updateInsertionPointStateAndRestartTimer:

- (void) updateInsertionPointStateAndRestartTimer: (BOOL)restartFlag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


usesFontPanel

- (BOOL) usesFontPanel;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


usesRuler

- (BOOL) usesRuler;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


validRequestorForSendType:returnType:

- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.



Up