Instance Method

drawViewBackgroundInRect:

Draws the background of the text view.

Declaration

- (void)drawViewBackgroundInRect:(NSRect)rect;

Parameters

rect

The rectangle in which to draw the background.

Discussion

Subclasses can override this method to perform additional drawing behind the text.

See Also

Controlling Display

- setNeedsDisplayInRect:avoidAdditionalLayout:

Marks the receiver as requiring display.

shouldDrawInsertionPoint

A Boolean value that determines whether the receiver should draw its insertion point.

- drawInsertionPointInRect:color:turnedOn:

Draws or erases the insertion point.

- setConstrainedFrameSize:

Attempts to set the frame size as if by user action.

- cleanUpAfterDragOperation

Releases the drag information still existing after the dragging session has completed.

- showFindIndicatorForRange:

Causes a temporary highlighting effect to appear around the visible portion (or portions) of the specified range.