Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
- Felipe A. Rodriguez (
far@ix.netcom.com
)
-
- Daniel Bðhringer (
boehring@biomed.ruhr-uni-bochum.de
)
-
- Fred Kiefer (
FredKiefer@gmx.de
)
-
- Nicola Pero (
n.pero@mi.flashnet.it
)
-
- Pierre-Yves Rivaille (
pyrivail@ens-lyon.fr
)
-
Copyright: (C)
1996, 1998, 2000, 2001, 2002, 2003 Free Software
Foundation, Inc.
- Declared in:
- AppKit/NSTextView.h
- Conforms to:
- NSTextInput
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Instance Variables
Method summary
+ (NSDictionary*) defaultTypingAttributes;
Availability: Not in OpenStep/MacOS-X
Returns the default typing attributes: black text,
default paragraph style (as returned by
[NSParagraphStyle
defaultParagraphStyle]), and
default user font and size (as returned by [NSFont
userFontOfSize: 0.0]). GNUstep extension.
+ (void) registerForServices;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) _updateInputMethodState;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void) _updateInputMethodWithInsertionPoint: (NSPoint)insertionPoint;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (BOOL) allowsUndo;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) didChangeText;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithFrame: (NSRect)frameRect;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithFrame: (NSRect)frameRect textContainer: (NSTextContainer*)container;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSColor*) insertionPointColor;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) invalidateTextContainerOrigin;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) isContinuousSpellCheckingEnabled;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSLayoutManager*) layoutManager;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSDictionary*) markedTextAttributes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) pasteAsPlainText: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) pasteAsRichText: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSRange) rangeForUserCharacterAttributeChange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSRange) rangeForUserParagraphAttributeChange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSRange) rangeForUserTextChange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) replaceCharactersInRange: (NSRange)aRange withAttributedString: (NSAttributedString*)aString;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) replaceTextContainer: (NSTextContainer*)newContainer;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSDictionary*) selectedTextAttributes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setAlignment: (NSTextAlignment)alignment range: (NSRange)range;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setAllowsUndo: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setConstrainedFrameSize: (NSSize)desiredSize;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setContinuousSpellCheckingEnabled: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setInsertionPointColor: (NSColor*)color;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setMarkedTextAttributes: (NSDictionary*)attributeDictionary;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setRulerVisible: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setSelectedTextAttributes: (NSDictionary*)attributeDictionary;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setSmartInsertDeleteEnabled: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setTextContainer: (NSTextContainer*)container;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setTextContainerInset: (NSSize)inset;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setUsesRuler: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) shouldChangeTextInRange: (NSRange)affectedCharRange replacementString: (NSString*)replacementString;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) smartInsertDeleteEnabled;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSTextContainer*) textContainer;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSSize) textContainerInset;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSPoint) textContainerOrigin;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSTextStorage*) textStorage;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) usesRuler;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Instance Variables for NSTextView Class
@protected NSColor* _backgroundColor;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _currentInsertionPointMovementDirection;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _delegate;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRange _dragTargetSelectionRange;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL _drawInsertionPointNow;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSColor* _insertionPointColor;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRect _insertionPointRect;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSTimer* _insertionPointTimer;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSLayoutManager* _layoutManager;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSDictionary* _markedTextAttributes;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _maxSize;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _minSize;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSTextView* _notifObject;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected unsigned int _originalInsertionPointCharacterIndex;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSDictionary* _selectedTextAttributes;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _spellCheckerDocumentTag;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSTextContainer* _textContainer;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _textContainerInset;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSPoint _textContainerOrigin;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSTextStorage* _textStorage;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected struct GSTextViewFlagsType _tf;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSTextView.h
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (void) textView: (NSTextView*)textView clickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) textView: (NSTextView*)textView clickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame atIndex: (unsigned)charIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link atIndex: (unsigned)charIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) textView: (NSTextView*)textView doCommandBySelector: (SEL)commandSelector;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) textView: (NSTextView*)textView doubleClickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) textView: (NSTextView*)textView doubleClickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame atIndex: (unsigned)charIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) textView: (NSTextView*)view draggedCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)rect event: (NSEvent*)event;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) textView: (NSTextView*)view draggedCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)rect event: (NSEvent*)event atIndex: (unsigned)charIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) textView: (NSTextView*)textView shouldChangeTextInRange: (NSRange)affectedCharRange replacementString: (NSString*)replacementString;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSRange) textView: (NSTextView*)textView willChangeSelectionFromCharacterRange: (NSRange)oldSelectedCharRange toCharacterRange: (NSRange)newSelectedCharRange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) textViewDidChangeSelection: (NSNotification*)notification;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSUndoManager*) undoManagerForTextView: (NSTextView*)view;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- Declared in:
- AppKit/NSTextView.h
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (void) _layoutManagerDidInvalidateLayout;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void) _recacheDelegateResponses;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void) _syncTextViewsByCalling: (SEL)action withFlag: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void) _updateMultipleTextViews;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- Declared in:
- AppKit/NSTextView.h
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (NSArray*) acceptableDragTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) cleanUpAfterDragOperation;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSImage*) dragImageForSelectionWithEvent: (NSEvent*)event origin: (NSPoint*)origin;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (unsigned int) dragOperationForDraggingInfo: (id)dragInfo type: (NSString*)type;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) dragSelectionWithEvent: (NSEvent*)event offset: (NSSize)mouseOffset slideBack: (BOOL)slideBack;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) drawInsertionPointInRect: (NSRect)rect color: (NSColor*)color turnedOn: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSString*) preferredPasteboardTypeFromArray: (NSArray*)availableTypes restrictedToTypesFromArray: (NSArray*)allowedTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard type: (NSString*)type;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSArray*) readablePasteboardTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) rulerView: (NSRulerView*)ruler didAddMarker: (NSRulerMarker*)marker;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) rulerView: (NSRulerView*)ruler didMoveMarker: (NSRulerMarker*)marker;
Availability: Not in OpenStep/MacOS-X
Mote movement of marker
- (void) rulerView: (NSRulerView*)ruler didRemoveMarker: (NSRulerMarker*)marker;
Availability: Not in OpenStep/MacOS-X
Handle removal of marker.
- (void) rulerView: (NSRulerView*)ruler handleMouseDown: (NSEvent*)event;
Availability: Not in OpenStep/MacOS-X
Set new marker position from mouse down location.
- (BOOL) rulerView: (NSRulerView*)ruler shouldAddMarker: (NSRulerMarker*)marker;
Availability: Not in OpenStep/MacOS-X
Return YES
if the marker
should be added, NO
otherwise.
- (BOOL) rulerView: (NSRulerView*)ruler shouldMoveMarker: (NSRulerMarker*)marker;
Availability: Not in OpenStep/MacOS-X
Return YES
if the marker
should be moved, NO
otherwise.
- (BOOL) rulerView: (NSRulerView*)ruler shouldRemoveMarker: (NSRulerMarker*)marker;
Availability: Not in OpenStep/MacOS-X
Return YES
if the marker
should be removed, NO
otherwise.
- (float) rulerView: (NSRulerView*)ruler willAddMarker: (NSRulerMarker*)marker atLocation: (float)location;
Availability: Not in OpenStep/MacOS-X
Return a position for adding by constraining the
specified location.
- (float) rulerView: (NSRulerView*)ruler willMoveMarker: (NSRulerMarker*)marker toLocation: (float)location;
Availability: Not in OpenStep/MacOS-X
Return a new position by constraining the specified
location.
- (NSRange) selectedRange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSSelectionAffinity) selectionAffinity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSSelectionGranularity) selectionGranularity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSRange) selectionRangeForProposedRange: (NSRange)proposedCharRange granularity: (NSSelectionGranularity)gr;
Availability: Not in OpenStep/MacOS-X
Return a range of text which encompasses
proposedCharRange but is extended (if
necessary) to match the type of selection
specified by gr.
- (void) setNeedsDisplayInRect: (NSRect)rect avoidAdditionalLayout: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setSelectedRange: (NSRange)charRange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setSelectedRange: (NSRange)charRange affinity: (NSSelectionAffinity)affinity stillSelecting: (BOOL)stillSelectingFlag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setSelectionGranularity: (NSSelectionGranularity)granularity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setTypingAttributes: (NSDictionary*)attrs;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) shouldDrawInsertionPoint;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSRange) smartDeleteRangeForProposedRange: (NSRange)proposedCharRange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) smartInsertForString: (NSString*)aString replacingRange: (NSRange)charRange beforeString: (NSString**)beforeString afterString: (NSString**)afterString;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (int) spellCheckerDocumentTag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSDictionary*) typingAttributes;
Availability: Not in OpenStep/MacOS-X
TODO: categorize
- (void) updateDragTypeRegistration;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) updateFontPanel;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) updateInsertionPointStateAndRestartTimer: (BOOL)restartFlag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) updateRuler;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSArray*) writablePasteboardTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard type: (NSString*)type;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard types: (NSArray*)types;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- Declared in:
- AppKit/NSTextView.h
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (void) alignJustified: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) loosenKerning: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) lowerBaseline: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) raiseBaseline: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) tightenKerning: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) toggleContinuousSpellChecking: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) toggleTraditionalCharacterShape: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) transpose: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) turnOffKerning: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) turnOffLigatures: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) useAllLigatures: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) useStandardKerning: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) useStandardLigatures: (id)sender;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Up