API  1.0.0
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:handleSmart:
 
(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) - 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) - setDOMClassName:
 
(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
 
(CPString+ defaultThemeClass
 
(void) + initialize
 
(BOOL) + isHighDPIDrawingEnabled
 
(CPSet) + keyPathsForValuesAffectingBounds
 
(CPSet) + keyPathsForValuesAffectingFrame
 
(void) + setHighDPIDrawingEnabled:
 
(CPDictionary+ themeAttributes
 

Detailed Description

Definition at line 2 of file CPTextView.h.

Method Documentation

◆ acceptsFirstResponder()

- (BOOL) acceptsFirstResponder
implementation

Definition at line 478 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 2866 of file CPTextView.j.

◆ becomeFirstResponder()

- (BOOL) becomeFirstResponder
implementation

Reimplemented from CPView.

Definition at line 492 of file CPTextView.j.

◆ becomeKeyWindow()

- (void) becomeKeyWindow
implementation

Definition at line 587 of file CPTextView.j.

◆ cancelOperation:()

- (void) cancelOperation: (id)  sender
implementation

Definition at line 1606 of file CPTextView.j.

◆ changeColor:()

- (void) changeColor: (id)  sender
implementation

Definition at line 1822 of file CPTextView.j.

◆ changeFont:()

- (void) changeFont: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 1772 of file CPTextView.j.

◆ copy:()

- (void) copy: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 413 of file CPTextView.j.

◆ cut:()

- (void) cut: (id)  sender
implementation

Definition at line 1647 of file CPTextView.j.

◆ delete:()

- (void) delete: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 1726 of file CPTextView.j.

◆ deleteBackward:()

- (void) deleteBackward: (id)  sender
implementation

Definition at line 1630 of file CPTextView.j.

◆ deleteBackward:handleSmart:()

- (void) deleteBackward: (id)  sender
handleSmart: (BOOL)  handleSmart 
implementation

Definition at line 1611 of file CPTextView.j.

◆ deleteForward:()

- (void) deleteForward: (id)  sender
implementation

Definition at line 1635 of file CPTextView.j.

◆ deleteToBeginningOfLine:()

- (void) deleteToBeginningOfLine: (id)  sender
implementation

Definition at line 1480 of file CPTextView.j.

◆ deleteToBeginningOfParagraph:()

- (void) deleteToBeginningOfParagraph: (id)  sender
implementation

Definition at line 1471 of file CPTextView.j.

◆ deleteToEndOfLine:()

- (void) deleteToEndOfLine: (id)  sender
implementation

Definition at line 1489 of file CPTextView.j.

◆ deleteToEndOfParagraph:()

- (void) deleteToEndOfParagraph: (id)  sender
implementation

Definition at line 1462 of file CPTextView.j.

◆ deleteWordBackward:()

- (void) deleteWordBackward: (id)  sender
implementation

Definition at line 1498 of file CPTextView.j.

◆ deleteWordForward:()

- (void) deleteWordForward: (id)  sender
implementation

Definition at line 1507 of file CPTextView.j.

◆ didChangeText()

- (void) didChangeText
implementation

Definition at line 713 of file CPTextView.j.

◆ displayRectIgnoringOpacity:inContext:()

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

Reimplemented from CPView.

Definition at line 810 of file CPTextView.j.

◆ doCommandBySelector:()

- (void) doCommandBySelector: (SEL)  aSelector
implementation

Definition at line 707 of file CPTextView.j.

◆ draggingUpdated:()

- (void) draggingUpdated: (CPDraggingInfo info
implementation

Definition at line 2154 of file CPTextView.j.

◆ drawInsertionPointInRect:color:turnedOn:()

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

Definition at line 804 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 817 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 2363 of file CPTextView.j.

◆ exposedRect()

- (CGRect) exposedRect
implementation

Definition at line 338 of file CPTextView.j.

◆ font()

- (CPFont) font
implementation

Definition at line 1735 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 2321 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 200 of file CPTextView.j.

◆ initWithFrame:textContainer:()

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

Definition at line 170 of file CPTextView.j.

◆ insertionPointColor()

- (CPColor) insertionPointColor
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2986 of file CPTextView.j.

◆ insertLineBreak:()

- (void) insertLineBreak: (id)  sender
implementation

Definition at line 1658 of file CPTextView.j.

◆ insertNewline:()

- (void) insertNewline: (id)  sender
implementation

Definition at line 1680 of file CPTextView.j.

◆ insertNewlineIgnoringFieldEditor:()

- (void) insertNewlineIgnoringFieldEditor: (id)  sender
implementation

Definition at line 1675 of file CPTextView.j.

◆ insertTab:()

- (void) insertTab: (id)  sender
implementation

Definition at line 1665 of file CPTextView.j.

◆ insertTabIgnoringFieldEditor:()

- (void) insertTabIgnoringFieldEditor: (id)  sender
implementation

Definition at line 1670 of file CPTextView.j.

◆ insertText:()

- (void) insertText: (CPString aString
implementation

Definition at line 765 of file CPTextView.j.

◆ invalidateTextContainerOrigin()

- (void) invalidateTextContainerOrigin
implementation

Definition at line 698 of file CPTextView.j.

◆ isEditable()

- (BOOL) isEditable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Definition at line 2209 of file CPTextView.j.

◆ isHorizontallyResizable()

- (BOOL) isHorizontallyResizable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2882 of file CPTextView.j.

◆ isRulerVisible()

- (BOOL) isRulerVisible
implementation

Reimplemented from CPText.

Definition at line 1885 of file CPTextView.j.

◆ isSelectable()

- (BOOL) isSelectable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Definition at line 2205 of file CPTextView.j.

◆ isVerticallyResizable()

- (BOOL) isVerticallyResizable
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2898 of file CPTextView.j.

◆ keyDown:()

- (void) keyDown: (CPEvent event
implementation

Definition at line 1005 of file CPTextView.j.

◆ keyUp:()

- (void) keyUp: (CPEvent event
implementation

Definition at line 1016 of file CPTextView.j.

◆ layoutManager()

- (CPLayoutManager) layoutManager
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3050 of file CPTextView.j.

◆ maxSize()

- (CGSize) maxSize
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2954 of file CPTextView.j.

◆ minSize()

- (CGSize) minSize
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2938 of file CPTextView.j.

◆ mouseDown:()

- (void) mouseDown: (CPEvent event
implementation

Reimplemented from CPView.

Definition at line 1056 of file CPTextView.j.

◆ mouseDragged:()

- (void) mouseDragged: (CPEvent event
implementation

Definition at line 1127 of file CPTextView.j.

◆ mouseUp:()

- (void) mouseUp: (CPEvent event
implementation

Definition at line 1153 of file CPTextView.j.

◆ moveBackward:()

- (void) moveBackward: (id)  sender
implementation

Definition at line 1327 of file CPTextView.j.

◆ moveBackwardAndModifySelection:()

- (void) moveBackwardAndModifySelection: (id)  sender
implementation

Definition at line 1332 of file CPTextView.j.

◆ moveDown:()

- (void) moveDown: (id)  sender
implementation

Definition at line 1174 of file CPTextView.j.

◆ moveDownAndModifySelection:()

- (void) moveDownAndModifySelection: (id)  sender
implementation

Definition at line 1204 of file CPTextView.j.

◆ moveLeft:()

- (void) moveLeft: (id)  sender
implementation

Definition at line 1343 of file CPTextView.j.

◆ moveLeftAndModifySelection:()

- (void) moveLeftAndModifySelection: (id)  sender
implementation

Definition at line 1321 of file CPTextView.j.

◆ moveParagraphBackward:()

- (void) moveParagraphBackward: (id)  sender
implementation

Definition at line 1444 of file CPTextView.j.

◆ moveParagraphBackwardAndModifySelection:()

- (void) moveParagraphBackwardAndModifySelection: (id)  sender
implementation

Definition at line 1450 of file CPTextView.j.

◆ moveParagraphForward:()

- (void) moveParagraphForward: (id)  sender
implementation

Definition at line 1373 of file CPTextView.j.

◆ moveParagraphForwardAndModifySelection:()

- (void) moveParagraphForwardAndModifySelection: (id)  sender
implementation

Definition at line 1367 of file CPTextView.j.

◆ moveRight:()

- (void) moveRight: (id)  sender
implementation

Definition at line 1577 of file CPTextView.j.

◆ moveRightAndModifySelection:()

- (void) moveRightAndModifySelection: (id)  sender
implementation

Definition at line 1337 of file CPTextView.j.

◆ moveToBeginningOfDocument:()

- (void) moveToBeginningOfDocument: (id)  sender
implementation

Definition at line 1399 of file CPTextView.j.

◆ moveToBeginningOfDocumentAndModifySelection:()

- (void) moveToBeginningOfDocumentAndModifySelection: (id)  sender
implementation

Definition at line 1405 of file CPTextView.j.

◆ moveToBeginningOfParagraph:()

- (void) moveToBeginningOfParagraph: (id)  sender
implementation

Definition at line 1429 of file CPTextView.j.

◆ moveToBeginningOfParagraphAndModifySelection:()

- (void) moveToBeginningOfParagraphAndModifySelection: (id)  sender
implementation

Definition at line 1438 of file CPTextView.j.

◆ moveToEndOfDocument:()

- (void) moveToEndOfDocument: (id)  sender
implementation

Definition at line 1411 of file CPTextView.j.

◆ moveToEndOfDocumentAndModifySelection:()

- (void) moveToEndOfDocumentAndModifySelection: (id)  sender
implementation

Definition at line 1417 of file CPTextView.j.

◆ moveToEndOfParagraph:()

- (void) moveToEndOfParagraph: (id)  sender
implementation

Definition at line 1349 of file CPTextView.j.

◆ moveToEndOfParagraphAndModifySelection:()

- (void) moveToEndOfParagraphAndModifySelection: (id)  sender
implementation

Definition at line 1361 of file CPTextView.j.

◆ moveToLeftEndOfLine:()

- (void) moveToLeftEndOfLine: (id)  sender
implementation

Definition at line 1529 of file CPTextView.j.

◆ moveToLeftEndOfLine:byExtending:()

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

Definition at line 1516 of file CPTextView.j.

◆ moveToLeftEndOfLineAndModifySelection:()

- (void) moveToLeftEndOfLineAndModifySelection: (id)  sender
implementation

Definition at line 1534 of file CPTextView.j.

◆ moveToRightEndOfLine:()

- (void) moveToRightEndOfLine: (id)  sender
implementation

Definition at line 1555 of file CPTextView.j.

◆ moveToRightEndOfLine:byExtending:()

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

Definition at line 1539 of file CPTextView.j.

◆ moveToRightEndOfLineAndModifySelection:()

- (void) moveToRightEndOfLineAndModifySelection: (id)  sender
implementation

Definition at line 1560 of file CPTextView.j.

◆ moveUp:()

- (void) moveUp: (id)  sender
implementation

Definition at line 1217 of file CPTextView.j.

◆ moveUpAndModifySelection:()

- (void) moveUpAndModifySelection: (id)  sender
implementation

Definition at line 1249 of file CPTextView.j.

◆ moveWordBackward:()

- (void) moveWordBackward: (id)  sender
implementation

Definition at line 1384 of file CPTextView.j.

◆ moveWordBackwardAndModifySelection:()

- (void) moveWordBackwardAndModifySelection: (id)  sender
implementation

Definition at line 1379 of file CPTextView.j.

◆ moveWordForward:()

- (void) moveWordForward: (id)  sender
implementation

Definition at line 1394 of file CPTextView.j.

◆ moveWordForwardAndModifySelection:()

- (void) moveWordForwardAndModifySelection: (id)  sender
implementation

Definition at line 1389 of file CPTextView.j.

◆ moveWordLeft:()

- (void) moveWordLeft: (id)  sender
implementation

Definition at line 1571 of file CPTextView.j.

◆ moveWordLeftAndModifySelection:()

- (void) moveWordLeftAndModifySelection: (id)  sender
implementation

Definition at line 1565 of file CPTextView.j.

◆ moveWordRight:()

- (void) moveWordRight: (id)  sender
implementation

Definition at line 1423 of file CPTextView.j.

◆ moveWordRightAndModifySelection:()

- (void) moveWordRightAndModifySelection: (id)  sender
implementation

Definition at line 1456 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 1048 of file CPTextView.j.

◆ objectValue()

- (CPString) objectValue
implementation

Definition at line 635 of file CPTextView.j.

◆ paste:()

- (void) paste: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 467 of file CPTextView.j.

◆ pasteAsPlainText:()

- (void) pasteAsPlainText: (id)  sender
implementation

Definition at line 459 of file CPTextView.j.

◆ performDragOperation:()

- (void) performDragOperation: (CPDraggingInfo aSender
implementation

Definition at line 2167 of file CPTextView.j.

◆ redo:()

- (void) redo: (id)  sender
implementation

Definition at line 620 of file CPTextView.j.

◆ replaceCharactersInRange:withString:()

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

Reimplemented from CPText.

Definition at line 1890 of file CPTextView.j.

◆ resignFirstResponder()

- (BOOL) resignFirstResponder
implementation

Reimplemented from CPView.

Definition at line 509 of file CPTextView.j.

◆ resignKeyWindow()

- (void) resignKeyWindow
implementation

Definition at line 595 of file CPTextView.j.

◆ scrollRangeToVisible:()

- (void) scrollRangeToVisible: (CPRange)  aRange
implementation

Reimplemented from CPText.

Definition at line 1953 of file CPTextView.j.

◆ selectAll:()

- (void) selectAll: (id)  sender
implementation

Definition at line 863 of file CPTextView.j.

◆ selectedRange()

- (CPRange) selectedRange
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3058 of file CPTextView.j.

◆ selectedRanges()

- (CPArray) selectedRanges
implementation

Definition at line 997 of file CPTextView.j.

◆ selectedTextAttributes()

- (CPDictionary) selectedTextAttributes
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3018 of file CPTextView.j.

◆ selectionAffinity()

- (CPSelectionAffinity) selectionAffinity
implementation

Definition at line 1880 of file CPTextView.j.

◆ selectionGranularity()

- (CPSelectionGranularity) selectionGranularity
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3066 of file CPTextView.j.

◆ selectionRangeForProposedRange:granularity:()

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

Definition at line 2035 of file CPTextView.j.

◆ setAllowsUndo:()

- (void) setAllowsUndo: (BOOL)  aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2874 of file CPTextView.j.

◆ setConstrainedFrameSize:()

- (void) setConstrainedFrameSize: (CGSize)  desiredSize
implementation

Definition at line 1895 of file CPTextView.j.

◆ setDelegate:()

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

TODO : documentation

Definition at line 533 of file CPTextView.j.

◆ setFont:()

- (void) setFont: (CPFont font
implementation

Reimplemented from CPText.

Definition at line 1740 of file CPTextView.j.

◆ setFont:range:()

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

Reimplemented from CPText.

Definition at line 1754 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 1905 of file CPTextView.j.

◆ setHorizontallyResizable:()

- (void) setHorizontallyResizable: (BOOL)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2890 of file CPTextView.j.

◆ setInsertionPointColor:()

- (void) setInsertionPointColor: (CPColor aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2994 of file CPTextView.j.

◆ setMaxSize:()

- (void) setMaxSize: (CGSize)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2962 of file CPTextView.j.

◆ setMinSize:()

- (void) setMinSize: (CGSize)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2946 of file CPTextView.j.

◆ setObjectValue:()

- (void) setObjectValue: (id)  aValue
implementation

Definition at line 642 of file CPTextView.j.

◆ setSelectedRange:()

- (void) setSelectedRange: (CPRange)  range
implementation

Sets the selection to a range of characters in response to user action.

Parameters
rangeThe range of characters to select. This range must begin and end on glyph boundaries and not split base glyphs and their nonspacing marks.

Definition at line 876 of file CPTextView.j.

◆ setSelectedRange:affinity:stillSelecting:()

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

Sets the selection to a range of characters in response to user action.

Parameters
rangeThe range of characters to select. This range must begin and end on glyph boundaries and not split base glyphs and their nonspacing marks.
affinityThe selection affinity for the selection. See selectionAffinity for more information about how affinities work.
selectingYES to behave appropriately for a continuing selection where the user is still dragging the mouse, NO otherwise. If YES, the receiver doesn’t send notifications or remove the marking from its marked text. If NO, the receiver posts an NSTextViewDidChangeSelectionNotification to the default notification center and removes the marking from marked text if the new selection is greater than the marked region.

Definition at line 888 of file CPTextView.j.

◆ setSelectedTextAttributes:()

- (void) setSelectedTextAttributes: (CPDictionary aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3026 of file CPTextView.j.

◆ setSelectionGranularity:()

- (void) setSelectionGranularity: (CPSelectionGranularity)  aValue
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3074 of file CPTextView.j.

◆ setString:()

- (void) setString: (id)  aString
implementation

Definition at line 656 of file CPTextView.j.

◆ setTextColor:()

- (void) setTextColor: (CPColor aColor
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 1827 of file CPTextView.j.

◆ setTextColor:range:()

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

Definition at line 1834 of file CPTextView.j.

◆ setTextContainer:()

- (void) setTextContainer: (CPTextContainer aContainer
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 681 of file CPTextView.j.

◆ setTextContainerInset:()

- (void) setTextContainerInset: (CGSize)  aSize
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 692 of file CPTextView.j.

◆ setTypingAttributes:()

- (void) setTypingAttributes: (CPDictionary attributes
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 1694 of file CPTextView.j.

◆ setUsesFontPanel:()

- (void) setUsesFontPanel: (BOOL)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2922 of file CPTextView.j.

◆ setVerticallyResizable:()

- (void) setVerticallyResizable: (BOOL)  aValue
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2906 of file CPTextView.j.

◆ shouldChangeTextInRange:replacementString:()

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

Definition at line 733 of file CPTextView.j.

◆ shouldDrawInsertionPoint()

- (BOOL) shouldDrawInsertionPoint
implementation

Definition at line 2095 of file CPTextView.j.

◆ sizeToFit()

- (void) sizeToFit
implementation

Definition at line 1900 of file CPTextView.j.

◆ string()

- (CPString) string
implementation

Reimplemented from CPText.

Definition at line 676 of file CPTextView.j.

◆ stringValue()

- (CPString) stringValue
implementation

Definition at line 630 of file CPTextView.j.

◆ superviewBoundsChanged:()

- (void) superviewBoundsChanged: (CPNotification aNotification
implementation

Definition at line 356 of file CPTextView.j.

◆ superviewFrameChanged:()

- (void) superviewFrameChanged: (CPNotification aNotification
implementation

Definition at line 365 of file CPTextView.j.

◆ textColor()

- (CPColor) textColor
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3002 of file CPTextView.j.

◆ textContainer()

- (CPTextContainer) textContainer
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3082 of file CPTextView.j.

◆ textContainerInset()

- (CGSize) textContainerInset
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2970 of file CPTextView.j.

◆ textContainerOrigin()

- (CGPoint) textContainerOrigin
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2930 of file CPTextView.j.

◆ textStorage()

- (CPTextStorage) textStorage
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3098 of file CPTextView.j.

◆ typingAttributes()

- (CPDictionary) typingAttributes
implementation

Synthesized accessor method.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 3034 of file CPTextView.j.

◆ underline:()

- (void) underline: (id)  sender
implementation

Reimplemented from CPText.

Definition at line 1855 of file CPTextView.j.

◆ undo:()

- (void) undo: (id)  sender
implementation

Definition at line 614 of file CPTextView.j.

◆ updateInsertionPointStateAndRestartTimer:()

- (void) updateInsertionPointStateAndRestartTimer: (BOOL)  flag
implementation

Definition at line 2100 of file CPTextView.j.

◆ usesFontPanel()

- (BOOL) usesFontPanel
implementation

Synthesized accessor method.

Reimplemented from CPText.

Provided by category CPTextView(CPSynthesizedAccessors).

Definition at line 2914 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 370 of file CPTextView.j.


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