API  0.9.10
CPTextView Class Reference

#import <CPTextView.h>

+ Inheritance diagram for CPTextView:

Instance Methods

(BOOL) - acceptsFirstResponder
 
(id< CPTextViewDelegate > _delegate) - accessors
 
(BOOL) - allowsUndo
 
(BOOL) - becomeFirstResponder
 
(void) - becomeKeyWindow
 
(void) - cancelOperation:
 
(void) - changeColor:
 
(void) - changeFont:
 
(void) - copy:
 
(void) - cut:
 
(void) - delete:
 
(void) - deleteBackward:
 
(void) - deleteBackward:ignoreSmart:
 
(void) - deleteForward:
 
(void) - deleteToBeginningOfLine:
 
(void) - deleteToBeginningOfParagraph:
 
(void) - deleteToEndOfLine:
 
(void) - deleteToEndOfParagraph:
 
(void) - deleteWordBackward:
 
(void) - deleteWordForward:
 
(void) - didChangeText
 
(void) - displayRectIgnoringOpacity:inContext:
 
(void) - doCommandBySelector:
 
(void) - draggingUpdated:
 
(void) - drawInsertionPointInRect:color:turnedOn:
 
(void) - drawRect:
 
(void) - encodeWithCoder:
 
(CGRect) - exposedRect
 
(CPFont- font
 
(id) - initWithCoder:
 
(id) - initWithFrame:
 
(id) - initWithFrame:textContainer:
 
(CPColor- insertionPointColor
 
(void) - insertLineBreak:
 
(void) - insertNewline:
 
(void) - insertNewlineIgnoringFieldEditor:
 
(void) - insertTab:
 
(void) - insertTabIgnoringFieldEditor:
 
(void) - insertText:
 
(void) - invalidateTextContainerOrigin
 
(BOOL) - isEditable
 
(BOOL) - isHorizontallyResizable
 
(BOOL) - isRulerVisible
 
(BOOL) - isSelectable
 
(BOOL) - isVerticallyResizable
 
(void) - keyDown:
 
(void) - keyUp:
 
(CPLayoutManager- layoutManager
 
(CGSize) - maxSize
 
(CGSize) - minSize
 
(void) - mouseDown:
 
(void) - mouseDragged:
 
(void) - mouseUp:
 
(void) - moveBackward:
 
(void) - moveBackwardAndModifySelection:
 
(void) - moveDown:
 
(void) - moveDownAndModifySelection:
 
(void) - moveLeft:
 
(void) - moveLeftAndModifySelection:
 
(void) - moveParagraphBackward:
 
(void) - moveParagraphBackwardAndModifySelection:
 
(void) - moveParagraphForward:
 
(void) - moveParagraphForwardAndModifySelection:
 
(void) - moveRight:
 
(void) - moveRightAndModifySelection:
 
(void) - moveToBeginningOfDocument:
 
(void) - moveToBeginningOfDocumentAndModifySelection:
 
(void) - moveToBeginningOfParagraph:
 
(void) - moveToBeginningOfParagraphAndModifySelection:
 
(void) - moveToEndOfDocument:
 
(void) - moveToEndOfDocumentAndModifySelection:
 
(void) - moveToEndOfParagraph:
 
(void) - moveToEndOfParagraphAndModifySelection:
 
(void) - moveToLeftEndOfLine:
 
(void) - moveToLeftEndOfLine:byExtending:
 
(void) - moveToLeftEndOfLineAndModifySelection:
 
(void) - moveToRightEndOfLine:
 
(void) - moveToRightEndOfLine:byExtending:
 
(void) - moveToRightEndOfLineAndModifySelection:
 
(void) - moveUp:
 
(void) - moveUpAndModifySelection:
 
(void) - moveWordBackward:
 
(void) - moveWordBackwardAndModifySelection:
 
(void) - moveWordForward:
 
(void) - moveWordForwardAndModifySelection:
 
(void) - moveWordLeft:
 
(void) - moveWordLeftAndModifySelection:
 
(void) - moveWordRight:
 
(void) - moveWordRightAndModifySelection:
 
(BOOL) - needsPanelToBecomeKey
 
(CPString- objectValue
 
(void) - paste:
 
(void) - pasteAsPlainText:
 
(void) - performDragOperation:
 
(void) - redo:
 
(void) - replaceCharactersInRange:withString:
 
(BOOL) - resignFirstResponder
 
(void) - resignKeyWindow
 
(void) - scrollRangeToVisible:
 
(void) - selectAll:
 
(CPRange) - selectedRange
 
(CPArray) - selectedRanges
 
(CPDictionary- selectedTextAttributes
 
(CPSelectionAffinity) - selectionAffinity
 
(CPSelectionGranularity) - selectionGranularity
 
(CPRange) - selectionRangeForProposedRange:granularity:
 
(void) - setAllowsUndo:
 
(void) - setConstrainedFrameSize:
 
(void) - setDelegate:
 
(void) - setFont:
 
(void) - setFont:range:
 
(void) - setFrameSize:
 
(void) - setHorizontallyResizable:
 
(void) - setInsertionPointColor:
 
(void) - setMaxSize:
 
(void) - setMinSize:
 
(void) - setObjectValue:
 
(void) - setSelectedRange:
 
(void) - setSelectedRange:affinity:stillSelecting:
 
(void) - setSelectedTextAttributes:
 
(void) - setSelectionGranularity:
 
(void) - setString:
 
(void) - setTextColor:
 
(void) - setTextColor:range:
 
(void) - setTextContainer:
 
(void) - setTextContainerInset:
 
(void) - setTypingAttributes:
 
(void) - setUsesFontPanel:
 
(void) - setVerticallyResizable:
 
(BOOL) - shouldChangeTextInRange:replacementString:
 
(BOOL) - shouldDrawInsertionPoint
 
(void) - sizeToFit
 
(CPString- string
 
(CPString- stringValue
 
(void) - superviewBoundsChanged:
 
(void) - superviewFrameChanged:
 
(CPColor- textColor
 
(CPTextContainer- textContainer
 
(CGSize) - textContainerInset
 
(CGPoint) - textContainerOrigin
 
(CPTextStorage- textStorage
 
(CPDictionary- typingAttributes
 
(void) - underline:
 
(void) - undo:
 
(void) - updateInsertionPointStateAndRestartTimer:
 
(BOOL) - usesFontPanel
 
(void) - viewWillMoveToSuperview:
 
- Instance Methods inherited from CPText
(void) - copyFont:
 
(CPFont- font:
 
(BOOL) - isRichText
 
(void) - pasteFont:
 
(void) - selectedAll:
 
(void) - setEditable:
 
(void) - setRichText:
 
(void) - setSelectable:
 
(void) - setString:
 
- Instance Methods inherited from CPView
(BOOL) - acceptsFirstMouse:
 
(void) - addSubview:
 
(void) - addSubview:positioned:relativeTo:
 
(void) - addTrackingArea:
 
(CGRect) - adjustScroll:
 
(float) - alphaValue
 
(CAAnimation- animationForKey:
 
(CPDictionary- animations
 
(id) - animator
 
(BOOL) - autoresizesSubviews
 
(unsigned) - autoresizingMask
 
(BOOL) - autoscroll:
 
(CPColor- backgroundColor
 
(CGRect) - bounds
 
(CGPoint) - boundsOrigin
 
(CGSize) - boundsSize
 
(BOOL) - canBecomeKeyView
 
(CGPoint) - center
 
(BOOL) - clipsToBounds
 
(CGPoint) - convertPoint:fromView:
 
(CGPoint) - convertPoint:toView:
 
(CGPoint) - convertPointFromBase:
 
(CGPoint) - convertPointToBase:
 
(CGRect) - convertRect:fromView:
 
(CGRect) - convertRect:toView:
 
(CGRect) - convertRectFromBase:
 
(CGRect) - convertRectToBase:
 
(CGSize) - convertSize:fromView:
 
(CGSize) - convertSize:toView:
 
(CPView- createEphemeralSubviewNamed:
 
(CPString- debug_description
 
(void) - didAddSubview:
 
(void) - display
 
(void) - displayIfNeeded
 
(void) - displayIfNeededInRect:
 
(void) - displayRect:
 
(void) - dragImage:at:offset:event:pasteboard:source:slideBack:
 
(void) - dragView:at:offset:event:pasteboard:source:slideBack:
 
(CPAppearance- effectiveAppearance
 
(CPMenuItem- enclosingMenuItem
 
(CPScrollView- enclosingScrollView
 
(BOOL) - enterFullScreenMode
 
(BOOL) - enterFullScreenMode:withOptions:
 
(CPView- ephemeralSubviewNamed:
 
(void) - exitFullScreenMode
 
(void) - exitFullScreenModeWithOptions:
 
(CGRect) - frame
 
(CGPoint) - frameOrigin
 
(CGRect) - frameRectOfView:inSuperviewSize:
 
(CGSize) - frameSize
 
(CGRect) - frameWithNewSuperviewSize:
 
(BOOL) - hasCustomDrawRect
 
(BOOL) - hasCustomLayoutSubviews
 
(CPView- hitTest:
 
(BOOL) - hitTests
 
(id) - init
 
(BOOL) - inLiveResize
 
(BOOL) - isDescendantOf:
 
(BOOL) - isFlipped
 
(BOOL) - isHidden
 
(BOOL) - isHiddenOrHasHiddenAncestor
 
(BOOL) - isInFullScreenMode
 
(BOOL) - isOpaque
 
(CALayer- layer
 
(void) - layout
 
(CPView- layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:
 
(void) - layoutIfNeeded
 
(void) - layoutSubviews
 
(void) - lockFocus
 
(CPMenu- menuForEvent:
 
(BOOL) - mouseDownCanMoveWindow
 
(BOOL) - needsDisplay
 
(BOOL) - needsLayout
 
(CPView- nextKeyView
 
(CPView- nextValidKeyView
 
(void) - objectDidChangeTheme
 
(BOOL) - performKeyEquivalent:
 
(BOOL) - postsBoundsChangedNotifications
 
(BOOL) - postsFrameChangedNotifications
 
(CPView- previousKeyView
 
(CPView- previousValidKeyView
 
(CGRect) - rectForEphemeralSubviewNamed:
 
(void) - reflectScrolledClipView:
 
(CPArray) - registeredDraggedTypes
 
(void) - registerForDraggedTypes:
 
(void) - removeAllTrackingAreas
 
(void) - removeFromSuperview
 
(void) - removeTrackingArea:
 
(void) - replaceSubview:with:
 
(void) - resizeSubviewsWithOldSize:
 
(void) - resizeWithOldSuperviewSize:
 
(void) - rightMouseDown:
 
(CGSize) - scaleSize
 
(void) - scaleUnitSquareToSize:
 
(void) - scrollClipView:toPoint:
 
(void) - scrollPoint:
 
(void) - scrollRect:by:
 
(BOOL) - scrollRectToVisible:
 
(void) - setAlphaValue:
 
(void) - setAnimations:
 
(void) - setAppearance:
 
(void) - setAutoresizesSubviews:
 
(void) - setAutoresizingMask:
 
(void) - setBackgroundColor:
 
(void) - setBounds:
 
(void) - setBoundsOrigin:
 
(void) - setBoundsSize:
 
(void) - setCenter:
 
(void) - setClipsToBounds:
 
(void) - setFrame:
 
(void) - setFrameOrigin:
 
(void) - setHidden:
 
(void) - setHitTests:
 
(void) - setLayer:
 
(void) - setNeedsDisplay:
 
(void) - setNeedsDisplayInRect:
 
(void) - setNeedsLayout
 
(void) - setNeedsLayout:
 
(void) - setNextKeyView:
 
(void) - setPostsBoundsChangedNotifications:
 
(void) - setPostsFrameChangedNotifications:
 
(void) - setScaleSize:
 
(void) - setSubviews:
 
(void) - setTag:
 
(void) - setThemeClass:
 
(BOOL) - setThemeState:
 
(void) - setToolTip:
 
(void) - setValue:forThemeAttribute:
 
(void) - setValue:forThemeAttribute:inState:
 
(void) - setWantsLayer:
 
(CPArray) - subviews
 
(CPView- superview
 
(CPInteger) - tag
 
(void) - unlockFocus
 
(void) - unregisterDraggedTypes
 
(BOOL) - unsetThemeState:
 
(void) - updateTrackingAreas
 
(void) - viewDidEndLiveResize
 
(void) - viewDidHide
 
(void) - viewDidLayout
 
(void) - viewDidMoveToSuperview
 
(void) - viewDidMoveToWindow
 
(void) - viewDidUnhide
 
(void) - viewWillDraw
 
(void) - viewWillLayout
 
(void) - viewWillMoveToWindow:
 
(void) - viewWillStartLiveResize
 
(CPView- viewWithTag:
 
(CGRect) - visibleRect
 
(BOOL) - wantsLayer
 
(void) - willRemoveSubview:
 
(CPWindow- window
 

Additional Inherited Members

- Class Methods inherited from CPView
(Class) + animatorClass
 
(CAAnimation+ defaultAnimationForKey:
 
(CPMenu+ defaultMenu
 
(void) + initialize
 
(BOOL) + isHighDPIDrawingEnabled
 
(CPSet) + keyPathsForValuesAffectingBounds
 
(CPSet) + keyPathsForValuesAffectingFrame
 
(void) + setHighDPIDrawingEnabled:
 

Detailed Description

Definition at line 2 of file CPTextView.h.

Method Documentation

◆ acceptsFirstResponder()

- (BOOL) acceptsFirstResponder
implementation

Definition at line 442 of file CPTextView.j.

◆ accessors()

- (id< CPTextViewDelegate > _delegate) accessors (property)  = delegate
implementation

◆ allowsUndo()

- (BOOL) allowsUndo
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2750 of file CPTextView.j.

◆ becomeFirstResponder()

- (BOOL) becomeFirstResponder
implementation

Reimplemented from CPView.

Definition at line 456 of file CPTextView.j.

◆ becomeKeyWindow()

- (void) becomeKeyWindow
implementation

Definition at line 521 of file CPTextView.j.

◆ cancelOperation:()

- (void) cancelOperation: (id)  sender
implementation

Definition at line 1497 of file CPTextView.j.

◆ changeColor:()

- (void) changeColor: (id)  sender
implementation

Definition at line 1712 of file CPTextView.j.

◆ changeFont:()

- (void) changeFont: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 1662 of file CPTextView.j.

◆ copy:()

- (void) copy: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 359 of file CPTextView.j.

◆ cut:()

- (void) cut: (id)  sender
implementation

Definition at line 1539 of file CPTextView.j.

◆ delete:()

- (void) delete: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 1616 of file CPTextView.j.

◆ deleteBackward:()

- (void) deleteBackward: (id)  sender
implementation

Definition at line 1521 of file CPTextView.j.

◆ deleteBackward:ignoreSmart:()

- (void) deleteBackward: (id)  sender
ignoreSmart: (BOOL)  ignoreFlag 
implementation

Definition at line 1502 of file CPTextView.j.

◆ deleteForward:()

- (void) deleteForward: (id)  sender
implementation

Definition at line 1527 of file CPTextView.j.

◆ deleteToBeginningOfLine:()

- (void) deleteToBeginningOfLine: (id)  sender
implementation

Definition at line 1372 of file CPTextView.j.

◆ deleteToBeginningOfParagraph:()

- (void) deleteToBeginningOfParagraph: (id)  sender
implementation

Definition at line 1363 of file CPTextView.j.

◆ deleteToEndOfLine:()

- (void) deleteToEndOfLine: (id)  sender
implementation

Definition at line 1381 of file CPTextView.j.

◆ deleteToEndOfParagraph:()

- (void) deleteToEndOfParagraph: (id)  sender
implementation

Definition at line 1354 of file CPTextView.j.

◆ deleteWordBackward:()

- (void) deleteWordBackward: (id)  sender
implementation

Definition at line 1390 of file CPTextView.j.

◆ deleteWordForward:()

- (void) deleteWordForward: (id)  sender
implementation

Definition at line 1399 of file CPTextView.j.

◆ didChangeText()

- (void) didChangeText
implementation

Definition at line 647 of file CPTextView.j.

◆ displayRectIgnoringOpacity:inContext:()

- (void) displayRectIgnoringOpacity: (CGRect)  aRect
inContext: (CPGraphicsContext aGraphicsContext 
implementation

Reimplemented from CPView.

Definition at line 732 of file CPTextView.j.

◆ doCommandBySelector:()

- (void) doCommandBySelector: (SEL)  aSelector
implementation

Definition at line 641 of file CPTextView.j.

◆ draggingUpdated:()

- (void) draggingUpdated: (CPDraggingInfo info
implementation

Definition at line 2044 of file CPTextView.j.

◆ drawInsertionPointInRect:color:turnedOn:()

- (void) drawInsertionPointInRect: (CGRect)  aRect
color: (CPColor aColor
turnedOn: (BOOL)  flag 
implementation

Definition at line 726 of file CPTextView.j.

◆ drawRect:()

- (void) drawRect: (CGRect)  aRect
implementation

Draws the receiver into aRect. This method should be overridden by subclasses.

Parameters
aRectthe area that should be drawn into

Reimplemented from CPView.

Definition at line 739 of file CPTextView.j.

◆ encodeWithCoder:()

- (void) encodeWithCoder: (CPCoder aCoder
implementation

Archives the view to a coder.

Parameters
aCoderthe object into which the view's data will be archived.

Reimplemented from CPText.

Provided by category CPTextView(CPCoding).

Definition at line 2244 of file CPTextView.j.

◆ exposedRect()

- (CGRect) exposedRect
implementation

Definition at line 284 of file CPTextView.j.

◆ font()

- (CPFont) font
implementation

Definition at line 1625 of file CPTextView.j.

◆ initWithCoder:()

- (id) initWithCoder: (CPCoder aCoder
implementation

Initializes the view from an archive.

Parameters
aCoderthe coder from which to initialize
Returns
the initialized view

Reimplemented from CPText.

Provided by category CPTextView(CPCoding).

Definition at line 2202 of file CPTextView.j.

◆ initWithFrame:()

- (id) initWithFrame: (CGRect)  aFrame
implementation

Initializes the receiver for usage with the specified bounding rectangle

Returns
the initialized view

Reimplemented from CPView.

Definition at line 193 of file CPTextView.j.

◆ initWithFrame:textContainer:()

- (id) initWithFrame: (CGRect)  aFrame
textContainer: (CPTextContainer aContainer 
implementation

Definition at line 163 of file CPTextView.j.

◆ insertionPointColor()

- (CPColor) insertionPointColor
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2870 of file CPTextView.j.

◆ insertLineBreak:()

- (void) insertLineBreak: (id)  sender
implementation

Definition at line 1550 of file CPTextView.j.

◆ insertNewline:()

- (void) insertNewline: (id)  sender
implementation

Definition at line 1570 of file CPTextView.j.

◆ insertNewlineIgnoringFieldEditor:()

- (void) insertNewlineIgnoringFieldEditor: (id)  sender
implementation

Definition at line 1565 of file CPTextView.j.

◆ insertTab:()

- (void) insertTab: (id)  sender
implementation

Definition at line 1555 of file CPTextView.j.

◆ insertTabIgnoringFieldEditor:()

- (void) insertTabIgnoringFieldEditor: (id)  sender
implementation

Definition at line 1560 of file CPTextView.j.

◆ insertText:()

- (void) insertText: (CPString aString
implementation

Definition at line 687 of file CPTextView.j.

◆ invalidateTextContainerOrigin()

- (void) invalidateTextContainerOrigin
implementation

Definition at line 632 of file CPTextView.j.

◆ isEditable()

- (BOOL) isEditable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Definition at line 2099 of file CPTextView.j.

◆ isHorizontallyResizable()

- (BOOL) isHorizontallyResizable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2766 of file CPTextView.j.

◆ isRulerVisible()

- (BOOL) isRulerVisible
implementation

Reimplemented from CPText.

Definition at line 1775 of file CPTextView.j.

◆ isSelectable()

- (BOOL) isSelectable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Definition at line 2095 of file CPTextView.j.

◆ isVerticallyResizable()

- (BOOL) isVerticallyResizable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2782 of file CPTextView.j.

◆ keyDown:()

- (void) keyDown: (CPEvent event
implementation

Definition at line 900 of file CPTextView.j.

◆ keyUp:()

- (void) keyUp: (CPEvent event
implementation

Definition at line 911 of file CPTextView.j.

◆ layoutManager()

- (CPLayoutManager) layoutManager
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2934 of file CPTextView.j.

◆ maxSize()

- (CGSize) maxSize
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2838 of file CPTextView.j.

◆ minSize()

- (CGSize) minSize
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2822 of file CPTextView.j.

◆ mouseDown:()

- (void) mouseDown: (CPEvent event
implementation

Reimplemented from CPView.

Definition at line 951 of file CPTextView.j.

◆ mouseDragged:()

- (void) mouseDragged: (CPEvent event
implementation

Definition at line 1020 of file CPTextView.j.

◆ mouseUp:()

- (void) mouseUp: (CPEvent event
implementation

Definition at line 1046 of file CPTextView.j.

◆ moveBackward:()

- (void) moveBackward: (id)  sender
implementation

Definition at line 1219 of file CPTextView.j.

◆ moveBackwardAndModifySelection:()

- (void) moveBackwardAndModifySelection: (id)  sender
implementation

Definition at line 1224 of file CPTextView.j.

◆ moveDown:()

- (void) moveDown: (id)  sender
implementation

Definition at line 1066 of file CPTextView.j.

◆ moveDownAndModifySelection:()

- (void) moveDownAndModifySelection: (id)  sender
implementation

Definition at line 1096 of file CPTextView.j.

◆ moveLeft:()

- (void) moveLeft: (id)  sender
implementation

Definition at line 1235 of file CPTextView.j.

◆ moveLeftAndModifySelection:()

- (void) moveLeftAndModifySelection: (id)  sender
implementation

Definition at line 1213 of file CPTextView.j.

◆ moveParagraphBackward:()

- (void) moveParagraphBackward: (id)  sender
implementation

Definition at line 1336 of file CPTextView.j.

◆ moveParagraphBackwardAndModifySelection:()

- (void) moveParagraphBackwardAndModifySelection: (id)  sender
implementation

Definition at line 1342 of file CPTextView.j.

◆ moveParagraphForward:()

- (void) moveParagraphForward: (id)  sender
implementation

Definition at line 1265 of file CPTextView.j.

◆ moveParagraphForwardAndModifySelection:()

- (void) moveParagraphForwardAndModifySelection: (id)  sender
implementation

Definition at line 1259 of file CPTextView.j.

◆ moveRight:()

- (void) moveRight: (id)  sender
implementation

Definition at line 1469 of file CPTextView.j.

◆ moveRightAndModifySelection:()

- (void) moveRightAndModifySelection: (id)  sender
implementation

Definition at line 1229 of file CPTextView.j.

◆ moveToBeginningOfDocument:()

- (void) moveToBeginningOfDocument: (id)  sender
implementation

Definition at line 1291 of file CPTextView.j.

◆ moveToBeginningOfDocumentAndModifySelection:()

- (void) moveToBeginningOfDocumentAndModifySelection: (id)  sender
implementation

Definition at line 1297 of file CPTextView.j.

◆ moveToBeginningOfParagraph:()

- (void) moveToBeginningOfParagraph: (id)  sender
implementation

Definition at line 1321 of file CPTextView.j.

◆ moveToBeginningOfParagraphAndModifySelection:()

- (void) moveToBeginningOfParagraphAndModifySelection: (id)  sender
implementation

Definition at line 1330 of file CPTextView.j.

◆ moveToEndOfDocument:()

- (void) moveToEndOfDocument: (id)  sender
implementation

Definition at line 1303 of file CPTextView.j.

◆ moveToEndOfDocumentAndModifySelection:()

- (void) moveToEndOfDocumentAndModifySelection: (id)  sender
implementation

Definition at line 1309 of file CPTextView.j.

◆ moveToEndOfParagraph:()

- (void) moveToEndOfParagraph: (id)  sender
implementation

Definition at line 1241 of file CPTextView.j.

◆ moveToEndOfParagraphAndModifySelection:()

- (void) moveToEndOfParagraphAndModifySelection: (id)  sender
implementation

Definition at line 1253 of file CPTextView.j.

◆ moveToLeftEndOfLine:()

- (void) moveToLeftEndOfLine: (id)  sender
implementation

Definition at line 1421 of file CPTextView.j.

◆ moveToLeftEndOfLine:byExtending:()

- (void) moveToLeftEndOfLine: (id)  sender
byExtending: (BOOL)  flag 
implementation

Definition at line 1408 of file CPTextView.j.

◆ moveToLeftEndOfLineAndModifySelection:()

- (void) moveToLeftEndOfLineAndModifySelection: (id)  sender
implementation

Definition at line 1426 of file CPTextView.j.

◆ moveToRightEndOfLine:()

- (void) moveToRightEndOfLine: (id)  sender
implementation

Definition at line 1447 of file CPTextView.j.

◆ moveToRightEndOfLine:byExtending:()

- (void) moveToRightEndOfLine: (id)  sender
byExtending: (BOOL)  flag 
implementation

Definition at line 1431 of file CPTextView.j.

◆ moveToRightEndOfLineAndModifySelection:()

- (void) moveToRightEndOfLineAndModifySelection: (id)  sender
implementation

Definition at line 1452 of file CPTextView.j.

◆ moveUp:()

- (void) moveUp: (id)  sender
implementation

Definition at line 1109 of file CPTextView.j.

◆ moveUpAndModifySelection:()

- (void) moveUpAndModifySelection: (id)  sender
implementation

Definition at line 1141 of file CPTextView.j.

◆ moveWordBackward:()

- (void) moveWordBackward: (id)  sender
implementation

Definition at line 1276 of file CPTextView.j.

◆ moveWordBackwardAndModifySelection:()

- (void) moveWordBackwardAndModifySelection: (id)  sender
implementation

Definition at line 1271 of file CPTextView.j.

◆ moveWordForward:()

- (void) moveWordForward: (id)  sender
implementation

Definition at line 1286 of file CPTextView.j.

◆ moveWordForwardAndModifySelection:()

- (void) moveWordForwardAndModifySelection: (id)  sender
implementation

Definition at line 1281 of file CPTextView.j.

◆ moveWordLeft:()

- (void) moveWordLeft: (id)  sender
implementation

Definition at line 1463 of file CPTextView.j.

◆ moveWordLeftAndModifySelection:()

- (void) moveWordLeftAndModifySelection: (id)  sender
implementation

Definition at line 1457 of file CPTextView.j.

◆ moveWordRight:()

- (void) moveWordRight: (id)  sender
implementation

Definition at line 1315 of file CPTextView.j.

◆ moveWordRightAndModifySelection:()

- (void) moveWordRightAndModifySelection: (id)  sender
implementation

Definition at line 1348 of file CPTextView.j.

◆ needsPanelToBecomeKey()

- (BOOL) needsPanelToBecomeKey
implementation

Returns YES if this view requires a panel to become key. Normally only text fields, so this returns NO.

Reimplemented from CPView.

Definition at line 943 of file CPTextView.j.

◆ objectValue()

- (CPString) objectValue
implementation

Definition at line 569 of file CPTextView.j.

◆ paste:()

- (void) paste: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 431 of file CPTextView.j.

◆ pasteAsPlainText:()

- (void) pasteAsPlainText: (id)  sender
implementation

Definition at line 423 of file CPTextView.j.

◆ performDragOperation:()

- (void) performDragOperation: (CPDraggingInfo aSender
implementation

Definition at line 2057 of file CPTextView.j.

◆ redo:()

- (void) redo: (id)  sender
implementation

Definition at line 554 of file CPTextView.j.

◆ replaceCharactersInRange:withString:()

- (void) replaceCharactersInRange: (CPRange)  aRange
withString: (CPString aString 
implementation

Reimplemented from CPText.

Definition at line 1780 of file CPTextView.j.

◆ resignFirstResponder()

- (BOOL) resignFirstResponder
implementation

Reimplemented from CPView.

Definition at line 464 of file CPTextView.j.

◆ resignKeyWindow()

- (void) resignKeyWindow
implementation

Definition at line 529 of file CPTextView.j.

◆ scrollRangeToVisible:()

- (void) scrollRangeToVisible: (CPRange)  aRange
implementation

Reimplemented from CPText.

Definition at line 1843 of file CPTextView.j.

◆ selectAll:()

- (void) selectAll: (id)  sender
implementation

Definition at line 785 of file CPTextView.j.

◆ selectedRange()

- (CPRange) selectedRange
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2942 of file CPTextView.j.

◆ selectedRanges()

- (CPArray) selectedRanges
implementation

Definition at line 892 of file CPTextView.j.

◆ selectedTextAttributes()

- (CPDictionary) selectedTextAttributes
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2902 of file CPTextView.j.

◆ selectionAffinity()

- (CPSelectionAffinity) selectionAffinity
implementation

Definition at line 1770 of file CPTextView.j.

◆ selectionGranularity()

- (CPSelectionGranularity) selectionGranularity
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2950 of file CPTextView.j.

◆ selectionRangeForProposedRange:granularity:()

- (CPRange) selectionRangeForProposedRange: (CPRange)  proposedRange
granularity: (CPSelectionGranularity)  granularity 
implementation

Definition at line 1925 of file CPTextView.j.

◆ setAllowsUndo:()

- (void) setAllowsUndo: (BOOL)  aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2758 of file CPTextView.j.

◆ setConstrainedFrameSize:()

- (void) setConstrainedFrameSize: (CGSize)  desiredSize
implementation

Definition at line 1785 of file CPTextView.j.

◆ setDelegate:()

- (void) setDelegate: (id <CPTextViewDelegate>)  aDelegate
implementation

TODO : documentation

Definition at line 481 of file CPTextView.j.

◆ setFont:()

- (void) setFont: (CPFont font
implementation

Reimplemented from CPText.

Definition at line 1630 of file CPTextView.j.

◆ setFont:range:()

- (void) setFont: (CPFont font
range: (CPRange)  range 
implementation

Reimplemented from CPText.

Definition at line 1644 of file CPTextView.j.

◆ setFrameSize:()

- (void) setFrameSize: (CGSize)  aSize
implementation

Sets the receiver's frame size. If aSize is the same as the frame's current dimensions, this method simply returns. The method posts a CPViewFrameDidChangeNotification to the default notification center if the receiver is configured to do so.

Parameters
aSizethe new size for the frame

Reimplemented from CPView.

Definition at line 1795 of file CPTextView.j.

◆ setHorizontallyResizable:()

- (void) setHorizontallyResizable: (BOOL)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2774 of file CPTextView.j.

◆ setInsertionPointColor:()

- (void) setInsertionPointColor: (CPColor aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2878 of file CPTextView.j.

◆ setMaxSize:()

- (void) setMaxSize: (CGSize)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2846 of file CPTextView.j.

◆ setMinSize:()

- (void) setMinSize: (CGSize)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2830 of file CPTextView.j.

◆ setObjectValue:()

- (void) setObjectValue: (id)  aValue
implementation

Definition at line 576 of file CPTextView.j.

◆ setSelectedRange:()

- (void) setSelectedRange: (CPRange)  range
implementation

Definition at line 794 of file CPTextView.j.

◆ setSelectedRange:affinity:stillSelecting:()

- (void) setSelectedRange: (CPRange)  range
affinity: (CPSelectionAffinity)  affinity
stillSelecting: (BOOL)  selecting 
implementation

Definition at line 800 of file CPTextView.j.

◆ setSelectedTextAttributes:()

- (void) setSelectedTextAttributes: (CPDictionary aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2910 of file CPTextView.j.

◆ setSelectionGranularity:()

- (void) setSelectionGranularity: (CPSelectionGranularity)  aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2958 of file CPTextView.j.

◆ setString:()

- (void) setString: (id)  aString
implementation

Definition at line 590 of file CPTextView.j.

◆ setTextColor:()

- (void) setTextColor: (CPColor aColor
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 1717 of file CPTextView.j.

◆ setTextColor:range:()

- (void) setTextColor: (CPColor aColor
range: (CPRange)  range 
implementation

Definition at line 1724 of file CPTextView.j.

◆ setTextContainer:()

- (void) setTextContainer: (CPTextContainer aContainer
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 615 of file CPTextView.j.

◆ setTextContainerInset:()

- (void) setTextContainerInset: (CGSize)  aSize
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 626 of file CPTextView.j.

◆ setTypingAttributes:()

- (void) setTypingAttributes: (CPDictionary attributes
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 1584 of file CPTextView.j.

◆ setUsesFontPanel:()

- (void) setUsesFontPanel: (BOOL)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2806 of file CPTextView.j.

◆ setVerticallyResizable:()

- (void) setVerticallyResizable: (BOOL)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2790 of file CPTextView.j.

◆ shouldChangeTextInRange:replacementString:()

- (BOOL) shouldChangeTextInRange: (CPRange)  aRange
replacementString: (CPString aString 
implementation

Definition at line 655 of file CPTextView.j.

◆ shouldDrawInsertionPoint()

- (BOOL) shouldDrawInsertionPoint
implementation

Definition at line 1985 of file CPTextView.j.

◆ sizeToFit()

- (void) sizeToFit
implementation

Definition at line 1790 of file CPTextView.j.

◆ string()

- (CPString) string
implementation

Reimplemented from CPText.

Definition at line 610 of file CPTextView.j.

◆ stringValue()

- (CPString) stringValue
implementation

Definition at line 564 of file CPTextView.j.

◆ superviewBoundsChanged:()

- (void) superviewBoundsChanged: (CPNotification aNotification
implementation

Definition at line 302 of file CPTextView.j.

◆ superviewFrameChanged:()

- (void) superviewFrameChanged: (CPNotification aNotification
implementation

Definition at line 311 of file CPTextView.j.

◆ textColor()

- (CPColor) textColor
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2886 of file CPTextView.j.

◆ textContainer()

- (CPTextContainer) textContainer
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2966 of file CPTextView.j.

◆ textContainerInset()

- (CGSize) textContainerInset
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2854 of file CPTextView.j.

◆ textContainerOrigin()

- (CGPoint) textContainerOrigin
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2814 of file CPTextView.j.

◆ textStorage()

- (CPTextStorage) textStorage
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2982 of file CPTextView.j.

◆ typingAttributes()

- (CPDictionary) typingAttributes
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2918 of file CPTextView.j.

◆ underline:()

- (void) underline: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 1745 of file CPTextView.j.

◆ undo:()

- (void) undo: (id)  sender
implementation

Definition at line 548 of file CPTextView.j.

◆ updateInsertionPointStateAndRestartTimer:()

- (void) updateInsertionPointStateAndRestartTimer: (BOOL)  flag
implementation

Definition at line 1990 of file CPTextView.j.

◆ usesFontPanel()

- (BOOL) usesFontPanel
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2798 of file CPTextView.j.

◆ viewWillMoveToSuperview:()

- (void) viewWillMoveToSuperview: (CPView aView
implementation

Called when the receiver is about to be moved to a new view.

Parameters
aViewthe view to which the receiver will be moved

Reimplemented from CPView.

Definition at line 316 of file CPTextView.j.


The documentation for this class was generated from the following files: