# NSTextView

scottc@net-community.com
far@ix.netcom.com
boehring@biomed.ruhr-uni-bochum.de
FredKiefer@gmx.de
n.pero@mi.flashnet.it
pyrivail@ens-lyon.fr
1996, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
Software documentation for the NSTextView class
AppKit/NSTextView.h
NSTextInput
Description forthcoming.
defaultTypingAttributes
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.
registerForServices
Description forthcoming.
_updateInputMethodState
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.
_updateInputMethodWithInsertionPoint:
insertionPoint
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.
allowsUndo
Description forthcoming.
didChangeText
Description forthcoming.
initWithFrame:
frameRect
Description forthcoming.
initWithFrame:
frameRect
textContainer:
container
Description forthcoming.
insertionPointColor
Description forthcoming.
invalidateTextContainerOrigin
Description forthcoming.
isContinuousSpellCheckingEnabled
Description forthcoming.
layoutManager
Description forthcoming.
markedTextAttributes
Description forthcoming.
pasteAsPlainText:
sender
Description forthcoming.
pasteAsRichText:
sender
Description forthcoming.
rangeForUserCharacterAttributeChange
Description forthcoming.
rangeForUserParagraphAttributeChange
Description forthcoming.
rangeForUserTextChange
Description forthcoming.
replaceCharactersInRange:
aRange
withAttributedString:
aString
Description forthcoming.
replaceCharactersInRange:
aRange
withString:
aString
Description forthcoming.
replaceTextContainer:
newContainer
Description forthcoming.
selectedTextAttributes
Description forthcoming.
setAlignment:
alignment
range:
range
Description forthcoming.
setAllowsUndo:
flag
Description forthcoming.
setConstrainedFrameSize:
desiredSize
Description forthcoming.
setContinuousSpellCheckingEnabled:
flag
Description forthcoming.
setInsertionPointColor:
color
Description forthcoming.
setMarkedTextAttributes:
attributeDictionary
Description forthcoming.
setRulerVisible:
flag
Description forthcoming.
setSelectedTextAttributes:
attributeDictionary
Description forthcoming.
setSmartInsertDeleteEnabled:
flag
Description forthcoming.
setTextContainer:
container
Description forthcoming.
setTextContainerInset:
inset
Description forthcoming.
setUsesRuler:
flag
Description forthcoming.
shouldChangeTextInRange:
affectedCharRange
replacementString:
replacementString
Description forthcoming.
smartInsertDeleteEnabled
Description forthcoming.
textContainer
Description forthcoming.
textContainerInset
Description forthcoming.
textContainerOrigin
Description forthcoming.
textStorage
Description forthcoming.
usesRuler
Description forthcoming.
Software documentation for the NSObject(NSTextViewDelegate) informal protocol
AppKit/NSTextView.h
Description forthcoming.
textView:
textView
clickedOnCell:
cell
inRect:
cellFrame
Description forthcoming.
textView:
textView
clickedOnCell:
cell
inRect:
cellFrame
atIndex:
charIndex
Description forthcoming.
textView:
textView
clickedOnLink:
link
Description forthcoming.
textView:
textView
clickedOnLink:
link
atIndex:
charIndex
Description forthcoming.
textView:
textView
doCommandBySelector:
commandSelector
Description forthcoming.
textView:
textView
doubleClickedOnCell:
cell
inRect:
cellFrame
Description forthcoming.
textView:
textView
doubleClickedOnCell:
cell
inRect:
cellFrame
atIndex:
charIndex
Description forthcoming.
textView:
view
draggedCell:
cell
inRect:
rect
event:
event
Description forthcoming.
textView:
view
draggedCell:
cell
inRect:
rect
event:
event
atIndex:
charIndex
Description forthcoming.
textView:
textView
shouldChangeTextInRange:
affectedCharRange
replacementString:
replacementString
Description forthcoming.
textView:
textView
willChangeSelectionFromCharacterRange:
oldSelectedCharRange
toCharacterRange:
newSelectedCharRange
Description forthcoming.
textViewDidChangeSelection:
notification
Description forthcoming.
undoManagerForTextView:
view
Description forthcoming.
Software documentation for the NSTextView(GSTextView_sync) category
AppKit/NSTextView.h
Description forthcoming.
_layoutManagerDidInvalidateLayout
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.
_recacheDelegateResponses
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.
_syncTextViewsByCalling:
action
withFlag:
flag
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.
_updateMultipleTextViews
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.
Software documentation for the NSTextView(leftovers) category
AppKit/NSTextView.h
Description forthcoming.
acceptableDragTypes
Description forthcoming.
cleanUpAfterDragOperation
Description forthcoming.
dragImageForSelectionWithEvent:
event
origin:
origin
Description forthcoming.
dragOperationForDraggingInfo:
dragInfo
type:
type
Description forthcoming.
dragSelectionWithEvent:
event
offset:
mouseOffset
slideBack:
slideBack
Description forthcoming.
drawInsertionPointInRect:
rect
color:
color
turnedOn:
flag
Description forthcoming.
preferredPasteboardTypeFromArray:
availableTypes
restrictedToTypesFromArray:
allowedTypes
Description forthcoming.
readSelectionFromPasteboard:
pboard
Description forthcoming.
readSelectionFromPasteboard:
pboard
type:
type
Description forthcoming.
readablePasteboardTypes
Description forthcoming.
rulerView:
ruler
didAddMarker:
marker
Description forthcoming.
rulerView:
ruler
didMoveMarker:
marker
Mote movement of marker
rulerView:
ruler
didRemoveMarker:
marker
Handle removal of marker.
rulerView:
ruler
handleMouseDown:
event
Set new marker position from mouse down location.
rulerView:
ruler
shouldAddMarker:
marker
Return `YES` if the marker should be added, `NO` otherwise.
rulerView:
ruler
shouldMoveMarker:
marker
Return `YES` if the marker should be moved, `NO` otherwise.
rulerView:
ruler
shouldRemoveMarker:
marker
Return `YES` if the marker should be removed, `NO` otherwise.
rulerView:
ruler
willAddMarker:
marker
atLocation:
location
Return a position for adding by constraining the specified location.
rulerView:
ruler
willMoveMarker:
marker
toLocation:
location
Return a new position by constraining the specified location.
selectedRange
Description forthcoming.
selectionAffinity
Description forthcoming.
selectionGranularity
Description forthcoming.
selectionRangeForProposedRange:
proposedCharRange
granularity:
gr
Return a range of text which encompasses proposedCharRange but is extended (if necessary) to match the type of selection specified by gr.
setNeedsDisplayInRect:
rect
avoidAdditionalLayout:
flag
Description forthcoming.
setSelectedRange:
charRange
Description forthcoming.
setSelectedRange:
charRange
affinity:
affinity
stillSelecting:
stillSelectingFlag
Description forthcoming.
setSelectionGranularity:
granularity
Description forthcoming.
setTypingAttributes:
attrs
Description forthcoming.
shouldDrawInsertionPoint
Description forthcoming.
smartDeleteRangeForProposedRange:
proposedCharRange
Description forthcoming.
smartInsertForString:
aString
replacingRange:
charRange
beforeString:
beforeString
afterString:
afterString
Description forthcoming.
spellCheckerDocumentTag
Description forthcoming.
typingAttributes
TODO: categorize
updateDragTypeRegistration
Description forthcoming.
updateFontPanel
Description forthcoming.
updateInsertionPointStateAndRestartTimer:
restartFlag
Description forthcoming.
updateRuler
Description forthcoming.
validRequestorForSendType:
sendType
returnType:
returnType
Description forthcoming.
writablePasteboardTypes
Description forthcoming.
writeSelectionToPasteboard:
pboard
type:
type
Description forthcoming.
writeSelectionToPasteboard:
pboard
types:
types
Description forthcoming.
Software documentation for the NSTextView(user_actions) category
AppKit/NSTextView.h
Description forthcoming.
alignJustified:
sender
Description forthcoming.
loosenKerning:
sender
Description forthcoming.
lowerBaseline:
sender
Description forthcoming.
raiseBaseline:
sender
Description forthcoming.
tightenKerning:
sender
Description forthcoming.
toggleContinuousSpellChecking:
sender
Description forthcoming.
toggleTraditionalCharacterShape:
sender
Description forthcoming.
transpose:
sender
Description forthcoming.
turnOffKerning:
sender
Description forthcoming.
turnOffLigatures:
sender
Description forthcoming.
useAllLigatures:
sender
Description forthcoming.
useStandardKerning:
sender
Description forthcoming.
useStandardLigatures:
sender
Description forthcoming.