Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
- Felipe A. Rodriguez (
far@ix.netcom.com
)
-
- Daniel Boehringer (
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: OpenStep
Description forthcoming.
Instance Variables
Method summary
+ (
NSDictionary*)
defaultTypingAttributes;
Availability: OpenStep
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: OpenStep
Description forthcoming.
- (void)
_updateInputMethodState;
Availability: OpenStep
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: OpenStep
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: OpenStep
Description forthcoming.
- (void)
didChangeText;
Availability: OpenStep
Description forthcoming.
- (id)
initWithFrame: (
NSRect)frameRect;
Availability: OpenStep
Description forthcoming.
- (id)
initWithFrame: (
NSRect)frameRect
textContainer: (
NSTextContainer*)container;
Availability: OpenStep
Description forthcoming.
- (
NSColor*)
insertionPointColor;
Availability: OpenStep
Description forthcoming.
- (void)
invalidateTextContainerOrigin;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isContinuousSpellCheckingEnabled;
Availability: OpenStep
Description forthcoming.
- (
NSLayoutManager*)
layoutManager;
Availability: OpenStep
Description forthcoming.
- (
NSDictionary*)
markedTextAttributes;
Availability: OpenStep
Description forthcoming.
- (void)
pasteAsPlainText: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
pasteAsRichText: (id)sender;
Availability: OpenStep
Description forthcoming.
- (
NSRange)
rangeForUserCharacterAttributeChange;
Availability: OpenStep
Description forthcoming.
- (
NSRange)
rangeForUserParagraphAttributeChange;
Availability: OpenStep
Description forthcoming.
- (
NSRange)
rangeForUserTextChange;
Availability: OpenStep
Description forthcoming.
- (void)
replaceCharactersInRange: (
NSRange)aRange
withAttributedString: (
NSAttributedString*)aString;
Availability: OpenStep
Description forthcoming.
- (void)
replaceCharactersInRange: (
NSRange)aRange
withString: (
NSString*)aString;
Availability: OpenStep
Description forthcoming.
- (void)
replaceTextContainer: (
NSTextContainer*)newContainer;
Availability: OpenStep
Description forthcoming.
- (
NSDictionary*)
selectedTextAttributes;
Availability: OpenStep
Description forthcoming.
- (void)
setAlignment: (
NSTextAlignment)alignment
range: (
NSRange)range;
Availability: OpenStep
Description forthcoming.
- (void)
setAllowsUndo: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setConstrainedFrameSize: (
NSSize)desiredSize;
Availability: OpenStep
Description forthcoming.
- (void)
setContinuousSpellCheckingEnabled: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setInsertionPointColor: (
NSColor*)color;
Availability: OpenStep
Description forthcoming.
- (void)
setMarkedTextAttributes: (
NSDictionary*)attributeDictionary;
Availability: OpenStep
Description forthcoming.
- (void)
setRulerVisible: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setSelectedTextAttributes: (
NSDictionary*)attributeDictionary;
Availability: OpenStep
Description forthcoming.
- (void)
setSmartInsertDeleteEnabled: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setTextContainer: (
NSTextContainer*)container;
Availability: OpenStep
Description forthcoming.
- (void)
setTextContainerInset: (
NSSize)inset;
Availability: OpenStep
Description forthcoming.
- (void)
setUsesRuler: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (BOOL)
shouldChangeTextInRange: (
NSRange)affectedCharRange
replacementString: (
NSString*)replacementString;
Availability: OpenStep
Description forthcoming.
- (BOOL)
smartInsertDeleteEnabled;
Availability: OpenStep
Description forthcoming.
- (
NSTextContainer*)
textContainer;
Availability: OpenStep
Description forthcoming.
- (
NSSize)
textContainerInset;
Availability: OpenStep
Description forthcoming.
- (
NSPoint)
textContainerOrigin;
Availability: OpenStep
Description forthcoming.
- (
NSTextStorage*)
textStorage;
Availability: OpenStep
Description forthcoming.
- (BOOL)
usesRuler;
Availability: OpenStep
Description forthcoming.
Instance Variables for NSTextView Class
@protected NSColor* _backgroundColor;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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;
Availability: OpenStep
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: MacOS-X 10.0.0
Description forthcoming.
Method summary
- (void)
textView: (
NSTextView*)textView
clickedOnCell: (id<
NSTextAttachmentCell>)cell
inRect: (
NSRect)cellFrame
atIndex: (unsigned)charIndex;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
textView: (
NSTextView*)textView
clickedOnLink: (id)link;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
textView: (
NSTextView*)textView
clickedOnLink: (id)link
atIndex: (unsigned)charIndex;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
textView: (
NSTextView*)textView
doCommandBySelector: (SEL)commandSelector;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
textView: (
NSTextView*)textView
doubleClickedOnCell: (id<
NSTextAttachmentCell>)cell
inRect: (
NSRect)cellFrame
atIndex: (unsigned)charIndex;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
textView: (
NSTextView*)textView
shouldChangeTextInRange: (
NSRange)affectedCharRange
replacementString: (
NSString*)replacementString;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSRange)
textView: (
NSTextView*)textView
willChangeSelectionFromCharacterRange: (
NSRange)oldSelectedCharRange
toCharacterRange: (
NSRange)newSelectedCharRange;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
textViewDidChangeSelection: (
NSNotification*)notification;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSUndoManager*)
undoManagerForTextView: (
NSTextView*)view;
Availability: MacOS-X 10.0.0
Description forthcoming.
- Declared in:
- AppKit/NSTextView.h
Availability: OpenStep
Description forthcoming.
Method summary
- (void)
_layoutManagerDidInvalidateLayout;
Availability: OpenStep
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: OpenStep
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: OpenStep
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: OpenStep
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: OpenStep
Description forthcoming.
Method summary
- (void)
alignJustified: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
loosenKerning: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
lowerBaseline: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
raiseBaseline: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
tightenKerning: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
toggleContinuousSpellChecking: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
toggleTraditionalCharacterShape: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
transpose: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
turnOffKerning: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
turnOffLigatures: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
useAllLigatures: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
useStandardKerning: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
useStandardLigatures: (id)sender;
Availability: OpenStep
Description forthcoming.
- Declared in:
- AppKit/NSTextView.h
Availability: OpenStep
Description forthcoming.
Method summary
- (
NSArray*)
acceptableDragTypes;
Availability: OpenStep
Description forthcoming.
- (void)
cleanUpAfterDragOperation;
Availability: OpenStep
Description forthcoming.
- (
NSImage*)
dragImageForSelectionWithEvent: (
NSEvent*)event
origin: (
NSPoint*)origin;
Availability: OpenStep
Description forthcoming.
- (unsigned int)
dragOperationForDraggingInfo: (id
)dragInfo type: (NSString*)type;
Availability: OpenStep
Description forthcoming.
- (BOOL)
dragSelectionWithEvent: (
NSEvent*)event
offset: (
NSSize)mouseOffset
slideBack: (BOOL)slideBack;
Availability: OpenStep
Description forthcoming.
- (void)
drawInsertionPointInRect: (
NSRect)rect
color: (
NSColor*)color
turnedOn: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (
NSString*)
preferredPasteboardTypeFromArray: (
NSArray*)availableTypes
restrictedToTypesFromArray: (
NSArray*)allowedTypes;
Availability: OpenStep
Description forthcoming.
- (BOOL)
readSelectionFromPasteboard: (
NSPasteboard*)pboard;
Availability: OpenStep
Description forthcoming.
- (BOOL)
readSelectionFromPasteboard: (
NSPasteboard*)pboard
type: (
NSString*)type;
Availability: OpenStep
Description forthcoming.
- (
NSArray*)
readablePasteboardTypes;
Availability: OpenStep
Description forthcoming.
- (void)
rulerView: (
NSRulerView*)ruler
didAddMarker: (
NSRulerMarker*)marker;
Availability: OpenStep
Description forthcoming.
- (void)
rulerView: (
NSRulerView*)ruler
didMoveMarker: (
NSRulerMarker*)marker;
Availability: OpenStep
Mote movement of marker
- (void)
rulerView: (
NSRulerView*)ruler
didRemoveMarker: (
NSRulerMarker*)marker;
Availability: OpenStep
Handle removal of marker.
- (void)
rulerView: (
NSRulerView*)ruler
handleMouseDown: (
NSEvent*)event;
Availability: OpenStep
Set new marker position from mouse down location.
- (BOOL)
rulerView: (
NSRulerView*)ruler
shouldAddMarker: (
NSRulerMarker*)marker;
Availability: OpenStep
Return YES
if the marker
should be added, NO
otherwise.
- (BOOL)
rulerView: (
NSRulerView*)ruler
shouldMoveMarker: (
NSRulerMarker*)marker;
Availability: OpenStep
Return YES
if the marker
should be moved, NO
otherwise.
- (BOOL)
rulerView: (
NSRulerView*)ruler
shouldRemoveMarker: (
NSRulerMarker*)marker;
Availability: OpenStep
Return YES
if the marker
should be removed, NO
otherwise.
- (float)
rulerView: (
NSRulerView*)ruler
willAddMarker: (
NSRulerMarker*)marker
atLocation: (float)location;
Availability: OpenStep
Return a position for adding by constraining the
specified location.
- (float)
rulerView: (
NSRulerView*)ruler
willMoveMarker: (
NSRulerMarker*)marker
toLocation: (float)location;
Availability: OpenStep
Return a new position by constraining the specified
location.
- (
NSRange)
selectedRange;
Availability: OpenStep
Description forthcoming.
- (
NSRange)
selectionRangeForProposedRange: (
NSRange)proposedCharRange
granularity: (
NSSelectionGranularity)gr;
Availability: OpenStep
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: OpenStep
Description forthcoming.
- (void)
setSelectedRange: (
NSRange)charRange;
Availability: OpenStep
Description forthcoming.
- (void)
setSelectedRange: (
NSRange)charRange
affinity: (
NSSelectionAffinity)affinity
stillSelecting: (BOOL)stillSelectingFlag;
Availability: OpenStep
Description forthcoming.
- (void)
setSelectionGranularity: (
NSSelectionGranularity)granularity;
Availability: OpenStep
Description forthcoming.
- (void)
setTypingAttributes: (
NSDictionary*)attrs;
Availability: OpenStep
Description forthcoming.
- (BOOL)
shouldDrawInsertionPoint;
Availability: OpenStep
Description forthcoming.
- (
NSRange)
smartDeleteRangeForProposedRange: (
NSRange)proposedCharRange;
Availability: OpenStep
Description forthcoming.
- (void)
smartInsertForString: (
NSString*)aString
replacingRange: (
NSRange)charRange
beforeString: (
NSString**)beforeString
afterString: (
NSString**)afterString;
Availability: OpenStep
Description forthcoming.
- (int)
spellCheckerDocumentTag;
Availability: OpenStep
Description forthcoming.
- (
NSDictionary*)
typingAttributes;
Availability: OpenStep
TODO: categorize
- (void)
updateDragTypeRegistration;
Availability: OpenStep
Description forthcoming.
- (void)
updateFontPanel;
Availability: OpenStep
Description forthcoming.
- (void)
updateInsertionPointStateAndRestartTimer: (BOOL)restartFlag;
Availability: OpenStep
Description forthcoming.
- (void)
updateRuler;
Availability: OpenStep
Description forthcoming.
- (id)
validRequestorForSendType: (
NSString*)sendType
returnType: (
NSString*)returnType;
Availability: OpenStep
Description forthcoming.
- (
NSArray*)
writablePasteboardTypes;
Availability: OpenStep
Description forthcoming.
- (BOOL)
writeSelectionToPasteboard: (
NSPasteboard*)pboard
type: (
NSString*)type;
Availability: OpenStep
Description forthcoming.
- (BOOL)
writeSelectionToPasteboard: (
NSPasteboard*)pboard
types: (
NSArray*)types;
Availability: OpenStep
Description forthcoming.
Up